Interface BackendServiceCustomMetricOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    If true, the metric data is not used for load balancing.
    Name of a custom utilization signal.
    com.google.protobuf.ByteString
    Name of a custom utilization signal.
    boolean
    If true, the metric data is not used for load balancing.
    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 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 not used for load balancing.
       
      optional bool dry_run = 323854839;
      Returns:
      The dryRun.
    • 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.