public static final class WindowsBasedSli.PerformanceThreshold.Builder extends GeneratedMessageV3.Builder<WindowsBasedSli.PerformanceThreshold.Builder> implements WindowsBasedSli.PerformanceThresholdOrBuilder
A PerformanceThreshold
is used when each window is good when that window
has a sufficiently high performance
.
Protobuf type google.monitoring.v3.WindowsBasedSli.PerformanceThreshold
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public WindowsBasedSli.PerformanceThreshold.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WindowsBasedSli.PerformanceThreshold build()
public WindowsBasedSli.PerformanceThreshold buildPartial()
public WindowsBasedSli.PerformanceThreshold.Builder clear()
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder clearBasicSliPerformance()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
public WindowsBasedSli.PerformanceThreshold.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder clearPerformance()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
public WindowsBasedSli.PerformanceThreshold.Builder clearThreshold()
If window performance >= threshold
, the window is counted as good.
double threshold = 2;
public WindowsBasedSli.PerformanceThreshold.Builder clearType()
public WindowsBasedSli.PerformanceThreshold.Builder clone()
Overrides
public BasicSli getBasicSliPerformance()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Returns |
---|
Type | Description |
BasicSli | The basicSliPerformance.
|
public BasicSli.Builder getBasicSliPerformanceBuilder()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
public BasicSliOrBuilder getBasicSliPerformanceOrBuilder()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
public WindowsBasedSli.PerformanceThreshold getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RequestBasedSli getPerformance()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
public RequestBasedSli.Builder getPerformanceBuilder()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
public RequestBasedSliOrBuilder getPerformanceOrBuilder()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
public double getThreshold()
If window performance >= threshold
, the window is counted as good.
double threshold = 2;
Returns |
---|
Type | Description |
double | The threshold.
|
public WindowsBasedSli.PerformanceThreshold.TypeCase getTypeCase()
public boolean hasBasicSliPerformance()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Returns |
---|
Type | Description |
boolean | Whether the basicSliPerformance field is set.
|
public boolean hasPerformance()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Returns |
---|
Type | Description |
boolean | Whether the performance field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder mergeBasicSliPerformance(BasicSli value)
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(WindowsBasedSli.PerformanceThreshold other)
public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder mergePerformance(RequestBasedSli value)
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
public final WindowsBasedSli.PerformanceThreshold.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder setBasicSliPerformance(BasicSli value)
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
public WindowsBasedSli.PerformanceThreshold.Builder setBasicSliPerformance(BasicSli.Builder builderForValue)
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
public WindowsBasedSli.PerformanceThreshold.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder setPerformance(RequestBasedSli value)
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
public WindowsBasedSli.PerformanceThreshold.Builder setPerformance(RequestBasedSli.Builder builderForValue)
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
public WindowsBasedSli.PerformanceThreshold.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder setThreshold(double value)
If window performance >= threshold
, the window is counted as good.
double threshold = 2;
Parameter |
---|
Name | Description |
value | double
The threshold to set.
|
public final WindowsBasedSli.PerformanceThreshold.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides