Interface BasicSliOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    BasicSli, BasicSli.Builder

    public interface BasicSliOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      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.
      List<String> 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.
      List<String> getMethodList()
      OPTIONAL: The set of RPCs to which this SLI is relevant.
      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.
      List<String> 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.
      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`.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getMethodList

        List<String> 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;
        Returns:
        A list containing the method.
      • getMethodCount

        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;
        Returns:
        The count of method.
      • getMethod

        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;
        Parameters:
        index - The index of the element to return.
        Returns:
        The method at the given index.
      • getMethodBytes

        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;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the method at the given index.
      • getLocationList

        List<String> 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;
        Returns:
        A list containing the location.
      • getLocationCount

        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;
        Returns:
        The count of location.
      • getLocation

        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;
        Parameters:
        index - The index of the element to return.
        Returns:
        The location at the given index.
      • getLocationBytes

        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;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the location at the given index.
      • getVersionList

        List<String> 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;
        Returns:
        A list containing the version.
      • getVersionCount

        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;
        Returns:
        The count of version.
      • getVersion

        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;
        Parameters:
        index - The index of the element to return.
        Returns:
        The version at the given index.
      • getVersionBytes

        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;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the version at the given index.
      • hasAvailability

        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;
        Returns:
        Whether the availability field is set.
      • getAvailability

        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;
        Returns:
        The availability.
      • getAvailabilityOrBuilder

        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;
      • hasLatency

        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;
        Returns:
        Whether the latency field is set.
      • getLatency

        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;
        Returns:
        The latency.
      • getLatencyOrBuilder

        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;