public static final class PublicPbrpcProto.RequestHead extends com.google.protobuf.GeneratedMessage implements PublicPbrpcProto.RequestHeadOrBuilder
brpc.policy.RequestHead| Modifier and Type | Class and Description |
|---|---|
static class |
PublicPbrpcProto.RequestHead.Builder
Protobuf type
brpc.policy.RequestHead |
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 |
ACCEPT_CHARSET_FIELD_NUMBER |
static int |
CHARSET_FIELD_NUMBER |
static int |
COMPRESS_TYPE_FIELD_NUMBER |
static int |
CONNECTION_FIELD_NUMBER |
static int |
CONTENT_TYPE_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
FROM_HOST_FIELD_NUMBER |
static int |
LOG_ID_FIELD_NUMBER |
static com.google.protobuf.Parser<PublicPbrpcProto.RequestHead> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
String |
getAcceptCharset()
optional string accept_charset = 5; |
com.google.protobuf.ByteString |
getAcceptCharsetBytes()
optional string accept_charset = 5; |
String |
getCharset()
optional string charset = 4; |
com.google.protobuf.ByteString |
getCharsetBytes()
optional string charset = 4; |
int |
getCompressType()
optional uint32 compress_type = 8; |
boolean |
getConnection()
optional bool connection = 3; |
int |
getContentType()
optional uint32 content_type = 2; |
String |
getCreateTime()
optional string create_time = 6; |
com.google.protobuf.ByteString |
getCreateTimeBytes()
optional string create_time = 6; |
static PublicPbrpcProto.RequestHead |
getDefaultInstance() |
PublicPbrpcProto.RequestHead |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFromHost()
optional string from_host = 1; |
com.google.protobuf.ByteString |
getFromHostBytes()
optional string from_host = 1; |
long |
getLogId()
optional uint64 log_id = 7; |
com.google.protobuf.Parser<PublicPbrpcProto.RequestHead> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAcceptCharset()
optional string accept_charset = 5; |
boolean |
hasCharset()
optional string charset = 4; |
boolean |
hasCompressType()
optional uint32 compress_type = 8; |
boolean |
hasConnection()
optional bool connection = 3; |
boolean |
hasContentType()
optional uint32 content_type = 2; |
boolean |
hasCreateTime()
optional string create_time = 6; |
boolean |
hasFromHost()
optional string from_host = 1; |
boolean |
hasLogId()
optional uint64 log_id = 7; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PublicPbrpcProto.RequestHead.Builder |
newBuilder() |
static PublicPbrpcProto.RequestHead.Builder |
newBuilder(PublicPbrpcProto.RequestHead prototype) |
PublicPbrpcProto.RequestHead.Builder |
newBuilderForType() |
protected PublicPbrpcProto.RequestHead.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static PublicPbrpcProto.RequestHead |
parseDelimitedFrom(InputStream input) |
static PublicPbrpcProto.RequestHead |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.RequestHead |
parseFrom(byte[] data) |
static PublicPbrpcProto.RequestHead |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.RequestHead |
parseFrom(com.google.protobuf.ByteString data) |
static PublicPbrpcProto.RequestHead |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.RequestHead |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PublicPbrpcProto.RequestHead |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublicPbrpcProto.RequestHead |
parseFrom(InputStream input) |
static PublicPbrpcProto.RequestHead |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PublicPbrpcProto.RequestHead.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.RequestHead> PARSER
public static final int FROM_HOST_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
public static final int CONNECTION_FIELD_NUMBER
public static final int CHARSET_FIELD_NUMBER
public static final int ACCEPT_CHARSET_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int LOG_ID_FIELD_NUMBER
public static final int COMPRESS_TYPE_FIELD_NUMBER
public static PublicPbrpcProto.RequestHead getDefaultInstance()
public PublicPbrpcProto.RequestHead 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.RequestHead> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasFromHost()
optional string from_host = 1;hasFromHost in interface PublicPbrpcProto.RequestHeadOrBuilderpublic String getFromHost()
optional string from_host = 1;getFromHost in interface PublicPbrpcProto.RequestHeadOrBuilderpublic com.google.protobuf.ByteString getFromHostBytes()
optional string from_host = 1;getFromHostBytes in interface PublicPbrpcProto.RequestHeadOrBuilderpublic boolean hasContentType()
optional uint32 content_type = 2;hasContentType in interface PublicPbrpcProto.RequestHeadOrBuilderpublic int getContentType()
optional uint32 content_type = 2;getContentType in interface PublicPbrpcProto.RequestHeadOrBuilderpublic boolean hasConnection()
optional bool connection = 3;hasConnection in interface PublicPbrpcProto.RequestHeadOrBuilderpublic boolean getConnection()
optional bool connection = 3;getConnection in interface PublicPbrpcProto.RequestHeadOrBuilderpublic boolean hasCharset()
optional string charset = 4;hasCharset in interface PublicPbrpcProto.RequestHeadOrBuilderpublic String getCharset()
optional string charset = 4;getCharset in interface PublicPbrpcProto.RequestHeadOrBuilderpublic com.google.protobuf.ByteString getCharsetBytes()
optional string charset = 4;getCharsetBytes in interface PublicPbrpcProto.RequestHeadOrBuilderpublic boolean hasAcceptCharset()
optional string accept_charset = 5;hasAcceptCharset in interface PublicPbrpcProto.RequestHeadOrBuilderpublic String getAcceptCharset()
optional string accept_charset = 5;getAcceptCharset in interface PublicPbrpcProto.RequestHeadOrBuilderpublic com.google.protobuf.ByteString getAcceptCharsetBytes()
optional string accept_charset = 5;getAcceptCharsetBytes in interface PublicPbrpcProto.RequestHeadOrBuilderpublic boolean hasCreateTime()
optional string create_time = 6;hasCreateTime in interface PublicPbrpcProto.RequestHeadOrBuilderpublic String getCreateTime()
optional string create_time = 6;getCreateTime in interface PublicPbrpcProto.RequestHeadOrBuilderpublic com.google.protobuf.ByteString getCreateTimeBytes()
optional string create_time = 6;getCreateTimeBytes in interface PublicPbrpcProto.RequestHeadOrBuilderpublic boolean hasLogId()
optional uint64 log_id = 7;hasLogId in interface PublicPbrpcProto.RequestHeadOrBuilderpublic long getLogId()
optional uint64 log_id = 7;getLogId in interface PublicPbrpcProto.RequestHeadOrBuilderpublic boolean hasCompressType()
optional uint32 compress_type = 8;hasCompressType in interface PublicPbrpcProto.RequestHeadOrBuilderpublic int getCompressType()
optional uint32 compress_type = 8;getCompressType in interface PublicPbrpcProto.RequestHeadOrBuilderpublic 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.RequestHead parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.RequestHead parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.RequestHead parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.RequestHead parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublicPbrpcProto.RequestHead parseFrom(InputStream input) throws IOException
IOExceptionpublic static PublicPbrpcProto.RequestHead parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublicPbrpcProto.RequestHead parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PublicPbrpcProto.RequestHead parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublicPbrpcProto.RequestHead parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PublicPbrpcProto.RequestHead parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublicPbrpcProto.RequestHead.Builder newBuilder()
public PublicPbrpcProto.RequestHead.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PublicPbrpcProto.RequestHead.Builder newBuilder(PublicPbrpcProto.RequestHead prototype)
public PublicPbrpcProto.RequestHead.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PublicPbrpcProto.RequestHead.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2020 Baidu, Inc.. All rights reserved.