public static final class PublicPbrpcProto.ResponseHead extends com.google.protobuf.GeneratedMessage implements PublicPbrpcProto.ResponseHeadOrBuilder
brpc.policy.ResponseHead| 限定符和类型 | 类和说明 |
|---|---|
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>| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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, writeTopublic 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 在接口中 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<PublicPbrpcProto.ResponseHead> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessagepublic boolean hasCode()
required sint32 code = 1;public int getCode()
required sint32 code = 1;public boolean hasText()
optional string text = 2;public String getText()
optional string text = 2;public com.google.protobuf.ByteString getTextBytes()
optional string text = 2;public boolean hasFromHost()
optional string from_host = 3;public String getFromHost()
optional string from_host = 3;public com.google.protobuf.ByteString getFromHostBytes()
optional string from_host = 3;public boolean hasCompressType()
optional uint32 compress_type = 4;public int getCompressType()
optional uint32 compress_type = 4;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 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static PublicPbrpcProto.ResponseHead.Builder newBuilder(PublicPbrpcProto.ResponseHead prototype)
public PublicPbrpcProto.ResponseHead.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected PublicPbrpcProto.ResponseHead.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageCopyright © 2019 Baidu, Inc.. All rights reserved.