public static interface V2beta1Autoscaling.ResourceMetricSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getName()
name is the name of the resource in question.
|
com.google.protobuf.ByteString |
getNameBytes()
name is the name of the resource in question.
|
int |
getTargetAverageUtilization()
targetAverageUtilization is the target value of the average of the
resource metric across all relevant pods, represented as a percentage of
the requested value of the resource for the pods.
|
Resource.Quantity |
getTargetAverageValue()
targetAverageValue is the target value of the average of the
resource metric across all relevant pods, as a raw value (instead of as
a percentage of the request), similar to the "pods" metric source type.
|
Resource.QuantityOrBuilder |
getTargetAverageValueOrBuilder()
targetAverageValue is the target value of the average of the
resource metric across all relevant pods, as a raw value (instead of as
a percentage of the request), similar to the "pods" metric source type.
|
boolean |
hasName()
name is the name of the resource in question.
|
boolean |
hasTargetAverageUtilization()
targetAverageUtilization is the target value of the average of the
resource metric across all relevant pods, represented as a percentage of
the requested value of the resource for the pods.
|
boolean |
hasTargetAverageValue()
targetAverageValue is the target value of the average of the
resource metric across all relevant pods, as a raw value (instead of as
a percentage of the request), similar to the "pods" metric source type.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasName()
name is the name of the resource in question.
optional string name = 1;
String getName()
name is the name of the resource in question.
optional string name = 1;
com.google.protobuf.ByteString getNameBytes()
name is the name of the resource in question.
optional string name = 1;
boolean hasTargetAverageUtilization()
targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. +optional
optional int32 targetAverageUtilization = 2;
int getTargetAverageUtilization()
targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. +optional
optional int32 targetAverageUtilization = 2;
boolean hasTargetAverageValue()
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 3;
Resource.Quantity getTargetAverageValue()
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 3;
Resource.QuantityOrBuilder getTargetAverageValueOrBuilder()
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 3;
Copyright © 2022. All rights reserved.