Package io.kubernetes.client.proto
Interface V2beta1Autoscaling.ContainerResourceMetricSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V2beta1Autoscaling.ContainerResourceMetricSource,V2beta1Autoscaling.ContainerResourceMetricSource.Builder
- Enclosing class:
- V2beta1Autoscaling
public static interface V2beta1Autoscaling.ContainerResourceMetricSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncontainer is the name of the container in the pods of the scaling targetcom.google.protobuf.ByteStringcontainer is the name of the container in the pods of the scaling targetgetName()name is the name of the resource in question.com.google.protobuf.ByteStringname is the name of the resource in question.inttargetAverageUtilization 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.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.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.booleancontainer is the name of the container in the pods of the scaling targetbooleanhasName()name is the name of the resource in question.booleantargetAverageUtilization 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.booleantargetAverageValue 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.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
-
hasName
boolean hasName()name is the name of the resource in question.
optional string name = 1; -
getName
String getName()name is the name of the resource in question.
optional string name = 1; -
getNameBytes
com.google.protobuf.ByteString getNameBytes()name is the name of the resource in question.
optional string name = 1; -
hasTargetAverageUtilization
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; -
getTargetAverageUtilization
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; -
hasTargetAverageValue
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; -
getTargetAverageValue
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; -
getTargetAverageValueOrBuilder
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; -
hasContainer
boolean hasContainer()container is the name of the container in the pods of the scaling target
optional string container = 4; -
getContainer
String getContainer()container is the name of the container in the pods of the scaling target
optional string container = 4; -
getContainerBytes
com.google.protobuf.ByteString getContainerBytes()container is the name of the container in the pods of the scaling target
optional string container = 4;
-