public static final class CircuitBreakerProto.CbPolicy.ErrRateConfig extends com.google.protobuf.GeneratedMessageV3 implements CircuitBreakerProto.CbPolicy.ErrRateConfigOrBuilder
错误率熔断配置Protobuf type
v1.CbPolicy.ErrRateConfig| 限定符和类型 | 类和说明 |
|---|---|
static class |
CircuitBreakerProto.CbPolicy.ErrRateConfig.Builder
错误率熔断配置
Protobuf type
v1.CbPolicy.ErrRateConfig |
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 |
ENABLE_FIELD_NUMBER |
static int |
ERRORRATETOOPEN_FIELD_NUMBER |
static int |
ERRORRATETOPRESERVED_FIELD_NUMBER |
static int |
REQUESTVOLUMETHRESHOLD_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
getDefaultInstance() |
CircuitBreakerProto.CbPolicy.ErrRateConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.BoolValue |
getEnable()
是否启用错误率配置
.google.protobuf.BoolValue enable = 1; |
com.google.protobuf.BoolValueOrBuilder |
getEnableOrBuilder()
是否启用错误率配置
.google.protobuf.BoolValue enable = 1; |
com.google.protobuf.UInt32Value |
getErrorRateToOpen()
触发熔断的错误率阈值
.google.protobuf.UInt32Value errorRateToOpen = 4; |
com.google.protobuf.UInt32ValueOrBuilder |
getErrorRateToOpenOrBuilder()
触发熔断的错误率阈值
.google.protobuf.UInt32Value errorRateToOpen = 4; |
com.google.protobuf.UInt32Value |
getErrorRateToPreserved()
可选。
|
com.google.protobuf.UInt32ValueOrBuilder |
getErrorRateToPreservedOrBuilder()
可选。
|
com.google.protobuf.Parser<CircuitBreakerProto.CbPolicy.ErrRateConfig> |
getParserForType() |
com.google.protobuf.UInt32Value |
getRequestVolumeThreshold()
触发错误率熔断的最低请求阈值
.google.protobuf.UInt32Value requestVolumeThreshold = 2; |
com.google.protobuf.UInt32ValueOrBuilder |
getRequestVolumeThresholdOrBuilder()
触发错误率熔断的最低请求阈值
.google.protobuf.UInt32Value requestVolumeThreshold = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEnable()
是否启用错误率配置
.google.protobuf.BoolValue enable = 1; |
boolean |
hasErrorRateToOpen()
触发熔断的错误率阈值
.google.protobuf.UInt32Value errorRateToOpen = 4; |
boolean |
hasErrorRateToPreserved()
可选。
|
int |
hashCode() |
boolean |
hasRequestVolumeThreshold()
触发错误率熔断的最低请求阈值
.google.protobuf.UInt32Value requestVolumeThreshold = 2; |
boolean |
isInitialized() |
static CircuitBreakerProto.CbPolicy.ErrRateConfig.Builder |
newBuilder() |
static CircuitBreakerProto.CbPolicy.ErrRateConfig.Builder |
newBuilder(CircuitBreakerProto.CbPolicy.ErrRateConfig prototype) |
CircuitBreakerProto.CbPolicy.ErrRateConfig.Builder |
newBuilderForType() |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseDelimitedFrom(InputStream input) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(byte[] data) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(ByteBuffer data) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(com.google.protobuf.ByteString data) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(InputStream input) |
static CircuitBreakerProto.CbPolicy.ErrRateConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CircuitBreakerProto.CbPolicy.ErrRateConfig> |
parser() |
CircuitBreakerProto.CbPolicy.ErrRateConfig.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 ENABLE_FIELD_NUMBER
public static final int REQUESTVOLUMETHRESHOLD_FIELD_NUMBER
public static final int ERRORRATETOPRESERVED_FIELD_NUMBER
public static final int ERRORRATETOOPEN_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 hasEnable()
是否启用错误率配置
.google.protobuf.BoolValue enable = 1;hasEnable 在接口中 CircuitBreakerProto.CbPolicy.ErrRateConfigOrBuilderpublic com.google.protobuf.BoolValue getEnable()
是否启用错误率配置
.google.protobuf.BoolValue enable = 1;getEnable 在接口中 CircuitBreakerProto.CbPolicy.ErrRateConfigOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getEnableOrBuilder()
是否启用错误率配置
.google.protobuf.BoolValue enable = 1;public boolean hasRequestVolumeThreshold()
触发错误率熔断的最低请求阈值
.google.protobuf.UInt32Value requestVolumeThreshold = 2;hasRequestVolumeThreshold 在接口中 CircuitBreakerProto.CbPolicy.ErrRateConfigOrBuilderpublic com.google.protobuf.UInt32Value getRequestVolumeThreshold()
触发错误率熔断的最低请求阈值
.google.protobuf.UInt32Value requestVolumeThreshold = 2;getRequestVolumeThreshold 在接口中 CircuitBreakerProto.CbPolicy.ErrRateConfigOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getRequestVolumeThresholdOrBuilder()
触发错误率熔断的最低请求阈值
.google.protobuf.UInt32Value requestVolumeThreshold = 2;public boolean hasErrorRateToPreserved()
可选。触发保持状态的错误率阈值,假如不配置,则默认不会进入Preserved状态
.google.protobuf.UInt32Value errorRateToPreserved = 3;hasErrorRateToPreserved 在接口中 CircuitBreakerProto.CbPolicy.ErrRateConfigOrBuilderpublic com.google.protobuf.UInt32Value getErrorRateToPreserved()
可选。触发保持状态的错误率阈值,假如不配置,则默认不会进入Preserved状态
.google.protobuf.UInt32Value errorRateToPreserved = 3;getErrorRateToPreserved 在接口中 CircuitBreakerProto.CbPolicy.ErrRateConfigOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getErrorRateToPreservedOrBuilder()
可选。触发保持状态的错误率阈值,假如不配置,则默认不会进入Preserved状态
.google.protobuf.UInt32Value errorRateToPreserved = 3;public boolean hasErrorRateToOpen()
触发熔断的错误率阈值
.google.protobuf.UInt32Value errorRateToOpen = 4;hasErrorRateToOpen 在接口中 CircuitBreakerProto.CbPolicy.ErrRateConfigOrBuilderpublic com.google.protobuf.UInt32Value getErrorRateToOpen()
触发熔断的错误率阈值
.google.protobuf.UInt32Value errorRateToOpen = 4;getErrorRateToOpen 在接口中 CircuitBreakerProto.CbPolicy.ErrRateConfigOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getErrorRateToOpenOrBuilder()
触发熔断的错误率阈值
.google.protobuf.UInt32Value errorRateToOpen = 4;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.CbPolicy.ErrRateConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CircuitBreakerProto.CbPolicy.ErrRateConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CircuitBreakerProto.CbPolicy.ErrRateConfig.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static CircuitBreakerProto.CbPolicy.ErrRateConfig.Builder newBuilder()
public static CircuitBreakerProto.CbPolicy.ErrRateConfig.Builder newBuilder(CircuitBreakerProto.CbPolicy.ErrRateConfig prototype)
public CircuitBreakerProto.CbPolicy.ErrRateConfig.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static CircuitBreakerProto.CbPolicy.ErrRateConfig getDefaultInstance()
public static com.google.protobuf.Parser<CircuitBreakerProto.CbPolicy.ErrRateConfig> parser()
public com.google.protobuf.Parser<CircuitBreakerProto.CbPolicy.ErrRateConfig> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public CircuitBreakerProto.CbPolicy.ErrRateConfig getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.