Interface BackendCustomMetricOrBuilder

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

@Generated public interface BackendCustomMetricOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If true, the metric data is collected and reported to Cloud Monitoring, but is not used for load balancing.
    float
    Optional parameter to define a target utilization for the Custom Metrics balancing mode.
    Name of a custom utilization signal.
    com.google.protobuf.ByteString
    Name of a custom utilization signal.
    boolean
    If true, the metric data is collected and reported to Cloud Monitoring, but is not used for load balancing.
    boolean
    Optional parameter to define a target utilization for the Custom Metrics balancing mode.
    boolean
    Name of a custom utilization signal.

    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 Details

    • hasDryRun

      boolean hasDryRun()
       If true, the metric data is collected and reported to Cloud
       Monitoring, but is not used for load balancing.
       
      optional bool dry_run = 323854839;
      Returns:
      Whether the dryRun field is set.
    • getDryRun

      boolean getDryRun()
       If true, the metric data is collected and reported to Cloud
       Monitoring, but is not used for load balancing.
       
      optional bool dry_run = 323854839;
      Returns:
      The dryRun.
    • hasMaxUtilization

      boolean hasMaxUtilization()
       Optional parameter to define a target utilization for the Custom Metrics
       balancing mode. The valid range is [0.0, 1.0].
       
      optional float max_utilization = 148192199;
      Returns:
      Whether the maxUtilization field is set.
    • getMaxUtilization

      float getMaxUtilization()
       Optional parameter to define a target utilization for the Custom Metrics
       balancing mode. The valid range is [0.0, 1.0].
       
      optional float max_utilization = 148192199;
      Returns:
      The maxUtilization.
    • hasName

      boolean hasName()
       Name of a custom utilization signal. The name must be 1-64 characters
       long and match the regular expression
       `[a-z]([-_.a-z0-9]*[a-z0-9])?` which means that the
       first character must be a lowercase letter, and all following
       characters must be a dash, period, underscore, lowercase letter, or
       digit, except the last character, which cannot be a dash, period, or
       underscore. For usage guidelines, see Custom Metrics balancing mode. This
       field can only be used for a global or regional backend service with the
       loadBalancingScheme set to EXTERNAL_MANAGED,INTERNAL_MANAGED INTERNAL_SELF_MANAGED.
       
      optional string name = 3373707;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       Name of a custom utilization signal. The name must be 1-64 characters
       long and match the regular expression
       `[a-z]([-_.a-z0-9]*[a-z0-9])?` which means that the
       first character must be a lowercase letter, and all following
       characters must be a dash, period, underscore, lowercase letter, or
       digit, except the last character, which cannot be a dash, period, or
       underscore. For usage guidelines, see Custom Metrics balancing mode. This
       field can only be used for a global or regional backend service with the
       loadBalancingScheme set to EXTERNAL_MANAGED,INTERNAL_MANAGED INTERNAL_SELF_MANAGED.
       
      optional string name = 3373707;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of a custom utilization signal. The name must be 1-64 characters
       long and match the regular expression
       `[a-z]([-_.a-z0-9]*[a-z0-9])?` which means that the
       first character must be a lowercase letter, and all following
       characters must be a dash, period, underscore, lowercase letter, or
       digit, except the last character, which cannot be a dash, period, or
       underscore. For usage guidelines, see Custom Metrics balancing mode. This
       field can only be used for a global or regional backend service with the
       loadBalancingScheme set to EXTERNAL_MANAGED,INTERNAL_MANAGED INTERNAL_SELF_MANAGED.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.