Package com.google.monitoring.v3
Class BasicSli
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class BasicSli
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFuture parameters for the availability SLI.static interfacestatic final classAn SLI measuring performance on a well-known service type.static final classParameters for a latency threshold SLI.static interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanGood service is defined to be the count of requests made to this service that return successfully.Good service is defined to be the count of requests made to this service that return successfully.static BasicSlistatic final com.google.protobuf.Descriptors.DescriptorGood service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.Good service is defined to be the count of requests made to this service that are fast enough with respect to `latency.threshold`.getLocation(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.intOPTIONAL: The set of locations to which this SLI is relevant.com.google.protobuf.ProtocolStringListOPTIONAL: The set of locations to which this SLI is relevant.getMethod(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.intOPTIONAL: The set of RPCs to which this SLI is relevant.com.google.protobuf.ProtocolStringListOPTIONAL: The set of RPCs to which this SLI is relevant.com.google.protobuf.Parser<BasicSli>intgetVersion(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.intOPTIONAL: The set of API versions to which this SLI is relevant.com.google.protobuf.ProtocolStringListOPTIONAL: The set of API versions to which this SLI is relevant.booleanGood service is defined to be the count of requests made to this service that return successfully.inthashCode()booleanGood 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.GeneratedMessage.FieldAccessorTablefinal booleanstatic BasicSli.Builderstatic BasicSli.BuildernewBuilder(BasicSli prototype) protected BasicSli.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
AVAILABILITY_FIELD_NUMBER
public static final int AVAILABILITY_FIELD_NUMBER- See Also:
-
LATENCY_FIELD_NUMBER
public static final int LATENCY_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static BasicSli parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static BasicSli parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BasicSli parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BasicSli.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-