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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    Future parameters for the availability SLI.
    static interface 
     
    static final class 
    An SLI measuring performance on a well-known service type.
    static final class 
    Parameters for a latency threshold SLI.
    static interface 
     
    static enum 
     

    Nested 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Good 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 BasicSli
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Good 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.ByteString
    getLocationBytes(int index)
    OPTIONAL: The set of locations to which this SLI is relevant.
    int
    OPTIONAL: The set of locations to which this SLI is relevant.
    com.google.protobuf.ProtocolStringList
    OPTIONAL: 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.ByteString
    getMethodBytes(int index)
    OPTIONAL: The set of RPCs to which this SLI is relevant.
    int
    OPTIONAL: The set of RPCs to which this SLI is relevant.
    com.google.protobuf.ProtocolStringList
    OPTIONAL: The set of RPCs to which this SLI is relevant.
    com.google.protobuf.Parser<BasicSli>
     
    int
     
     
    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
    OPTIONAL: The set of API versions to which this SLI is relevant.
    com.google.protobuf.ProtocolStringList
    OPTIONAL: The set of API versions to which this SLI is relevant.
    boolean
    Good service is defined to be the count of requests made to this service that return successfully.
    int
     
    boolean
    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.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(BasicSli prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static BasicSli
     
    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
     
    static BasicSli
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static BasicSli
     
    static BasicSli
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<BasicSli>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSliCriteriaCase

      public BasicSli.SliCriteriaCase getSliCriteriaCase()
      Specified by:
      getSliCriteriaCase in interface BasicSliOrBuilder
    • 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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
    • 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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
      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 interface BasicSliOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BasicSli.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public BasicSli getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder