Package com.google.monitoring.v3
Class BasicSli.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
- com.google.monitoring.v3.BasicSli.Builder
-
- All Implemented Interfaces:
BasicSliOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BasicSli
public static final class BasicSli.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder> implements BasicSliOrBuilder
An SLI measuring performance on a well-known service type. Performance will be computed on the basis of pre-defined metrics. The type of the `service_resource` determines the metrics to use and the `service_resource.labels` and `metric_labels` are used to construct a monitoring filter to filter that metric down to just the data relevant to this service.
Protobuf typegoogle.monitoring.v3.BasicSli
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicSli.BuilderaddAllLocation(Iterable<String> values)OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.BuilderaddAllMethod(Iterable<String> values)OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.BuilderaddAllVersion(Iterable<String> values)OPTIONAL: The set of API versions to which this SLI is relevant.BasicSli.BuilderaddLocation(String value)OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.BuilderaddLocationBytes(com.google.protobuf.ByteString value)OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.BuilderaddMethod(String value)OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.BuilderaddMethodBytes(com.google.protobuf.ByteString value)OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BasicSli.BuilderaddVersion(String value)OPTIONAL: The set of API versions to which this SLI is relevant.BasicSli.BuilderaddVersionBytes(com.google.protobuf.ByteString value)OPTIONAL: The set of API versions to which this SLI is relevant.BasicSlibuild()BasicSlibuildPartial()BasicSli.Builderclear()BasicSli.BuilderclearAvailability()Good service is defined to be the count of requests made to this service that return successfully.BasicSli.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BasicSli.BuilderclearLatency()Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.BasicSli.BuilderclearLocation()OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.BuilderclearMethod()OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BasicSli.BuilderclearSliCriteria()BasicSli.BuilderclearVersion()OPTIONAL: The set of API versions to which this SLI is relevant.BasicSli.Builderclone()BasicSli.AvailabilityCriteriagetAvailability()Good service is defined to be the count of requests made to this service that return successfully.BasicSli.AvailabilityCriteria.BuildergetAvailabilityBuilder()Good service is defined to be the count of requests made to this service that return successfully.BasicSli.AvailabilityCriteriaOrBuildergetAvailabilityOrBuilder()Good service is defined to be the count of requests made to this service that return successfully.BasicSligetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()BasicSli.LatencyCriteriagetLatency()Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.BasicSli.LatencyCriteria.BuildergetLatencyBuilder()Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.BasicSli.LatencyCriteriaOrBuildergetLatencyOrBuilder()Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.StringgetLocation(int index)OPTIONAL: The set of locations to which this SLI is relevant.com.google.protobuf.ByteStringgetLocationBytes(int index)OPTIONAL: The set of locations to which this SLI is relevant.intgetLocationCount()OPTIONAL: The set of locations to which this SLI is relevant.com.google.protobuf.ProtocolStringListgetLocationList()OPTIONAL: The set of locations to which this SLI is relevant.StringgetMethod(int index)OPTIONAL: The set of RPCs to which this SLI is relevant.com.google.protobuf.ByteStringgetMethodBytes(int index)OPTIONAL: The set of RPCs to which this SLI is relevant.intgetMethodCount()OPTIONAL: The set of RPCs to which this SLI is relevant.com.google.protobuf.ProtocolStringListgetMethodList()OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.SliCriteriaCasegetSliCriteriaCase()StringgetVersion(int index)OPTIONAL: The set of API versions to which this SLI is relevant.com.google.protobuf.ByteStringgetVersionBytes(int index)OPTIONAL: The set of API versions to which this SLI is relevant.intgetVersionCount()OPTIONAL: The set of API versions to which this SLI is relevant.com.google.protobuf.ProtocolStringListgetVersionList()OPTIONAL: The set of API versions to which this SLI is relevant.booleanhasAvailability()Good service is defined to be the count of requests made to this service that return successfully.booleanhasLatency()Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BasicSli.BuildermergeAvailability(BasicSli.AvailabilityCriteria value)Good service is defined to be the count of requests made to this service that return successfully.BasicSli.BuildermergeFrom(BasicSli other)BasicSli.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BasicSli.BuildermergeFrom(com.google.protobuf.Message other)BasicSli.BuildermergeLatency(BasicSli.LatencyCriteria value)Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.BasicSli.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BasicSli.BuildersetAvailability(BasicSli.AvailabilityCriteria value)Good service is defined to be the count of requests made to this service that return successfully.BasicSli.BuildersetAvailability(BasicSli.AvailabilityCriteria.Builder builderForValue)Good service is defined to be the count of requests made to this service that return successfully.BasicSli.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BasicSli.BuildersetLatency(BasicSli.LatencyCriteria value)Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.BasicSli.BuildersetLatency(BasicSli.LatencyCriteria.Builder builderForValue)Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.BasicSli.BuildersetLocation(int index, String value)OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.BuildersetMethod(int index, String value)OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BasicSli.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BasicSli.BuildersetVersion(int index, String value)OPTIONAL: The set of API versions to which this SLI is relevant.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
clear
public BasicSli.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
getDefaultInstanceForType
public BasicSli getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BasicSli build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BasicSli buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BasicSli.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
setField
public BasicSli.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
clearField
public BasicSli.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
clearOneof
public BasicSli.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
setRepeatedField
public BasicSli.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
addRepeatedField
public BasicSli.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
mergeFrom
public BasicSli.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BasicSli.Builder>
-
mergeFrom
public BasicSli.Builder mergeFrom(BasicSli other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
mergeFrom
public BasicSli.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BasicSli.Builder>- Throws:
IOException
-
getSliCriteriaCase
public BasicSli.SliCriteriaCase getSliCriteriaCase()
- Specified by:
getSliCriteriaCasein interfaceBasicSliOrBuilder
-
clearSliCriteria
public BasicSli.Builder clearSliCriteria()
-
getMethodList
public com.google.protobuf.ProtocolStringList getMethodList()
OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
repeated string method = 7;- Specified by:
getMethodListin interfaceBasicSliOrBuilder- Returns:
- A list containing the method.
-
getMethodCount
public int getMethodCount()
OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
repeated string method = 7;- Specified by:
getMethodCountin interfaceBasicSliOrBuilder- Returns:
- The count of method.
-
getMethod
public String getMethod(int index)
OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
repeated string method = 7;- Specified by:
getMethodin interfaceBasicSliOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The method at the given index.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes(int index)
OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
repeated string method = 7;- Specified by:
getMethodBytesin interfaceBasicSliOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the method at the given index.
-
setMethod
public BasicSli.Builder setMethod(int index, String value)
OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
repeated string method = 7;- Parameters:
index- The index to set the value at.value- The method to set.- Returns:
- This builder for chaining.
-
addMethod
public BasicSli.Builder addMethod(String value)
OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
repeated string method = 7;- Parameters:
value- The method to add.- Returns:
- This builder for chaining.
-
addAllMethod
public BasicSli.Builder addAllMethod(Iterable<String> values)
OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
repeated string method = 7;- Parameters:
values- The method to add.- Returns:
- This builder for chaining.
-
clearMethod
public BasicSli.Builder clearMethod()
OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
repeated string method = 7;- Returns:
- This builder for chaining.
-
addMethodBytes
public BasicSli.Builder addMethodBytes(com.google.protobuf.ByteString value)
OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.
repeated string method = 7;- Parameters:
value- The bytes of the method to add.- Returns:
- This builder for chaining.
-
getLocationList
public com.google.protobuf.ProtocolStringList getLocationList()
OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
repeated string location = 8;- Specified by:
getLocationListin interfaceBasicSliOrBuilder- Returns:
- A list containing the location.
-
getLocationCount
public int getLocationCount()
OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
repeated string location = 8;- Specified by:
getLocationCountin interfaceBasicSliOrBuilder- Returns:
- The count of location.
-
getLocation
public String getLocation(int index)
OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
repeated string location = 8;- Specified by:
getLocationin interfaceBasicSliOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The location at the given index.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes(int index)
OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
repeated string location = 8;- Specified by:
getLocationBytesin interfaceBasicSliOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the location at the given index.
-
setLocation
public BasicSli.Builder setLocation(int index, String value)
OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
repeated string location = 8;- Parameters:
index- The index to set the value at.value- The location to set.- Returns:
- This builder for chaining.
-
addLocation
public BasicSli.Builder addLocation(String value)
OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
repeated string location = 8;- Parameters:
value- The location to add.- Returns:
- This builder for chaining.
-
addAllLocation
public BasicSli.Builder addAllLocation(Iterable<String> values)
OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
repeated string location = 8;- Parameters:
values- The location to add.- Returns:
- This builder for chaining.
-
clearLocation
public BasicSli.Builder clearLocation()
OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
repeated string location = 8;- Returns:
- This builder for chaining.
-
addLocationBytes
public BasicSli.Builder addLocationBytes(com.google.protobuf.ByteString value)
OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.
repeated string location = 8;- Parameters:
value- The bytes of the location to add.- Returns:
- This builder for chaining.
-
getVersionList
public com.google.protobuf.ProtocolStringList getVersionList()
OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
repeated string version = 9;- Specified by:
getVersionListin interfaceBasicSliOrBuilder- Returns:
- A list containing the version.
-
getVersionCount
public int getVersionCount()
OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
repeated string version = 9;- Specified by:
getVersionCountin interfaceBasicSliOrBuilder- Returns:
- The count of version.
-
getVersion
public String getVersion(int index)
OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
repeated string version = 9;- Specified by:
getVersionin interfaceBasicSliOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The version at the given index.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes(int index)
OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
repeated string version = 9;- Specified by:
getVersionBytesin interfaceBasicSliOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the version at the given index.
-
setVersion
public BasicSli.Builder setVersion(int index, String value)
OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
repeated string version = 9;- Parameters:
index- The index to set the value at.value- The version to set.- Returns:
- This builder for chaining.
-
addVersion
public BasicSli.Builder addVersion(String value)
OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
repeated string version = 9;- Parameters:
value- The version to add.- Returns:
- This builder for chaining.
-
addAllVersion
public BasicSli.Builder addAllVersion(Iterable<String> values)
OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
repeated string version = 9;- Parameters:
values- The version to add.- Returns:
- This builder for chaining.
-
clearVersion
public BasicSli.Builder clearVersion()
OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
repeated string version = 9;- Returns:
- This builder for chaining.
-
addVersionBytes
public BasicSli.Builder addVersionBytes(com.google.protobuf.ByteString value)
OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.
repeated string version = 9;- Parameters:
value- The bytes of the version to add.- Returns:
- This builder for chaining.
-
hasAvailability
public boolean hasAvailability()
Good service is defined to be the count of requests made to this service that return successfully.
.google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;- Specified by:
hasAvailabilityin interfaceBasicSliOrBuilder- Returns:
- Whether the availability field is set.
-
getAvailability
public BasicSli.AvailabilityCriteria getAvailability()
Good service is defined to be the count of requests made to this service that return successfully.
.google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;- Specified by:
getAvailabilityin interfaceBasicSliOrBuilder- Returns:
- The availability.
-
setAvailability
public BasicSli.Builder setAvailability(BasicSli.AvailabilityCriteria value)
Good service is defined to be the count of requests made to this service that return successfully.
.google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
-
setAvailability
public BasicSli.Builder setAvailability(BasicSli.AvailabilityCriteria.Builder builderForValue)
Good service is defined to be the count of requests made to this service that return successfully.
.google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
-
mergeAvailability
public BasicSli.Builder mergeAvailability(BasicSli.AvailabilityCriteria value)
Good service is defined to be the count of requests made to this service that return successfully.
.google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
-
clearAvailability
public BasicSli.Builder clearAvailability()
Good service is defined to be the count of requests made to this service that return successfully.
.google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
-
getAvailabilityBuilder
public BasicSli.AvailabilityCriteria.Builder getAvailabilityBuilder()
Good service is defined to be the count of requests made to this service that return successfully.
.google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;
-
getAvailabilityOrBuilder
public BasicSli.AvailabilityCriteriaOrBuilder getAvailabilityOrBuilder()
Good service is defined to be the count of requests made to this service that return successfully.
.google.monitoring.v3.BasicSli.AvailabilityCriteria availability = 2;- Specified by:
getAvailabilityOrBuilderin interfaceBasicSliOrBuilder
-
hasLatency
public boolean hasLatency()
Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.
.google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;- Specified by:
hasLatencyin interfaceBasicSliOrBuilder- Returns:
- Whether the latency field is set.
-
getLatency
public BasicSli.LatencyCriteria getLatency()
Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.
.google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;- Specified by:
getLatencyin interfaceBasicSliOrBuilder- Returns:
- The latency.
-
setLatency
public BasicSli.Builder setLatency(BasicSli.LatencyCriteria value)
Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.
.google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
-
setLatency
public BasicSli.Builder setLatency(BasicSli.LatencyCriteria.Builder builderForValue)
Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.
.google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
-
mergeLatency
public BasicSli.Builder mergeLatency(BasicSli.LatencyCriteria value)
Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.
.google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
-
clearLatency
public BasicSli.Builder clearLatency()
Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.
.google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
-
getLatencyBuilder
public BasicSli.LatencyCriteria.Builder getLatencyBuilder()
Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.
.google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;
-
getLatencyOrBuilder
public BasicSli.LatencyCriteriaOrBuilder getLatencyOrBuilder()
Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.
.google.monitoring.v3.BasicSli.LatencyCriteria latency = 3;- Specified by:
getLatencyOrBuilderin interfaceBasicSliOrBuilder
-
setUnknownFields
public final BasicSli.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
mergeUnknownFields
public final BasicSli.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
-