public static final class RoutingProto.Source extends com.google.protobuf.GeneratedMessageV3 implements RoutingProto.SourceOrBuilder
v1.Source| 限定符和类型 | 类和说明 |
|---|---|
static class |
RoutingProto.Source.Builder
Protobuf type
v1.Source |
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
METADATA_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
static int |
SERVICE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsMetadata(String key)
主调方服务实例标签或者请求标签
value支持正则匹配
map<string, .v1.MatchString> metadata = 3; |
boolean |
equals(Object obj) |
static RoutingProto.Source |
getDefaultInstance() |
RoutingProto.Source |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,ModelProto.MatchString> |
getMetadata()
已过时。
|
int |
getMetadataCount()
主调方服务实例标签或者请求标签
value支持正则匹配
map<string, .v1.MatchString> metadata = 3; |
Map<String,ModelProto.MatchString> |
getMetadataMap()
主调方服务实例标签或者请求标签
value支持正则匹配
map<string, .v1.MatchString> metadata = 3; |
ModelProto.MatchString |
getMetadataOrDefault(String key,
ModelProto.MatchString defaultValue)
主调方服务实例标签或者请求标签
value支持正则匹配
map<string, .v1.MatchString> metadata = 3; |
ModelProto.MatchString |
getMetadataOrThrow(String key)
主调方服务实例标签或者请求标签
value支持正则匹配
map<string, .v1.MatchString> metadata = 3; |
com.google.protobuf.StringValue |
getNamespace()
.google.protobuf.StringValue namespace = 2; |
com.google.protobuf.StringValueOrBuilder |
getNamespaceOrBuilder()
.google.protobuf.StringValue namespace = 2; |
com.google.protobuf.Parser<RoutingProto.Source> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.StringValue |
getService()
主调方服务以及命名空间
.google.protobuf.StringValue service = 1; |
com.google.protobuf.StringValueOrBuilder |
getServiceOrBuilder()
主调方服务以及命名空间
.google.protobuf.StringValue service = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasNamespace()
.google.protobuf.StringValue namespace = 2; |
boolean |
hasService()
主调方服务以及命名空间
.google.protobuf.StringValue service = 1; |
boolean |
isInitialized() |
static RoutingProto.Source.Builder |
newBuilder() |
static RoutingProto.Source.Builder |
newBuilder(RoutingProto.Source prototype) |
RoutingProto.Source.Builder |
newBuilderForType() |
static RoutingProto.Source |
parseDelimitedFrom(InputStream input) |
static RoutingProto.Source |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutingProto.Source |
parseFrom(byte[] data) |
static RoutingProto.Source |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutingProto.Source |
parseFrom(ByteBuffer data) |
static RoutingProto.Source |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutingProto.Source |
parseFrom(com.google.protobuf.ByteString data) |
static RoutingProto.Source |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutingProto.Source |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RoutingProto.Source |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RoutingProto.Source |
parseFrom(InputStream input) |
static RoutingProto.Source |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RoutingProto.Source> |
parser() |
RoutingProto.Source.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int SERVICE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasService()
主调方服务以及命名空间
.google.protobuf.StringValue service = 1;hasService 在接口中 RoutingProto.SourceOrBuilderpublic com.google.protobuf.StringValue getService()
主调方服务以及命名空间
.google.protobuf.StringValue service = 1;getService 在接口中 RoutingProto.SourceOrBuilderpublic com.google.protobuf.StringValueOrBuilder getServiceOrBuilder()
主调方服务以及命名空间
.google.protobuf.StringValue service = 1;public boolean hasNamespace()
.google.protobuf.StringValue namespace = 2;hasNamespace 在接口中 RoutingProto.SourceOrBuilderpublic com.google.protobuf.StringValue getNamespace()
.google.protobuf.StringValue namespace = 2;getNamespace 在接口中 RoutingProto.SourceOrBuilderpublic com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder()
.google.protobuf.StringValue namespace = 2;public int getMetadataCount()
RoutingProto.SourceOrBuilder主调方服务实例标签或者请求标签 value支持正则匹配
map<string, .v1.MatchString> metadata = 3;getMetadataCount 在接口中 RoutingProto.SourceOrBuilderpublic boolean containsMetadata(String key)
主调方服务实例标签或者请求标签 value支持正则匹配
map<string, .v1.MatchString> metadata = 3;containsMetadata 在接口中 RoutingProto.SourceOrBuilder@Deprecated public Map<String,ModelProto.MatchString> getMetadata()
getMetadataMap() instead.getMetadata 在接口中 RoutingProto.SourceOrBuilderpublic Map<String,ModelProto.MatchString> getMetadataMap()
主调方服务实例标签或者请求标签 value支持正则匹配
map<string, .v1.MatchString> metadata = 3;getMetadataMap 在接口中 RoutingProto.SourceOrBuilderpublic ModelProto.MatchString getMetadataOrDefault(String key, ModelProto.MatchString defaultValue)
主调方服务实例标签或者请求标签 value支持正则匹配
map<string, .v1.MatchString> metadata = 3;public ModelProto.MatchString getMetadataOrThrow(String key)
主调方服务实例标签或者请求标签 value支持正则匹配
map<string, .v1.MatchString> metadata = 3;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static RoutingProto.Source parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutingProto.Source parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutingProto.Source parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutingProto.Source parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutingProto.Source parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutingProto.Source parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RoutingProto.Source parseFrom(InputStream input) throws IOException
IOExceptionpublic static RoutingProto.Source parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RoutingProto.Source parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RoutingProto.Source parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RoutingProto.Source parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RoutingProto.Source parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RoutingProto.Source.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static RoutingProto.Source.Builder newBuilder()
public static RoutingProto.Source.Builder newBuilder(RoutingProto.Source prototype)
public RoutingProto.Source.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static RoutingProto.Source getDefaultInstance()
public static com.google.protobuf.Parser<RoutingProto.Source> parser()
public com.google.protobuf.Parser<RoutingProto.Source> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public RoutingProto.Source getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.