public static final class SofaRpcProto.SofaRpcMeta extends com.google.protobuf.GeneratedMessage implements SofaRpcProto.SofaRpcMetaOrBuilder
brpc.policy.SofaRpcMeta| Modifier and Type | Class and Description |
|---|---|
static class |
SofaRpcProto.SofaRpcMeta.Builder
Protobuf type
brpc.policy.SofaRpcMeta |
static class |
SofaRpcProto.SofaRpcMeta.Type
Protobuf enum
brpc.policy.SofaRpcMeta.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>| Modifier and Type | Field and Description |
|---|---|
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 |
| Modifier and Type | Method and Description |
|---|---|
SofaRpcProto.SofaCompressType |
getCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300; |
static SofaRpcProto.SofaRpcMeta |
getDefaultInstance() |
SofaRpcProto.SofaRpcMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getErrorCode()
optional int32 error_code = 201; |
SofaRpcProto.SofaCompressType |
getExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301; |
boolean |
getFailed()
optional bool failed = 200; |
String |
getMethod()
optional string method = 100; |
com.google.protobuf.ByteString |
getMethodBytes()
optional string method = 100; |
com.google.protobuf.Parser<SofaRpcProto.SofaRpcMeta> |
getParserForType() |
String |
getReason()
optional string reason = 202; |
com.google.protobuf.ByteString |
getReasonBytes()
optional string reason = 202; |
long |
getSequenceId()
required uint64 sequence_id = 2; |
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; |
boolean |
hasErrorCode()
optional int32 error_code = 201; |
boolean |
hasExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301; |
boolean |
hasFailed()
optional bool failed = 200; |
boolean |
hasMethod()
optional string method = 100; |
boolean |
hasReason()
optional string reason = 202; |
boolean |
hasSequenceId()
required uint64 sequence_id = 2; |
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, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<SofaRpcProto.SofaRpcMeta> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasType()
required .brpc.policy.SofaRpcMeta.Type type = 1;hasType in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic SofaRpcProto.SofaRpcMeta.Type getType()
required .brpc.policy.SofaRpcMeta.Type type = 1;getType in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean hasSequenceId()
required uint64 sequence_id = 2;
Message sequence id.
hasSequenceId in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic long getSequenceId()
required uint64 sequence_id = 2;
Message sequence id.
getSequenceId in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean hasMethod()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
hasMethod in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic String getMethod()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
getMethod in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic com.google.protobuf.ByteString getMethodBytes()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
getMethodBytes in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean hasFailed()
optional bool failed = 200;
Set as true if the call is failed.
hasFailed in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean getFailed()
optional bool failed = 200;
Set as true if the call is failed.
getFailed in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean hasErrorCode()
optional int32 error_code = 201;
The error code if the call is failed.
hasErrorCode in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic int getErrorCode()
optional int32 error_code = 201;
The error code if the call is failed.
getErrorCode in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean hasReason()
optional string reason = 202;
The error reason if the call is failed.
hasReason in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic String getReason()
optional string reason = 202;
The error reason if the call is failed.
getReason in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic com.google.protobuf.ByteString getReasonBytes()
optional string reason = 202;
The error reason if the call is failed.
getReasonBytes in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean hasCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
hasCompressType in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic SofaRpcProto.SofaCompressType getCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
getCompressType in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic boolean hasExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
hasExpectedResponseCompressType in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic SofaRpcProto.SofaCompressType getExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
getExpectedResponseCompressType in interface SofaRpcProto.SofaRpcMetaOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class 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 in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SofaRpcProto.SofaRpcMeta.Builder newBuilder(SofaRpcProto.SofaRpcMeta prototype)
public SofaRpcProto.SofaRpcMeta.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SofaRpcProto.SofaRpcMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2020 Baidu, Inc.. All rights reserved.