接口 Contract.ResponseOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
Contract.Response, Contract.Response.Builder
封闭类:
Contract

public static interface Contract.ResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型 方法 说明
    com.google.protobuf.ByteString getBody()
    bytes body = 3;
    String getMessage()
    string message = 2;
    com.google.protobuf.ByteString getMessageBytes()
    string message = 2;
    int getStatus()
    int32 status = 1;

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • getStatus

      int getStatus()
      int32 status = 1;
      返回:
      The status.
    • getMessage

      String getMessage()
      string message = 2;
      返回:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
      string message = 2;
      返回:
      The bytes for message.
    • getBody

      com.google.protobuf.ByteString getBody()
      bytes body = 3;
      返回:
      The body.