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()
Returns
Methods
public WindowsBasedSli.PerformanceThreshold.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold build()
Returns
public WindowsBasedSli.PerformanceThreshold buildPartial()
Returns
public WindowsBasedSli.PerformanceThreshold.Builder clear()
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder clearBasicSliPerformance()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Returns
public WindowsBasedSli.PerformanceThreshold.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder clearPerformance()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Returns
public WindowsBasedSli.PerformanceThreshold.Builder clearThreshold()
If window performance >= threshold
, the window is counted as good.
double threshold = 2;
Returns
public WindowsBasedSli.PerformanceThreshold.Builder clearType()
Returns
public WindowsBasedSli.PerformanceThreshold.Builder clone()
Returns
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;
Returns
public BasicSliOrBuilder getBasicSliPerformanceOrBuilder()
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Returns
public WindowsBasedSli.PerformanceThreshold getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public RequestBasedSli getPerformance()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Returns
public RequestBasedSli.Builder getPerformanceBuilder()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Returns
public RequestBasedSliOrBuilder getPerformanceOrBuilder()
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Returns
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()
Returns
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()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder mergeBasicSliPerformance(BasicSli value)
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Parameter
Returns
public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(WindowsBasedSli.PerformanceThreshold other)
Parameter
Returns
public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public WindowsBasedSli.PerformanceThreshold.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder mergePerformance(RequestBasedSli value)
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Parameter
Returns
public final WindowsBasedSli.PerformanceThreshold.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder setBasicSliPerformance(BasicSli value)
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Parameter
Returns
public WindowsBasedSli.PerformanceThreshold.Builder setBasicSliPerformance(BasicSli.Builder builderForValue)
BasicSli
to evaluate to judge window quality.
.google.monitoring.v3.BasicSli basic_sli_performance = 3;
Parameter
Returns
public WindowsBasedSli.PerformanceThreshold.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public WindowsBasedSli.PerformanceThreshold.Builder setPerformance(RequestBasedSli value)
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Parameter
Returns
public WindowsBasedSli.PerformanceThreshold.Builder setPerformance(RequestBasedSli.Builder builderForValue)
RequestBasedSli
to evaluate to judge window quality.
.google.monitoring.v3.RequestBasedSli performance = 1;
Parameter
Returns
public WindowsBasedSli.PerformanceThreshold.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
public final WindowsBasedSli.PerformanceThreshold.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides