public static final class V2beta1Autoscaling.PodsMetricStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder> implements V2beta1Autoscaling.PodsMetricStatusOrBuilder
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).Protobuf type
k8s.io.api.autoscaling.v2beta1.PodsMetricStatus| Modifier and Type | Method and Description |
|---|---|
V2beta1Autoscaling.PodsMetricStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta1Autoscaling.PodsMetricStatus |
build() |
V2beta1Autoscaling.PodsMetricStatus |
buildPartial() |
V2beta1Autoscaling.PodsMetricStatus.Builder |
clear() |
V2beta1Autoscaling.PodsMetricStatus.Builder |
clearCurrentAverageValue()
currentAverageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V2beta1Autoscaling.PodsMetricStatus.Builder |
clearMetricName()
metricName is the name of the metric in question
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V2beta1Autoscaling.PodsMetricStatus.Builder |
clearSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
clone() |
Resource.Quantity |
getCurrentAverageValue()
currentAverageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
|
Resource.Quantity.Builder |
getCurrentAverageValueBuilder()
currentAverageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
|
Resource.QuantityOrBuilder |
getCurrentAverageValueOrBuilder()
currentAverageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
|
V2beta1Autoscaling.PodsMetricStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMetricName()
metricName is the name of the metric in question
|
com.google.protobuf.ByteString |
getMetricNameBytes()
metricName is the name of the metric in question
|
Meta.LabelSelector |
getSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
Meta.LabelSelector.Builder |
getSelectorBuilder()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
Meta.LabelSelectorOrBuilder |
getSelectorOrBuilder()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
boolean |
hasCurrentAverageValue()
currentAverageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
|
boolean |
hasMetricName()
metricName is the name of the metric in question
|
boolean |
hasSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V2beta1Autoscaling.PodsMetricStatus.Builder |
mergeCurrentAverageValue(Resource.Quantity value)
currentAverageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V2beta1Autoscaling.PodsMetricStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V2beta1Autoscaling.PodsMetricStatus.Builder |
mergeFrom(V2beta1Autoscaling.PodsMetricStatus other) |
V2beta1Autoscaling.PodsMetricStatus.Builder |
mergeSelector(Meta.LabelSelector value)
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta1Autoscaling.PodsMetricStatus.Builder |
setCurrentAverageValue(Resource.Quantity.Builder builderForValue)
currentAverageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
setCurrentAverageValue(Resource.Quantity value)
currentAverageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta1Autoscaling.PodsMetricStatus.Builder |
setMetricName(String value)
metricName is the name of the metric in question
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
setMetricNameBytes(com.google.protobuf.ByteString value)
metricName is the name of the metric in question
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V2beta1Autoscaling.PodsMetricStatus.Builder |
setSelector(Meta.LabelSelector.Builder builderForValue)
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
setSelector(Meta.LabelSelector value)
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
V2beta1Autoscaling.PodsMetricStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V2beta1Autoscaling.PodsMetricStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.PodsMetricStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.PodsMetricStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus.Builder mergeFrom(V2beta1Autoscaling.PodsMetricStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public V2beta1Autoscaling.PodsMetricStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>IOExceptionpublic boolean hasMetricName()
metricName is the name of the metric in question
optional string metricName = 1;hasMetricName in interface V2beta1Autoscaling.PodsMetricStatusOrBuilderpublic String getMetricName()
metricName is the name of the metric in question
optional string metricName = 1;getMetricName in interface V2beta1Autoscaling.PodsMetricStatusOrBuilderpublic com.google.protobuf.ByteString getMetricNameBytes()
metricName is the name of the metric in question
optional string metricName = 1;getMetricNameBytes in interface V2beta1Autoscaling.PodsMetricStatusOrBuilderpublic V2beta1Autoscaling.PodsMetricStatus.Builder setMetricName(String value)
metricName is the name of the metric in question
optional string metricName = 1;public V2beta1Autoscaling.PodsMetricStatus.Builder clearMetricName()
metricName is the name of the metric in question
optional string metricName = 1;public V2beta1Autoscaling.PodsMetricStatus.Builder setMetricNameBytes(com.google.protobuf.ByteString value)
metricName is the name of the metric in question
optional string metricName = 1;public boolean hasCurrentAverageValue()
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
hasCurrentAverageValue in interface V2beta1Autoscaling.PodsMetricStatusOrBuilderpublic Resource.Quantity getCurrentAverageValue()
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
getCurrentAverageValue in interface V2beta1Autoscaling.PodsMetricStatusOrBuilderpublic V2beta1Autoscaling.PodsMetricStatus.Builder setCurrentAverageValue(Resource.Quantity value)
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
public V2beta1Autoscaling.PodsMetricStatus.Builder setCurrentAverageValue(Resource.Quantity.Builder builderForValue)
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
public V2beta1Autoscaling.PodsMetricStatus.Builder mergeCurrentAverageValue(Resource.Quantity value)
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
public V2beta1Autoscaling.PodsMetricStatus.Builder clearCurrentAverageValue()
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
public Resource.Quantity.Builder getCurrentAverageValueBuilder()
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
public Resource.QuantityOrBuilder getCurrentAverageValueOrBuilder()
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 2;
getCurrentAverageValueOrBuilder in interface V2beta1Autoscaling.PodsMetricStatusOrBuilderpublic boolean hasSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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;hasSelector in interface V2beta1Autoscaling.PodsMetricStatusOrBuilderpublic Meta.LabelSelector getSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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 in interface V2beta1Autoscaling.PodsMetricStatusOrBuilderpublic V2beta1Autoscaling.PodsMetricStatus.Builder setSelector(Meta.LabelSelector value)
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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;public V2beta1Autoscaling.PodsMetricStatus.Builder setSelector(Meta.LabelSelector.Builder builderForValue)
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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;public V2beta1Autoscaling.PodsMetricStatus.Builder mergeSelector(Meta.LabelSelector value)
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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;public V2beta1Autoscaling.PodsMetricStatus.Builder clearSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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;public Meta.LabelSelector.Builder getSelectorBuilder()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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;public Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, 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 in interface V2beta1Autoscaling.PodsMetricStatusOrBuilderpublic final V2beta1Autoscaling.PodsMetricStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>public final V2beta1Autoscaling.PodsMetricStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.PodsMetricStatus.Builder>Copyright © 2023. All rights reserved.