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.Builder
addAllLocation(Iterable<String> values)
OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.Builder
addAllMethod(Iterable<String> values)
OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.Builder
addAllVersion(Iterable<String> values)
OPTIONAL: The set of API versions to which this SLI is relevant.BasicSli.Builder
addLocation(String value)
OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.Builder
addLocationBytes(com.google.protobuf.ByteString value)
OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.Builder
addMethod(String value)
OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.Builder
addMethodBytes(com.google.protobuf.ByteString value)
OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BasicSli.Builder
addVersion(String value)
OPTIONAL: The set of API versions to which this SLI is relevant.BasicSli.Builder
addVersionBytes(com.google.protobuf.ByteString value)
OPTIONAL: The set of API versions to which this SLI is relevant.BasicSli
build()
BasicSli
buildPartial()
BasicSli.Builder
clear()
BasicSli.Builder
clearAvailability()
Good service is defined to be the count of requests made to this service that return successfully.BasicSli.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
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`.BasicSli.Builder
clearLocation()
OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.Builder
clearMethod()
OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BasicSli.Builder
clearSliCriteria()
BasicSli.Builder
clearVersion()
OPTIONAL: The set of API versions to which this SLI is relevant.BasicSli.Builder
clone()
BasicSli.AvailabilityCriteria
getAvailability()
Good service is defined to be the count of requests made to this service that return successfully.BasicSli.AvailabilityCriteria.Builder
getAvailabilityBuilder()
Good service is defined to be the count of requests made to this service that return successfully.BasicSli.AvailabilityCriteriaOrBuilder
getAvailabilityOrBuilder()
Good service is defined to be the count of requests made to this service that return successfully.BasicSli
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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`.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`.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`.String
getLocation(int index)
OPTIONAL: The set of locations to which this SLI is relevant.com.google.protobuf.ByteString
getLocationBytes(int index)
OPTIONAL: The set of locations to which this SLI is relevant.int
getLocationCount()
OPTIONAL: The set of locations to which this SLI is relevant.com.google.protobuf.ProtocolStringList
getLocationList()
OPTIONAL: The set of locations to which this SLI is relevant.String
getMethod(int index)
OPTIONAL: The set of RPCs to which this SLI is relevant.com.google.protobuf.ByteString
getMethodBytes(int index)
OPTIONAL: The set of RPCs to which this SLI is relevant.int
getMethodCount()
OPTIONAL: The set of RPCs to which this SLI is relevant.com.google.protobuf.ProtocolStringList
getMethodList()
OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.SliCriteriaCase
getSliCriteriaCase()
String
getVersion(int index)
OPTIONAL: The set of API versions to which this SLI is relevant.com.google.protobuf.ByteString
getVersionBytes(int index)
OPTIONAL: The set of API versions to which this SLI is relevant.int
getVersionCount()
OPTIONAL: The set of API versions to which this SLI is relevant.com.google.protobuf.ProtocolStringList
getVersionList()
OPTIONAL: The set of API versions to which this SLI is relevant.boolean
hasAvailability()
Good service is defined to be the count of requests made to this service that return successfully.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`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BasicSli.Builder
mergeAvailability(BasicSli.AvailabilityCriteria value)
Good service is defined to be the count of requests made to this service that return successfully.BasicSli.Builder
mergeFrom(BasicSli other)
BasicSli.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BasicSli.Builder
mergeFrom(com.google.protobuf.Message other)
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`.BasicSli.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BasicSli.Builder
setAvailability(BasicSli.AvailabilityCriteria value)
Good service is defined to be the count of requests made to this service that return successfully.BasicSli.Builder
setAvailability(BasicSli.AvailabilityCriteria.Builder builderForValue)
Good service is defined to be the count of requests made to this service that return successfully.BasicSli.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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`.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`.BasicSli.Builder
setLocation(int index, String value)
OPTIONAL: The set of locations to which this SLI is relevant.BasicSli.Builder
setMethod(int index, String value)
OPTIONAL: The set of RPCs to which this SLI is relevant.BasicSli.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BasicSli.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BasicSli.Builder
setVersion(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
clear
public BasicSli.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
getDefaultInstanceForType
public BasicSli getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BasicSli build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BasicSli buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BasicSli.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
setField
public BasicSli.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
clearField
public BasicSli.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
clearOneof
public BasicSli.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
setRepeatedField
public BasicSli.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
addRepeatedField
public BasicSli.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
mergeFrom
public BasicSli.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BasicSli.Builder>
-
mergeFrom
public BasicSli.Builder mergeFrom(BasicSli other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BasicSli.Builder>
- Throws:
IOException
-
getSliCriteriaCase
public BasicSli.SliCriteriaCase getSliCriteriaCase()
- Specified by:
getSliCriteriaCase
in 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:
getMethodList
in 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:
getMethodCount
in 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:
getMethod
in 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:
getMethodBytes
in 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:
getLocationList
in 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:
getLocationCount
in 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:
getLocation
in 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:
getLocationBytes
in 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:
getVersionList
in 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:
getVersionCount
in 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:
getVersion
in 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:
getVersionBytes
in 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:
hasAvailability
in 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:
getAvailability
in 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:
getAvailabilityOrBuilder
in 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:
hasLatency
in 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:
getLatency
in 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:
getLatencyOrBuilder
in interfaceBasicSliOrBuilder
-
setUnknownFields
public final BasicSli.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
mergeUnknownFields
public final BasicSli.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicSli.Builder>
-
-