Package io.kubernetes.client.proto
Interface V2beta1Autoscaling.ContainerResourceMetricStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V2beta1Autoscaling.ContainerResourceMetricStatus,V2beta1Autoscaling.ContainerResourceMetricStatus.Builder
- Enclosing class:
- V2beta1Autoscaling
public static interface V2beta1Autoscaling.ContainerResourceMetricStatusOrBuilder
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 targetintcurrentAverageUtilization is the current 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.currentAverageValue is the current 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.currentAverageValue is the current 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.getName()name is the name of the resource in question.com.google.protobuf.ByteStringname is the name of the resource in question.booleancontainer is the name of the container in the pods of the scaling targetbooleancurrentAverageUtilization is the current 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.booleancurrentAverageValue is the current 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.booleanhasName()name is the name of the resource in question.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; -
hasCurrentAverageUtilization
boolean hasCurrentAverageUtilization()currentAverageUtilization is the current 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. It will only be present if `targetAverageValue` was set in the corresponding metric specification. +optional
optional int32 currentAverageUtilization = 2; -
getCurrentAverageUtilization
int getCurrentAverageUtilization()currentAverageUtilization is the current 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. It will only be present if `targetAverageValue` was set in the corresponding metric specification. +optional
optional int32 currentAverageUtilization = 2; -
hasCurrentAverageValue
boolean hasCurrentAverageValue()currentAverageValue is the current 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. It will always be set, regardless of the corresponding metric specification.
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 3; -
getCurrentAverageValue
Resource.Quantity getCurrentAverageValue()currentAverageValue is the current 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. It will always be set, regardless of the corresponding metric specification.
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 3; -
getCurrentAverageValueOrBuilder
Resource.QuantityOrBuilder getCurrentAverageValueOrBuilder()currentAverageValue is the current 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. It will always be set, regardless of the corresponding metric specification.
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 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;
-