public static final class PublicPbrpcProto.ResponseHead extends com.google.protobuf.GeneratedMessage implements PublicPbrpcProto.ResponseHeadOrBuilder
brpc.policy.ResponseHead| Modifier and Type | Class and Description |
|---|---|
static class |
PublicPbrpcProto.ResponseHead.Builder
Protobuf type
brpc.policy.ResponseHead |
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 |
CODE_FIELD_NUMBER |
static int |
COMPRESS_TYPE_FIELD_NUMBER |
static int |
FROM_HOST_FIELD_NUMBER |
static com.google.protobuf.Parser<PublicPbrpcProto.ResponseHead> |
PARSER |
static int |
TEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
required sint32 code = 1; |
int |
getCompressType()
optional uint32 compress_type = 4; |
static PublicPbrpcProto.ResponseHead |
getDefaultInstance() |
PublicPbrpcProto.ResponseHead |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFromHost()
optional string from_host = 3; |
com.google.protobuf.ByteString |
getFromHostBytes()
optional string from_host = 3; |
com.google.protobuf.Parser<PublicPbrpcProto.ResponseHead> |
getParserForType() |
int |
getSerializedSize() |
String |
getText()
optional string text = 2; |
com.google.protobuf.ByteString |
getTextBytes()
optional string text = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCode()
required sint32 code = 1; |
boolean |
hasCompressType()
optional uint32 compress_type = 4; |
boolean |
hasFromHost()
optional string from_host = 3; |
boolean |
hasText()
optional string text = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PublicPbrpcProto.ResponseHead.Builder |
newBuilder() |
static PublicPbrpcProto.ResponseHead.Builder |
newBuilder(PublicPbrpcProto.ResponseHead prototype) |
PublicPbrpcProto.ResponseHead.Builder |
newBuilderForType() |
protected PublicPbrpcProto.ResponseHead.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static PublicPbrpcProto.ResponseHead |
parseDelimitedFrom(InputStream input) |
static PublicPbrpcProto.ResponseHead |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.ResponseHead |
parseFrom(byte[] data) |
static PublicPbrpcProto.ResponseHead |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.ResponseHead |
parseFrom(com.google.protobuf.ByteString data) |
static PublicPbrpcProto.ResponseHead |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.ResponseHead |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PublicPbrpcProto.ResponseHead |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.ResponseHead |
parseFrom(InputStream input) |
static PublicPbrpcProto.ResponseHead |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PublicPbrpcProto.ResponseHead.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.ResponseHead> PARSER
public static final int CODE_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
public static final int FROM_HOST_FIELD_NUMBER
public static final int COMPRESS_TYPE_FIELD_NUMBER
public static PublicPbrpcProto.ResponseHead getDefaultInstance()
public PublicPbrpcProto.ResponseHead 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.ResponseHead> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasCode()
required sint32 code = 1;hasCode in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic int getCode()
required sint32 code = 1;getCode in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic boolean hasText()
optional string text = 2;hasText in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic String getText()
optional string text = 2;getText in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
optional string text = 2;getTextBytes in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic boolean hasFromHost()
optional string from_host = 3;hasFromHost in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic String getFromHost()
optional string from_host = 3;getFromHost in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic com.google.protobuf.ByteString getFromHostBytes()
optional string from_host = 3;getFromHostBytes in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic boolean hasCompressType()
optional uint32 compress_type = 4;hasCompressType in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic int getCompressType()
optional uint32 compress_type = 4;getCompressType in interface PublicPbrpcProto.ResponseHeadOrBuilderpublic 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.ResponseHead parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.ResponseHead parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.ResponseHead parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.ResponseHead parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.ResponseHead parseFrom(InputStream input) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseHead parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseHead parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseHead parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseHead parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseHead parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublicPbrpcProto.ResponseHead.Builder newBuilder()
public PublicPbrpcProto.ResponseHead.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PublicPbrpcProto.ResponseHead.Builder newBuilder(PublicPbrpcProto.ResponseHead prototype)
public PublicPbrpcProto.ResponseHead.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PublicPbrpcProto.ResponseHead.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2022 Baidu, Inc.. All rights reserved.