public static final class BasicSli.LatencyCriteria extends GeneratedMessageV3 implements BasicSli.LatencyCriteriaOrBuilder
Parameters for a latency threshold SLI.
Protobuf type google.monitoring.v3.BasicSli.LatencyCriteria
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
THRESHOLD_FIELD_NUMBER
public static final int THRESHOLD_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static BasicSli.LatencyCriteria getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BasicSli.LatencyCriteria.Builder newBuilder()
newBuilder(BasicSli.LatencyCriteria prototype)
public static BasicSli.LatencyCriteria.Builder newBuilder(BasicSli.LatencyCriteria prototype)
public static BasicSli.LatencyCriteria parseDelimitedFrom(InputStream input)
public static BasicSli.LatencyCriteria parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BasicSli.LatencyCriteria parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BasicSli.LatencyCriteria parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BasicSli.LatencyCriteria parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BasicSli.LatencyCriteria parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BasicSli.LatencyCriteria parseFrom(CodedInputStream input)
public static BasicSli.LatencyCriteria parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BasicSli.LatencyCriteria parseFrom(InputStream input)
public static BasicSli.LatencyCriteria parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BasicSli.LatencyCriteria parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BasicSli.LatencyCriteria parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BasicSli.LatencyCriteria> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public BasicSli.LatencyCriteria getDefaultInstanceForType()
getParserForType()
public Parser<BasicSli.LatencyCriteria> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getThreshold()
public Duration getThreshold()
Good service is defined to be the count of requests made to this service
that return in no more than threshold
.
.google.protobuf.Duration threshold = 3;
Returns |
---|
Type | Description |
Duration | The threshold.
|
getThresholdOrBuilder()
public DurationOrBuilder getThresholdOrBuilder()
Good service is defined to be the count of requests made to this service
that return in no more than threshold
.
.google.protobuf.Duration threshold = 3;
hasThreshold()
public boolean hasThreshold()
Good service is defined to be the count of requests made to this service
that return in no more than threshold
.
.google.protobuf.Duration threshold = 3;
Returns |
---|
Type | Description |
boolean | Whether the threshold field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BasicSli.LatencyCriteria.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BasicSli.LatencyCriteria.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public BasicSli.LatencyCriteria.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides