Package io.kubernetes.client.proto
Interface V1Autoscaling.ObjectMetricStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1Autoscaling.ObjectMetricStatus,V1Autoscaling.ObjectMetricStatus.Builder
- Enclosing class:
- V1Autoscaling
public static interface V1Autoscaling.ObjectMetricStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaverageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalaverageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalcurrentValue is the current value of the metric (as a quantity).currentValue is the current value of the metric (as a quantity).metricName is the name of the metric in question.com.google.protobuf.ByteStringmetricName is the name of the metric in question.selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.target is the described Kubernetes object.target is the described Kubernetes object.booleanaverageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalbooleancurrentValue is the current value of the metric (as a quantity).booleanmetricName is the name of the metric in question.booleanselector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.booleantarget is the described Kubernetes object.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
-
hasTarget
boolean hasTarget()target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v1.CrossVersionObjectReference target = 1; -
getTarget
V1Autoscaling.CrossVersionObjectReference getTarget()target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v1.CrossVersionObjectReference target = 1; -
getTargetOrBuilder
V1Autoscaling.CrossVersionObjectReferenceOrBuilder getTargetOrBuilder()target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v1.CrossVersionObjectReference target = 1; -
hasMetricName
boolean hasMetricName()metricName is the name of the metric in question.
optional string metricName = 2; -
getMetricName
String getMetricName()metricName is the name of the metric in question.
optional string metricName = 2; -
getMetricNameBytes
com.google.protobuf.ByteString getMetricNameBytes()metricName is the name of the metric in question.
optional string metricName = 2; -
hasCurrentValue
boolean hasCurrentValue()currentValue is the current value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3; -
getCurrentValue
Resource.Quantity getCurrentValue()currentValue is the current value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3; -
getCurrentValueOrBuilder
Resource.QuantityOrBuilder getCurrentValueOrBuilder()currentValue is the current value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3; -
hasSelector
boolean hasSelector()selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4; -
getSelector
Meta.LabelSelector getSelector()selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4; -
getSelectorOrBuilder
Meta.LabelSelectorOrBuilder getSelectorOrBuilder()selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4; -
hasAverageValue
boolean hasAverageValue()averageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 5; -
getAverageValue
Resource.Quantity getAverageValue()averageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 5; -
getAverageValueOrBuilder
Resource.QuantityOrBuilder getAverageValueOrBuilder()averageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 5;
-