public interface BackendCustomMetricOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDryRun()
If true, the metric data is collected and reported to Cloud Monitoring, but is not used for load balancing.
|
float |
getMaxUtilization()
Optional parameter to define a target utilization for the Custom Metrics balancing mode.
|
String |
getName()
Name of a custom utilization signal.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of a custom utilization signal.
|
boolean |
hasDryRun()
If true, the metric data is collected and reported to Cloud Monitoring, but is not used for load balancing.
|
boolean |
hasMaxUtilization()
Optional parameter to define a target utilization for the Custom Metrics balancing mode.
|
boolean |
hasName()
Name of a custom utilization signal.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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;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;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;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;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 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;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 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;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 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;Copyright © 2025 Google LLC. All rights reserved.