Package com.google.monitoring.v3
Class ServiceLevelIndicator
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.v3.ServiceLevelIndicator
- All Implemented Interfaces:
ServiceLevelIndicatorOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ServiceLevelIndicator
extends com.google.protobuf.GeneratedMessage
implements ServiceLevelIndicatorOrBuilder
A Service-Level Indicator (SLI) describes the "performance" of a service. For some services, the SLI is well-defined. In such cases, the SLI can be described easily by referencing the well-known SLI and providing the needed parameters. Alternatively, a "custom" SLI can be defined with a query to the underlying metric store. An SLI is defined to be `good_service / total_service` over any queried time interval. The value of performance always falls into the range `0 <= performance <= 1`. A custom SLI describes how to compute this ratio, whether this is by dividing values from a pair of time series, cutting a `Distribution` into good and bad counts, or counting time windows in which the service complies with a criterion. For separation of concerns, a single Service-Level Indicator measures performance for only one aspect of service quality, such as fraction of successful queries or fast-enough queries.Protobuf type
google.monitoring.v3.ServiceLevelIndicator- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Service-Level Indicator (SLI) describes the "performance" of a service.static 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 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 TypeMethodDescriptionbooleanBasic SLI on a well-known service type.Basic SLI on a well-known service type.static ServiceLevelIndicatorstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ServiceLevelIndicator>Request-based SLIsRequest-based SLIsintWindows-based SLIsWindows-based SLIsbooleanBasic SLI on a well-known service type.inthashCode()booleanRequest-based SLIsbooleanWindows-based SLIsprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ServiceLevelIndicator prototype) protected ServiceLevelIndicator.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ServiceLevelIndicatorparseDelimitedFrom(InputStream input) static ServiceLevelIndicatorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceLevelIndicatorparseFrom(byte[] data) static ServiceLevelIndicatorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceLevelIndicatorparseFrom(com.google.protobuf.ByteString data) static ServiceLevelIndicatorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceLevelIndicatorparseFrom(com.google.protobuf.CodedInputStream input) static ServiceLevelIndicatorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceLevelIndicatorparseFrom(InputStream input) static ServiceLevelIndicatorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceLevelIndicatorparseFrom(ByteBuffer data) static ServiceLevelIndicatorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServiceLevelIndicator>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
-
BASIC_SLI_FIELD_NUMBER
public static final int BASIC_SLI_FIELD_NUMBER- See Also:
-
REQUEST_BASED_FIELD_NUMBER
public static final int REQUEST_BASED_FIELD_NUMBER- See Also:
-
WINDOWS_BASED_FIELD_NUMBER
public static final int WINDOWS_BASED_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
-
getTypeCase
- Specified by:
getTypeCasein interfaceServiceLevelIndicatorOrBuilder
-
hasBasicSli
public boolean hasBasicSli()Basic SLI on a well-known service type.
.google.monitoring.v3.BasicSli basic_sli = 4;- Specified by:
hasBasicSliin interfaceServiceLevelIndicatorOrBuilder- Returns:
- Whether the basicSli field is set.
-
getBasicSli
Basic SLI on a well-known service type.
.google.monitoring.v3.BasicSli basic_sli = 4;- Specified by:
getBasicSliin interfaceServiceLevelIndicatorOrBuilder- Returns:
- The basicSli.
-
getBasicSliOrBuilder
Basic SLI on a well-known service type.
.google.monitoring.v3.BasicSli basic_sli = 4;- Specified by:
getBasicSliOrBuilderin interfaceServiceLevelIndicatorOrBuilder
-
hasRequestBased
public boolean hasRequestBased()Request-based SLIs
.google.monitoring.v3.RequestBasedSli request_based = 1;- Specified by:
hasRequestBasedin interfaceServiceLevelIndicatorOrBuilder- Returns:
- Whether the requestBased field is set.
-
getRequestBased
Request-based SLIs
.google.monitoring.v3.RequestBasedSli request_based = 1;- Specified by:
getRequestBasedin interfaceServiceLevelIndicatorOrBuilder- Returns:
- The requestBased.
-
getRequestBasedOrBuilder
Request-based SLIs
.google.monitoring.v3.RequestBasedSli request_based = 1;- Specified by:
getRequestBasedOrBuilderin interfaceServiceLevelIndicatorOrBuilder
-
hasWindowsBased
public boolean hasWindowsBased()Windows-based SLIs
.google.monitoring.v3.WindowsBasedSli windows_based = 2;- Specified by:
hasWindowsBasedin interfaceServiceLevelIndicatorOrBuilder- Returns:
- Whether the windowsBased field is set.
-
getWindowsBased
Windows-based SLIs
.google.monitoring.v3.WindowsBasedSli windows_based = 2;- Specified by:
getWindowsBasedin interfaceServiceLevelIndicatorOrBuilder- Returns:
- The windowsBased.
-
getWindowsBasedOrBuilder
Windows-based SLIs
.google.monitoring.v3.WindowsBasedSli windows_based = 2;- Specified by:
getWindowsBasedOrBuilderin interfaceServiceLevelIndicatorOrBuilder
-
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 ServiceLevelIndicator parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceLevelIndicator parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceLevelIndicator parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceLevelIndicator parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceLevelIndicator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceLevelIndicator parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ServiceLevelIndicator parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ServiceLevelIndicator parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ServiceLevelIndicator parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ServiceLevelIndicator 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 ServiceLevelIndicator.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
-