public static final class V2beta2Autoscaling.MetricValueStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricValueStatus.Builder> implements V2beta2Autoscaling.MetricValueStatusOrBuilder
MetricValueStatus holds the current value for a metricProtobuf type
k8s.io.api.autoscaling.v2beta2.MetricValueStatus| Modifier and Type | Method and Description |
|---|---|
V2beta2Autoscaling.MetricValueStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta2Autoscaling.MetricValueStatus |
build() |
V2beta2Autoscaling.MetricValueStatus |
buildPartial() |
V2beta2Autoscaling.MetricValueStatus.Builder |
clear() |
V2beta2Autoscaling.MetricValueStatus.Builder |
clearAverageUtilization()
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.
|
V2beta2Autoscaling.MetricValueStatus.Builder |
clearAverageValue()
averageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricValueStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V2beta2Autoscaling.MetricValueStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V2beta2Autoscaling.MetricValueStatus.Builder |
clearValue()
value is the current value of the metric (as a quantity).
|
V2beta2Autoscaling.MetricValueStatus.Builder |
clone() |
int |
getAverageUtilization()
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.
|
Resource.Quantity |
getAverageValue()
averageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
Resource.Quantity.Builder |
getAverageValueBuilder()
averageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
Resource.QuantityOrBuilder |
getAverageValueOrBuilder()
averageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricValueStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Resource.Quantity |
getValue()
value is the current value of the metric (as a quantity).
|
Resource.Quantity.Builder |
getValueBuilder()
value is the current value of the metric (as a quantity).
|
Resource.QuantityOrBuilder |
getValueOrBuilder()
value is the current value of the metric (as a quantity).
|
boolean |
hasAverageUtilization()
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.
|
boolean |
hasAverageValue()
averageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
boolean |
hasValue()
value is the current value of the metric (as a quantity).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V2beta2Autoscaling.MetricValueStatus.Builder |
mergeAverageValue(Resource.Quantity value)
averageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricValueStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V2beta2Autoscaling.MetricValueStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V2beta2Autoscaling.MetricValueStatus.Builder |
mergeFrom(V2beta2Autoscaling.MetricValueStatus other) |
V2beta2Autoscaling.MetricValueStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta2Autoscaling.MetricValueStatus.Builder |
mergeValue(Resource.Quantity value)
value is the current value of the metric (as a quantity).
|
V2beta2Autoscaling.MetricValueStatus.Builder |
setAverageUtilization(int value)
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.
|
V2beta2Autoscaling.MetricValueStatus.Builder |
setAverageValue(Resource.Quantity.Builder builderForValue)
averageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricValueStatus.Builder |
setAverageValue(Resource.Quantity value)
averageValue is the current value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricValueStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta2Autoscaling.MetricValueStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V2beta2Autoscaling.MetricValueStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta2Autoscaling.MetricValueStatus.Builder |
setValue(Resource.Quantity.Builder builderForValue)
value is the current value of the metric (as a quantity).
|
V2beta2Autoscaling.MetricValueStatus.Builder |
setValue(Resource.Quantity value)
value is the current value of the metric (as a quantity).
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricValueStatus.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<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V2beta2Autoscaling.MetricValueStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V2beta2Autoscaling.MetricValueStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V2beta2Autoscaling.MetricValueStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus.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<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus.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<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus.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<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus.Builder mergeFrom(V2beta2Autoscaling.MetricValueStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricValueStatus.Builder>public V2beta2Autoscaling.MetricValueStatus.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<V2beta2Autoscaling.MetricValueStatus.Builder>IOExceptionpublic boolean hasValue()
value is the current value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 1;hasValue in interface V2beta2Autoscaling.MetricValueStatusOrBuilderpublic Resource.Quantity getValue()
value is the current value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 1;getValue in interface V2beta2Autoscaling.MetricValueStatusOrBuilderpublic V2beta2Autoscaling.MetricValueStatus.Builder setValue(Resource.Quantity value)
value is the current value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 1;public V2beta2Autoscaling.MetricValueStatus.Builder setValue(Resource.Quantity.Builder builderForValue)
value is the current value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 1;public V2beta2Autoscaling.MetricValueStatus.Builder mergeValue(Resource.Quantity value)
value is the current value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 1;public V2beta2Autoscaling.MetricValueStatus.Builder clearValue()
value is the current value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 1;public Resource.Quantity.Builder getValueBuilder()
value is the current value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 1;public Resource.QuantityOrBuilder getValueOrBuilder()
value is the current value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 1;getValueOrBuilder in interface V2beta2Autoscaling.MetricValueStatusOrBuilderpublic 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 = 2;
hasAverageValue in interface V2beta2Autoscaling.MetricValueStatusOrBuilderpublic 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 = 2;
getAverageValue in interface V2beta2Autoscaling.MetricValueStatusOrBuilderpublic V2beta2Autoscaling.MetricValueStatus.Builder setAverageValue(Resource.Quantity value)
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 = 2;
public V2beta2Autoscaling.MetricValueStatus.Builder setAverageValue(Resource.Quantity.Builder builderForValue)
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 = 2;
public V2beta2Autoscaling.MetricValueStatus.Builder mergeAverageValue(Resource.Quantity value)
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 = 2;
public V2beta2Autoscaling.MetricValueStatus.Builder clearAverageValue()
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 = 2;
public Resource.Quantity.Builder getAverageValueBuilder()
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 = 2;
public 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 = 2;
getAverageValueOrBuilder in interface V2beta2Autoscaling.MetricValueStatusOrBuilderpublic boolean hasAverageUtilization()
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. +optional
optional int32 averageUtilization = 3;hasAverageUtilization in interface V2beta2Autoscaling.MetricValueStatusOrBuilderpublic int getAverageUtilization()
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. +optional
optional int32 averageUtilization = 3;getAverageUtilization in interface V2beta2Autoscaling.MetricValueStatusOrBuilderpublic V2beta2Autoscaling.MetricValueStatus.Builder setAverageUtilization(int value)
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. +optional
optional int32 averageUtilization = 3;public V2beta2Autoscaling.MetricValueStatus.Builder clearAverageUtilization()
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. +optional
optional int32 averageUtilization = 3;public final V2beta2Autoscaling.MetricValueStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricValueStatus.Builder>public final V2beta2Autoscaling.MetricValueStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricValueStatus.Builder>Copyright © 2021. All rights reserved.