public static final class BaiduRpcProto.RpcRequestMeta extends com.google.protobuf.GeneratedMessage implements BaiduRpcProto.RpcRequestMetaOrBuilder
brpc.policy.RpcRequestMeta| Modifier and Type | Class and Description |
|---|---|
static class |
BaiduRpcProto.RpcRequestMeta.Builder
Protobuf type
brpc.policy.RpcRequestMeta |
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 |
EXT_FIELDS_FIELD_NUMBER |
static int |
LOG_ID_FIELD_NUMBER |
static int |
METHOD_NAME_FIELD_NUMBER |
static int |
PARENT_SPAN_ID_FIELD_NUMBER |
static com.google.protobuf.Parser<BaiduRpcProto.RpcRequestMeta> |
PARSER |
static int |
SERVICE_NAME_FIELD_NUMBER |
static int |
SPAN_ID_FIELD_NUMBER |
static int |
TRACE_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static BaiduRpcProto.RpcRequestMeta |
getDefaultInstance() |
BaiduRpcProto.RpcRequestMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
BaiduRpcProto.RpcRequestMetaExtField |
getExtFields(int index)
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7; |
int |
getExtFieldsCount()
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7; |
List<BaiduRpcProto.RpcRequestMetaExtField> |
getExtFieldsList()
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7; |
BaiduRpcProto.RpcRequestMetaExtFieldOrBuilder |
getExtFieldsOrBuilder(int index)
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7; |
List<? extends BaiduRpcProto.RpcRequestMetaExtFieldOrBuilder> |
getExtFieldsOrBuilderList()
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7; |
long |
getLogId()
optional int64 log_id = 3; |
String |
getMethodName()
required string method_name = 2; |
com.google.protobuf.ByteString |
getMethodNameBytes()
required string method_name = 2; |
long |
getParentSpanId()
optional int64 parent_span_id = 6; |
com.google.protobuf.Parser<BaiduRpcProto.RpcRequestMeta> |
getParserForType() |
int |
getSerializedSize() |
String |
getServiceName()
required string service_name = 1; |
com.google.protobuf.ByteString |
getServiceNameBytes()
required string service_name = 1; |
long |
getSpanId()
optional int64 span_id = 5; |
long |
getTraceId()
optional int64 trace_id = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasLogId()
optional int64 log_id = 3; |
boolean |
hasMethodName()
required string method_name = 2; |
boolean |
hasParentSpanId()
optional int64 parent_span_id = 6; |
boolean |
hasServiceName()
required string service_name = 1; |
boolean |
hasSpanId()
optional int64 span_id = 5; |
boolean |
hasTraceId()
optional int64 trace_id = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BaiduRpcProto.RpcRequestMeta.Builder |
newBuilder() |
static BaiduRpcProto.RpcRequestMeta.Builder |
newBuilder(BaiduRpcProto.RpcRequestMeta prototype) |
BaiduRpcProto.RpcRequestMeta.Builder |
newBuilderForType() |
protected BaiduRpcProto.RpcRequestMeta.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static BaiduRpcProto.RpcRequestMeta |
parseDelimitedFrom(InputStream input) |
static BaiduRpcProto.RpcRequestMeta |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BaiduRpcProto.RpcRequestMeta |
parseFrom(byte[] data) |
static BaiduRpcProto.RpcRequestMeta |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BaiduRpcProto.RpcRequestMeta |
parseFrom(com.google.protobuf.ByteString data) |
static BaiduRpcProto.RpcRequestMeta |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BaiduRpcProto.RpcRequestMeta |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BaiduRpcProto.RpcRequestMeta |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BaiduRpcProto.RpcRequestMeta |
parseFrom(InputStream input) |
static BaiduRpcProto.RpcRequestMeta |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BaiduRpcProto.RpcRequestMeta.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<BaiduRpcProto.RpcRequestMeta> PARSER
public static final int SERVICE_NAME_FIELD_NUMBER
public static final int METHOD_NAME_FIELD_NUMBER
public static final int LOG_ID_FIELD_NUMBER
public static final int TRACE_ID_FIELD_NUMBER
public static final int SPAN_ID_FIELD_NUMBER
public static final int PARENT_SPAN_ID_FIELD_NUMBER
public static final int EXT_FIELDS_FIELD_NUMBER
public static BaiduRpcProto.RpcRequestMeta getDefaultInstance()
public BaiduRpcProto.RpcRequestMeta 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<BaiduRpcProto.RpcRequestMeta> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasServiceName()
required string service_name = 1;hasServiceName in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic String getServiceName()
required string service_name = 1;getServiceName in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic com.google.protobuf.ByteString getServiceNameBytes()
required string service_name = 1;getServiceNameBytes in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic boolean hasMethodName()
required string method_name = 2;hasMethodName in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic String getMethodName()
required string method_name = 2;getMethodName in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic com.google.protobuf.ByteString getMethodNameBytes()
required string method_name = 2;getMethodNameBytes in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic boolean hasLogId()
optional int64 log_id = 3;hasLogId in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic long getLogId()
optional int64 log_id = 3;getLogId in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic boolean hasTraceId()
optional int64 trace_id = 4;hasTraceId in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic long getTraceId()
optional int64 trace_id = 4;getTraceId in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic boolean hasSpanId()
optional int64 span_id = 5;hasSpanId in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic long getSpanId()
optional int64 span_id = 5;getSpanId in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic boolean hasParentSpanId()
optional int64 parent_span_id = 6;hasParentSpanId in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic long getParentSpanId()
optional int64 parent_span_id = 6;getParentSpanId in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic List<BaiduRpcProto.RpcRequestMetaExtField> getExtFieldsList()
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7;getExtFieldsList in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic List<? extends BaiduRpcProto.RpcRequestMetaExtFieldOrBuilder> getExtFieldsOrBuilderList()
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7;getExtFieldsOrBuilderList in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic int getExtFieldsCount()
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7;getExtFieldsCount in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic BaiduRpcProto.RpcRequestMetaExtField getExtFields(int index)
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7;getExtFields in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic BaiduRpcProto.RpcRequestMetaExtFieldOrBuilder getExtFieldsOrBuilder(int index)
repeated .brpc.policy.RpcRequestMetaExtField ext_fields = 7;getExtFieldsOrBuilder in interface BaiduRpcProto.RpcRequestMetaOrBuilderpublic 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 BaiduRpcProto.RpcRequestMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BaiduRpcProto.RpcRequestMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BaiduRpcProto.RpcRequestMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BaiduRpcProto.RpcRequestMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BaiduRpcProto.RpcRequestMeta parseFrom(InputStream input) throws IOException
IOExceptionpublic static BaiduRpcProto.RpcRequestMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BaiduRpcProto.RpcRequestMeta parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BaiduRpcProto.RpcRequestMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BaiduRpcProto.RpcRequestMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BaiduRpcProto.RpcRequestMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BaiduRpcProto.RpcRequestMeta.Builder newBuilder()
public BaiduRpcProto.RpcRequestMeta.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BaiduRpcProto.RpcRequestMeta.Builder newBuilder(BaiduRpcProto.RpcRequestMeta prototype)
public BaiduRpcProto.RpcRequestMeta.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BaiduRpcProto.RpcRequestMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2022 Baidu, Inc.. All rights reserved.