public final class BasicSli extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
BasicSli.AvailabilityCriteria
Future parameters for the availability SLI.
|
static interface |
BasicSli.AvailabilityCriteriaOrBuilder |
static class |
BasicSli.Builder
An SLI measuring performance on a well-known service type.
|
static class |
BasicSli.LatencyCriteria
Parameters for a latency threshold SLI.
|
static interface |
BasicSli.LatencyCriteriaOrBuilder |
static class |
BasicSli.SliCriteriaCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AVAILABILITY_FIELD_NUMBER |
static int |
LATENCY_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
METHOD_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BasicSli.AvailabilityCriteria |
getAvailability()
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.
|
static BasicSli |
getDefaultInstance() |
BasicSli |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.
|
com.google.protobuf.Parser<BasicSli> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
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() |
static BasicSli.Builder |
newBuilder() |
static BasicSli.Builder |
newBuilder(BasicSli prototype) |
BasicSli.Builder |
newBuilderForType() |
protected BasicSli.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BasicSli |
parseDelimitedFrom(InputStream input) |
static BasicSli |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BasicSli |
parseFrom(byte[] data) |
static BasicSli |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BasicSli |
parseFrom(ByteBuffer data) |
static BasicSli |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BasicSli |
parseFrom(com.google.protobuf.ByteString data) |
static BasicSli |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BasicSli |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BasicSli |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BasicSli |
parseFrom(InputStream input) |
static BasicSli |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BasicSli> |
parser() |
BasicSli.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int METHOD_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int AVAILABILITY_FIELD_NUMBER
public static final int LATENCY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public BasicSli.SliCriteriaCase getSliCriteriaCase()
getSliCriteriaCase in interface BasicSliOrBuilderpublic 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;getMethodList in interface BasicSliOrBuilderpublic 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;getMethodCount in interface BasicSliOrBuilderpublic 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;getMethod in interface BasicSliOrBuilderindex - The index of the element to return.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;getMethodBytes in interface BasicSliOrBuilderindex - The index of the value to return.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;getLocationList in interface BasicSliOrBuilderpublic 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;getLocationCount in interface BasicSliOrBuilderpublic 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;getLocation in interface BasicSliOrBuilderindex - The index of the element to return.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;getLocationBytes in interface BasicSliOrBuilderindex - The index of the value to return.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;getVersionList in interface BasicSliOrBuilderpublic 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;getVersionCount in interface BasicSliOrBuilderpublic 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;getVersion in interface BasicSliOrBuilderindex - The index of the element to return.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;getVersionBytes in interface BasicSliOrBuilderindex - The index of the value to return.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;hasAvailability in interface BasicSliOrBuilderpublic 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;getAvailability in interface BasicSliOrBuilderpublic 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;getAvailabilityOrBuilder in interface BasicSliOrBuilderpublic 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;hasLatency in interface BasicSliOrBuilderpublic 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;getLatency in interface BasicSliOrBuilderpublic 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;getLatencyOrBuilder in interface BasicSliOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BasicSli parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BasicSli parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BasicSli parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BasicSli parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BasicSli parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BasicSli parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BasicSli parseFrom(InputStream input) throws IOException
IOExceptionpublic static BasicSli parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BasicSli parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BasicSli parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BasicSli parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BasicSli parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BasicSli.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BasicSli.Builder newBuilder()
public static BasicSli.Builder newBuilder(BasicSli prototype)
public BasicSli.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BasicSli.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BasicSli getDefaultInstance()
public static com.google.protobuf.Parser<BasicSli> parser()
public com.google.protobuf.Parser<BasicSli> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BasicSli getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.