Package io.kubernetes.client.proto
Interface V2beta2Autoscaling.MetricTargetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V2beta2Autoscaling.MetricTarget,V2beta2Autoscaling.MetricTarget.Builder
- Enclosing class:
- V2beta2Autoscaling
public static interface V2beta2Autoscaling.MetricTargetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintaverageUtilization 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.averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optionalaverageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optionalgetType()type represents whether the metric type is Utilization, Value, or AverageValuecom.google.protobuf.ByteStringtype represents whether the metric type is Utilization, Value, or AverageValuegetValue()value is the target value of the metric (as a quantity).value is the target value of the metric (as a quantity).booleanaverageUtilization 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.booleanaverageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optionalbooleanhasType()type represents whether the metric type is Utilization, Value, or AverageValuebooleanhasValue()value is the target value of the metric (as a quantity).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasType
boolean hasType()type represents whether the metric type is Utilization, Value, or AverageValue
optional string type = 1; -
getType
String getType()type represents whether the metric type is Utilization, Value, or AverageValue
optional string type = 1; -
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()type represents whether the metric type is Utilization, Value, or AverageValue
optional string type = 1; -
hasValue
boolean hasValue()value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2; -
getValue
Resource.Quantity getValue()value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2; -
getValueOrBuilder
Resource.QuantityOrBuilder getValueOrBuilder()value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2; -
hasAverageValue
boolean hasAverageValue()averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3; -
getAverageValue
Resource.Quantity getAverageValue()averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3; -
getAverageValueOrBuilder
Resource.QuantityOrBuilder getAverageValueOrBuilder()averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3; -
hasAverageUtilization
boolean hasAverageUtilization()averageUtilization 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. Currently only valid for Resource metric source type +optional
optional int32 averageUtilization = 4; -
getAverageUtilization
int getAverageUtilization()averageUtilization 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. Currently only valid for Resource metric source type +optional
optional int32 averageUtilization = 4;
-