Package com.google.monitoring.v3
Class BasicSli
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.monitoring.v3.BasicSli
-
- All Implemented Interfaces:
BasicSliOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
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 typegoogle.monitoring.v3.BasicSli- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBasicSli.AvailabilityCriteriaFuture parameters for the availability SLI.static interfaceBasicSli.AvailabilityCriteriaOrBuilderstatic classBasicSli.BuilderAn SLI measuring performance on a well-known service type.static classBasicSli.LatencyCriteriaParameters for a latency threshold SLI.static interfaceBasicSli.LatencyCriteriaOrBuilderstatic classBasicSli.SliCriteriaCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAVAILABILITY_FIELD_NUMBERstatic intLATENCY_FIELD_NUMBERstatic intLOCATION_FIELD_NUMBERstatic intMETHOD_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)BasicSli.AvailabilityCriteriagetAvailability()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.static BasicSligetDefaultInstance()BasicSligetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.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.com.google.protobuf.Parser<BasicSli>getParserForType()intgetSerializedSize()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.inthashCode()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()static BasicSli.BuildernewBuilder()static BasicSli.BuildernewBuilder(BasicSli prototype)BasicSli.BuildernewBuilderForType()protected BasicSli.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BasicSliparseDelimitedFrom(InputStream input)static BasicSliparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BasicSliparseFrom(byte[] data)static BasicSliparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BasicSliparseFrom(com.google.protobuf.ByteString data)static BasicSliparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BasicSliparseFrom(com.google.protobuf.CodedInputStream input)static BasicSliparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BasicSliparseFrom(InputStream input)static BasicSliparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BasicSliparseFrom(ByteBuffer data)static BasicSliparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<BasicSli>parser()BasicSli.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVAILABILITY_FIELD_NUMBER
public static final int AVAILABILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LATENCY_FIELD_NUMBER
public static final int LATENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getSliCriteriaCase
public BasicSli.SliCriteriaCase getSliCriteriaCase()
- Specified by:
getSliCriteriaCasein interfaceBasicSliOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BasicSli parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicSli parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicSli parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicSli parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicSli parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicSli parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BasicSli parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BasicSli parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BasicSli parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BasicSli parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static BasicSli parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BasicSli parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public BasicSli.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BasicSli.Builder newBuilder()
-
newBuilder
public static BasicSli.Builder newBuilder(BasicSli prototype)
-
toBuilder
public BasicSli.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BasicSli.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BasicSli getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BasicSli> parser()
-
getParserForType
public com.google.protobuf.Parser<BasicSli> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BasicSli getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-