public static final class CircuitBreakerProto.SourceMatcher extends com.google.protobuf.GeneratedMessageV3 implements CircuitBreakerProto.SourceMatcherOrBuilder
主调匹配规则Protobuf type
v1.SourceMatcher| 限定符和类型 | 类和说明 |
|---|---|
static class |
CircuitBreakerProto.SourceMatcher.Builder
主调匹配规则
Protobuf type
v1.SourceMatcher |
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 |
LABELS_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
static int |
SERVICE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsLabels(String key)
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 3; |
boolean |
equals(Object obj) |
static CircuitBreakerProto.SourceMatcher |
getDefaultInstance() |
CircuitBreakerProto.SourceMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,ModelProto.MatchString> |
getLabels()
已过时。
|
int |
getLabelsCount()
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 3; |
Map<String,ModelProto.MatchString> |
getLabelsMap()
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 3; |
ModelProto.MatchString |
getLabelsOrDefault(String key,
ModelProto.MatchString defaultValue)
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 3; |
ModelProto.MatchString |
getLabelsOrThrow(String key)
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 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<CircuitBreakerProto.SourceMatcher> |
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 CircuitBreakerProto.SourceMatcher.Builder |
newBuilder() |
static CircuitBreakerProto.SourceMatcher.Builder |
newBuilder(CircuitBreakerProto.SourceMatcher prototype) |
CircuitBreakerProto.SourceMatcher.Builder |
newBuilderForType() |
static CircuitBreakerProto.SourceMatcher |
parseDelimitedFrom(InputStream input) |
static CircuitBreakerProto.SourceMatcher |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(byte[] data) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(ByteBuffer data) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(com.google.protobuf.ByteString data) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(InputStream input) |
static CircuitBreakerProto.SourceMatcher |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CircuitBreakerProto.SourceMatcher> |
parser() |
CircuitBreakerProto.SourceMatcher.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 LABELS_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 在接口中 CircuitBreakerProto.SourceMatcherOrBuilderpublic com.google.protobuf.StringValue getService()
主调命名空间以及服务名,可以为*,代表全匹配
.google.protobuf.StringValue service = 1;getService 在接口中 CircuitBreakerProto.SourceMatcherOrBuilderpublic com.google.protobuf.StringValueOrBuilder getServiceOrBuilder()
主调命名空间以及服务名,可以为*,代表全匹配
.google.protobuf.StringValue service = 1;public boolean hasNamespace()
.google.protobuf.StringValue namespace = 2;hasNamespace 在接口中 CircuitBreakerProto.SourceMatcherOrBuilderpublic com.google.protobuf.StringValue getNamespace()
.google.protobuf.StringValue namespace = 2;getNamespace 在接口中 CircuitBreakerProto.SourceMatcherOrBuilderpublic com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder()
.google.protobuf.StringValue namespace = 2;public int getLabelsCount()
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 3;public boolean containsLabels(String key)
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 3;@Deprecated public Map<String,ModelProto.MatchString> getLabels()
getLabelsMap() instead.public Map<String,ModelProto.MatchString> getLabelsMap()
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 3;public ModelProto.MatchString getLabelsOrDefault(String key, ModelProto.MatchString defaultValue)
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 3;public ModelProto.MatchString getLabelsOrThrow(String key)
可选,主调业务标签,用于匹配是否使用该熔断规则,可放置用户的接口信息等
map<string, .v1.MatchString> labels = 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 CircuitBreakerProto.SourceMatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.SourceMatcher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.SourceMatcher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.SourceMatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.SourceMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.SourceMatcher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.SourceMatcher parseFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakerProto.SourceMatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakerProto.SourceMatcher parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakerProto.SourceMatcher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakerProto.SourceMatcher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CircuitBreakerProto.SourceMatcher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CircuitBreakerProto.SourceMatcher.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static CircuitBreakerProto.SourceMatcher.Builder newBuilder()
public static CircuitBreakerProto.SourceMatcher.Builder newBuilder(CircuitBreakerProto.SourceMatcher prototype)
public CircuitBreakerProto.SourceMatcher.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static CircuitBreakerProto.SourceMatcher getDefaultInstance()
public static com.google.protobuf.Parser<CircuitBreakerProto.SourceMatcher> parser()
public com.google.protobuf.Parser<CircuitBreakerProto.SourceMatcher> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public CircuitBreakerProto.SourceMatcher getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.