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 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
-
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 int
AVAILABILITY_FIELD_NUMBER
static int
LATENCY_FIELD_NUMBER
static int
LOCATION_FIELD_NUMBER
static int
METHOD_FIELD_NUMBER
static int
VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(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 BasicSli
parseFrom(ByteBuffer data)
static BasicSli
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<BasicSli>
parser()
BasicSli.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSliCriteriaCase
public BasicSli.SliCriteriaCase getSliCriteriaCase()
- Specified by:
getSliCriteriaCase
in 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:
getMethodList
in 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:
getMethodCount
in 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:
getMethod
in 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:
getMethodBytes
in 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:
getLocationList
in 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:
getLocationCount
in 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:
getLocation
in 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:
getLocationBytes
in 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:
getVersionList
in 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:
getVersionCount
in 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:
getVersion
in 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:
getVersionBytes
in 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:
hasAvailability
in 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:
getAvailability
in 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:
getAvailabilityOrBuilder
in 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:
hasLatency
in 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:
getLatency
in 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:
getLatencyOrBuilder
in interfaceBasicSliOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BasicSli.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BasicSli getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-