public static final class PublicPbrpcProto.ResponseBody extends com.google.protobuf.GeneratedMessage implements PublicPbrpcProto.ResponseBodyOrBuilder
brpc.policy.ResponseBody| Modifier and Type | Class and Description |
|---|---|
static class |
PublicPbrpcProto.ResponseBody.Builder
Protobuf type
brpc.policy.ResponseBody |
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 |
ERROR_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static com.google.protobuf.Parser<PublicPbrpcProto.ResponseBody> |
PARSER |
static int |
SERIALIZED_RESPONSE_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static PublicPbrpcProto.ResponseBody |
getDefaultInstance() |
PublicPbrpcProto.ResponseBody |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getError()
optional int32 error = 3; |
long |
getId()
required uint64 id = 4; |
com.google.protobuf.Parser<PublicPbrpcProto.ResponseBody> |
getParserForType() |
com.google.protobuf.ByteString |
getSerializedResponse()
optional bytes serialized_response = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVersion()
optional string version = 2; |
com.google.protobuf.ByteString |
getVersionBytes()
optional string version = 2; |
boolean |
hasError()
optional int32 error = 3; |
boolean |
hasId()
required uint64 id = 4; |
boolean |
hasSerializedResponse()
optional bytes serialized_response = 1; |
boolean |
hasVersion()
optional string version = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PublicPbrpcProto.ResponseBody.Builder |
newBuilder() |
static PublicPbrpcProto.ResponseBody.Builder |
newBuilder(PublicPbrpcProto.ResponseBody prototype) |
PublicPbrpcProto.ResponseBody.Builder |
newBuilderForType() |
protected PublicPbrpcProto.ResponseBody.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static PublicPbrpcProto.ResponseBody |
parseDelimitedFrom(InputStream input) |
static PublicPbrpcProto.ResponseBody |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.ResponseBody |
parseFrom(byte[] data) |
static PublicPbrpcProto.ResponseBody |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.ResponseBody |
parseFrom(com.google.protobuf.ByteString data) |
static PublicPbrpcProto.ResponseBody |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.ResponseBody |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PublicPbrpcProto.ResponseBody |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.ResponseBody |
parseFrom(InputStream input) |
static PublicPbrpcProto.ResponseBody |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PublicPbrpcProto.ResponseBody.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<PublicPbrpcProto.ResponseBody> PARSER
public static final int SERIALIZED_RESPONSE_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static PublicPbrpcProto.ResponseBody getDefaultInstance()
public PublicPbrpcProto.ResponseBody 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<PublicPbrpcProto.ResponseBody> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasSerializedResponse()
optional bytes serialized_response = 1;hasSerializedResponse in interface PublicPbrpcProto.ResponseBodyOrBuilderpublic com.google.protobuf.ByteString getSerializedResponse()
optional bytes serialized_response = 1;getSerializedResponse in interface PublicPbrpcProto.ResponseBodyOrBuilderpublic boolean hasVersion()
optional string version = 2;hasVersion in interface PublicPbrpcProto.ResponseBodyOrBuilderpublic String getVersion()
optional string version = 2;getVersion in interface PublicPbrpcProto.ResponseBodyOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
optional string version = 2;getVersionBytes in interface PublicPbrpcProto.ResponseBodyOrBuilderpublic boolean hasError()
optional int32 error = 3;hasError in interface PublicPbrpcProto.ResponseBodyOrBuilderpublic int getError()
optional int32 error = 3;getError in interface PublicPbrpcProto.ResponseBodyOrBuilderpublic boolean hasId()
required uint64 id = 4;hasId in interface PublicPbrpcProto.ResponseBodyOrBuilderpublic long getId()
required uint64 id = 4;getId in interface PublicPbrpcProto.ResponseBodyOrBuilderpublic 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 PublicPbrpcProto.ResponseBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.ResponseBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.ResponseBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.ResponseBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.ResponseBody parseFrom(InputStream input) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseBody parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseBody.Builder newBuilder()
public PublicPbrpcProto.ResponseBody.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PublicPbrpcProto.ResponseBody.Builder newBuilder(PublicPbrpcProto.ResponseBody prototype)
public PublicPbrpcProto.ResponseBody.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PublicPbrpcProto.ResponseBody.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2020 Baidu, Inc.. All rights reserved.