- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class BasicSli.Builder extends 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 type google.monitoring.v3.BasicSli
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BasicSli.BuilderImplements
BasicSliOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllLocation(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The location to add. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
addAllMethod(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The method to add. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
addAllVersion(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The version to add. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
addLocation(String value)
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;
Name | Description |
value | String The location to add. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
addLocationBytes(ByteString value)
public BasicSli.Builder addLocationBytes(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;
Name | Description |
value | ByteString The bytes of the location to add. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
addMethod(String value)
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;
Name | Description |
value | String The method to add. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
addMethodBytes(ByteString value)
public BasicSli.Builder addMethodBytes(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;
Name | Description |
value | ByteString The bytes of the method to add. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BasicSli.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BasicSli.Builder |
addVersion(String value)
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;
Name | Description |
value | String The version to add. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
addVersionBytes(ByteString value)
public BasicSli.Builder addVersionBytes(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;
Name | Description |
value | ByteString The bytes of the version to add. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
build()
public BasicSli build()
Type | Description |
BasicSli |
buildPartial()
public BasicSli buildPartial()
Type | Description |
BasicSli |
clear()
public BasicSli.Builder clear()
Type | Description |
BasicSli.Builder |
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;
Type | Description |
BasicSli.Builder |
clearField(Descriptors.FieldDescriptor field)
public BasicSli.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BasicSli.Builder |
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;
Type | Description |
BasicSli.Builder |
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;
Type | Description |
BasicSli.Builder | 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;
Type | Description |
BasicSli.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BasicSli.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BasicSli.Builder |
clearSliCriteria()
public BasicSli.Builder clearSliCriteria()
Type | Description |
BasicSli.Builder |
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;
Type | Description |
BasicSli.Builder | This builder for chaining. |
clone()
public BasicSli.Builder clone()
Type | Description |
BasicSli.Builder |
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;
Type | Description |
BasicSli.AvailabilityCriteria | The availability. |
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;
Type | Description |
BasicSli.AvailabilityCriteria.Builder |
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;
Type | Description |
BasicSli.AvailabilityCriteriaOrBuilder |
getDefaultInstanceForType()
public BasicSli getDefaultInstanceForType()
Type | Description |
BasicSli |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
BasicSli.LatencyCriteria | The latency. |
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;
Type | Description |
BasicSli.LatencyCriteria.Builder |
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;
Type | Description |
BasicSli.LatencyCriteriaOrBuilder |
getLocation(int index)
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The location at the given index. |
getLocationBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the location at the given index. |
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;
Type | Description |
int | The count of location. |
getLocationList()
public 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;
Type | Description |
ProtocolStringList | A list containing the location. |
getMethod(int index)
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The method at the given index. |
getMethodBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the method at the given index. |
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;
Type | Description |
int | The count of method. |
getMethodList()
public 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;
Type | Description |
ProtocolStringList | A list containing the method. |
getSliCriteriaCase()
public BasicSli.SliCriteriaCase getSliCriteriaCase()
Type | Description |
BasicSli.SliCriteriaCase |
getVersion(int index)
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The version at the given index. |
getVersionBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the version at the given index. |
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;
Type | Description |
int | The count of version. |
getVersionList()
public 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;
Type | Description |
ProtocolStringList | A list containing the version. |
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;
Type | Description |
boolean | Whether the availability field is set. |
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;
Type | Description |
boolean | Whether the latency field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAvailability(BasicSli.AvailabilityCriteria value)
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;
Name | Description |
value | BasicSli.AvailabilityCriteria |
Type | Description |
BasicSli.Builder |
mergeFrom(BasicSli other)
public BasicSli.Builder mergeFrom(BasicSli other)
Name | Description |
other | BasicSli |
Type | Description |
BasicSli.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BasicSli.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BasicSli.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BasicSli.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BasicSli.Builder |
mergeLatency(BasicSli.LatencyCriteria value)
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;
Name | Description |
value | BasicSli.LatencyCriteria |
Type | Description |
BasicSli.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BasicSli.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BasicSli.Builder |
setAvailability(BasicSli.AvailabilityCriteria value)
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;
Name | Description |
value | BasicSli.AvailabilityCriteria |
Type | Description |
BasicSli.Builder |
setAvailability(BasicSli.AvailabilityCriteria.Builder builderForValue)
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;
Name | Description |
builderForValue | BasicSli.AvailabilityCriteria.Builder |
Type | Description |
BasicSli.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BasicSli.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BasicSli.Builder |
setLatency(BasicSli.LatencyCriteria value)
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;
Name | Description |
value | BasicSli.LatencyCriteria |
Type | Description |
BasicSli.Builder |
setLatency(BasicSli.LatencyCriteria.Builder builderForValue)
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;
Name | Description |
builderForValue | BasicSli.LatencyCriteria.Builder |
Type | Description |
BasicSli.Builder |
setLocation(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The location to set. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
setMethod(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The method to set. |
Type | Description |
BasicSli.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BasicSli.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BasicSli.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BasicSli.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BasicSli.Builder |
setVersion(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The version to set. |
Type | Description |
BasicSli.Builder | This builder for chaining. |