public static final class SofaRpcProto.SofaRpcMeta extends com.google.protobuf.GeneratedMessage implements SofaRpcProto.SofaRpcMetaOrBuilder
brpc.policy.SofaRpcMeta| 限定符和类型 | 类和说明 |
|---|---|
static class |
SofaRpcProto.SofaRpcMeta.Builder
Protobuf type
brpc.policy.SofaRpcMeta |
static class |
SofaRpcProto.SofaRpcMeta.Type
Protobuf enum
brpc.policy.SofaRpcMeta.Type
Message type. |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 限定符和类型 | 字段和说明 |
|---|---|
static int |
COMPRESS_TYPE_FIELD_NUMBER |
static int |
ERROR_CODE_FIELD_NUMBER |
static int |
EXPECTED_RESPONSE_COMPRESS_TYPE_FIELD_NUMBER |
static int |
FAILED_FIELD_NUMBER |
static int |
METHOD_FIELD_NUMBER |
static com.google.protobuf.Parser<SofaRpcProto.SofaRpcMeta> |
PARSER |
static int |
REASON_FIELD_NUMBER |
static int |
SEQUENCE_ID_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
SofaRpcProto.SofaCompressType |
getCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type. |
static SofaRpcProto.SofaRpcMeta |
getDefaultInstance() |
SofaRpcProto.SofaRpcMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getErrorCode()
optional int32 error_code = 201;
The error code if the call is failed. |
SofaRpcProto.SofaCompressType |
getExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected. |
boolean |
getFailed()
optional bool failed = 200;
Set as true if the call is failed. |
String |
getMethod()
optional string method = 100;
Method full name. |
com.google.protobuf.ByteString |
getMethodBytes()
optional string method = 100;
Method full name. |
com.google.protobuf.Parser<SofaRpcProto.SofaRpcMeta> |
getParserForType() |
String |
getReason()
optional string reason = 202;
The error reason if the call is failed. |
com.google.protobuf.ByteString |
getReasonBytes()
optional string reason = 202;
The error reason if the call is failed. |
long |
getSequenceId()
required uint64 sequence_id = 2;
Message sequence id. |
int |
getSerializedSize() |
SofaRpcProto.SofaRpcMeta.Type |
getType()
required .brpc.policy.SofaRpcMeta.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type. |
boolean |
hasErrorCode()
optional int32 error_code = 201;
The error code if the call is failed. |
boolean |
hasExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected. |
boolean |
hasFailed()
optional bool failed = 200;
Set as true if the call is failed. |
boolean |
hasMethod()
optional string method = 100;
Method full name. |
boolean |
hasReason()
optional string reason = 202;
The error reason if the call is failed. |
boolean |
hasSequenceId()
required uint64 sequence_id = 2;
Message sequence id. |
boolean |
hasType()
required .brpc.policy.SofaRpcMeta.Type type = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SofaRpcProto.SofaRpcMeta.Builder |
newBuilder() |
static SofaRpcProto.SofaRpcMeta.Builder |
newBuilder(SofaRpcProto.SofaRpcMeta prototype) |
SofaRpcProto.SofaRpcMeta.Builder |
newBuilderForType() |
protected SofaRpcProto.SofaRpcMeta.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static SofaRpcProto.SofaRpcMeta |
parseDelimitedFrom(InputStream input) |
static SofaRpcProto.SofaRpcMeta |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SofaRpcProto.SofaRpcMeta |
parseFrom(byte[] data) |
static SofaRpcProto.SofaRpcMeta |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SofaRpcProto.SofaRpcMeta |
parseFrom(com.google.protobuf.ByteString data) |
static SofaRpcProto.SofaRpcMeta |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SofaRpcProto.SofaRpcMeta |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SofaRpcProto.SofaRpcMeta |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SofaRpcProto.SofaRpcMeta |
parseFrom(InputStream input) |
static SofaRpcProto.SofaRpcMeta |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SofaRpcProto.SofaRpcMeta.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<SofaRpcProto.SofaRpcMeta> PARSER
public static final int TYPE_FIELD_NUMBER
public static final int SEQUENCE_ID_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER
public static final int FAILED_FIELD_NUMBER
public static final int ERROR_CODE_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
public static final int COMPRESS_TYPE_FIELD_NUMBER
public static final int EXPECTED_RESPONSE_COMPRESS_TYPE_FIELD_NUMBER
public static SofaRpcProto.SofaRpcMeta getDefaultInstance()
public SofaRpcProto.SofaRpcMeta getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<SofaRpcProto.SofaRpcMeta> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessagepublic boolean hasType()
required .brpc.policy.SofaRpcMeta.Type type = 1;hasType 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic SofaRpcProto.SofaRpcMeta.Type getType()
required .brpc.policy.SofaRpcMeta.Type type = 1;getType 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean hasSequenceId()
required uint64 sequence_id = 2;
Message sequence id.
public long getSequenceId()
required uint64 sequence_id = 2;
Message sequence id.
public boolean hasMethod()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
hasMethod 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic String getMethod()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
getMethod 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic com.google.protobuf.ByteString getMethodBytes()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
public boolean hasFailed()
optional bool failed = 200;
Set as true if the call is failed.
hasFailed 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean getFailed()
optional bool failed = 200;
Set as true if the call is failed.
getFailed 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean hasErrorCode()
optional int32 error_code = 201;
The error code if the call is failed.
public int getErrorCode()
optional int32 error_code = 201;
The error code if the call is failed.
public boolean hasReason()
optional string reason = 202;
The error reason if the call is failed.
hasReason 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic String getReason()
optional string reason = 202;
The error reason if the call is failed.
getReason 在接口中 SofaRpcProto.SofaRpcMetaOrBuilderpublic com.google.protobuf.ByteString getReasonBytes()
optional string reason = 202;
The error reason if the call is failed.
public boolean hasCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
public SofaRpcProto.SofaCompressType getCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
public boolean hasExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
public SofaRpcProto.SofaCompressType getExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace 在类中 com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static SofaRpcProto.SofaRpcMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SofaRpcProto.SofaRpcMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SofaRpcProto.SofaRpcMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SofaRpcProto.SofaRpcMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SofaRpcProto.SofaRpcMeta parseFrom(InputStream input) throws IOException
IOExceptionpublic static SofaRpcProto.SofaRpcMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SofaRpcProto.SofaRpcMeta parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SofaRpcProto.SofaRpcMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SofaRpcProto.SofaRpcMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SofaRpcProto.SofaRpcMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SofaRpcProto.SofaRpcMeta.Builder newBuilder()
public SofaRpcProto.SofaRpcMeta.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static SofaRpcProto.SofaRpcMeta.Builder newBuilder(SofaRpcProto.SofaRpcMeta prototype)
public SofaRpcProto.SofaRpcMeta.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected SofaRpcProto.SofaRpcMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageCopyright © 2019 Baidu, Inc.. All rights reserved.