Package io.kubernetes.client.proto
Interface V2beta1Autoscaling.PodsMetricSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V2beta1Autoscaling.PodsMetricSource,V2beta1Autoscaling.PodsMetricSource.Builder
- Enclosing class:
- V2beta1Autoscaling
public static interface V2beta1Autoscaling.PodsMetricSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionmetricName is the name of the metric in questioncom.google.protobuf.ByteStringmetricName is the name of the metric in questionselector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)booleanmetricName is the name of the metric in questionbooleanselector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.booleantargetAverageValue is the target value of the average of the metric across all relevant pods (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
-
hasMetricName
boolean hasMetricName()metricName is the name of the metric in question
optional string metricName = 1; -
getMetricName
String getMetricName()metricName is the name of the metric in question
optional string metricName = 1; -
getMetricNameBytes
com.google.protobuf.ByteString getMetricNameBytes()metricName is the name of the metric in question
optional string metricName = 1; -
hasTargetAverageValue
boolean hasTargetAverageValue()targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 2; -
getTargetAverageValue
Resource.Quantity getTargetAverageValue()targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 2; -
getTargetAverageValueOrBuilder
Resource.QuantityOrBuilder getTargetAverageValueOrBuilder()targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 2; -
hasSelector
boolean hasSelector()selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 3; -
getSelector
Meta.LabelSelector getSelector()selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 3; -
getSelectorOrBuilder
Meta.LabelSelectorOrBuilder getSelectorOrBuilder()selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 3;
-