public static final class V2beta2Autoscaling.ContainerResourceMetricStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ContainerResourceMetricStatus.Builder> implements V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilder
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.Protobuf type
k8s.io.api.autoscaling.v2beta2.ContainerResourceMetricStatus| Modifier and Type | Method and Description |
|---|---|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta2Autoscaling.ContainerResourceMetricStatus |
build() |
V2beta2Autoscaling.ContainerResourceMetricStatus |
buildPartial() |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
clear() |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
clearContainer()
Container is the name of the container in the pods of the scaling target
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
clearCurrent()
current contains the current value for the given metric
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
clearName()
Name is the name of the resource in question.
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
clone() |
String |
getContainer()
Container is the name of the container in the pods of the scaling target
|
com.google.protobuf.ByteString |
getContainerBytes()
Container is the name of the container in the pods of the scaling target
|
V2beta2Autoscaling.MetricValueStatus |
getCurrent()
current contains the current value for the given metric
|
V2beta2Autoscaling.MetricValueStatus.Builder |
getCurrentBuilder()
current contains the current value for the given metric
|
V2beta2Autoscaling.MetricValueStatusOrBuilder |
getCurrentOrBuilder()
current contains the current value for the given metric
|
V2beta2Autoscaling.ContainerResourceMetricStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name is the name of the resource in question.
|
com.google.protobuf.ByteString |
getNameBytes()
Name is the name of the resource in question.
|
boolean |
hasContainer()
Container is the name of the container in the pods of the scaling target
|
boolean |
hasCurrent()
current contains the current value for the given metric
|
boolean |
hasName()
Name is the name of the resource in question.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
mergeCurrent(V2beta2Autoscaling.MetricValueStatus value)
current contains the current value for the given metric
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
mergeFrom(V2beta2Autoscaling.ContainerResourceMetricStatus other) |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
setContainer(String value)
Container is the name of the container in the pods of the scaling target
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
setContainerBytes(com.google.protobuf.ByteString value)
Container is the name of the container in the pods of the scaling target
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
setCurrent(V2beta2Autoscaling.MetricValueStatus.Builder builderForValue)
current contains the current value for the given metric
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
setCurrent(V2beta2Autoscaling.MetricValueStatus value)
current contains the current value for the given metric
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
setName(String value)
Name is the name of the resource in question.
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name is the name of the resource in question.
|
V2beta2Autoscaling.ContainerResourceMetricStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V2beta2Autoscaling.ContainerResourceMetricStatus.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<V2beta2Autoscaling.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus.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.ContainerResourceMetricStatus.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.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V2beta2Autoscaling.ContainerResourceMetricStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V2beta2Autoscaling.ContainerResourceMetricStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V2beta2Autoscaling.ContainerResourceMetricStatus.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.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus.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.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus.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.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus.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.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta2Autoscaling.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder mergeFrom(V2beta2Autoscaling.ContainerResourceMetricStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ContainerResourceMetricStatus.Builder>public V2beta2Autoscaling.ContainerResourceMetricStatus.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.ContainerResourceMetricStatus.Builder>IOExceptionpublic boolean hasName()
Name is the name of the resource in question.
optional string name = 1;hasName in interface V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilderpublic String getName()
Name is the name of the resource in question.
optional string name = 1;getName in interface V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name is the name of the resource in question.
optional string name = 1;getNameBytes in interface V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilderpublic V2beta2Autoscaling.ContainerResourceMetricStatus.Builder setName(String value)
Name is the name of the resource in question.
optional string name = 1;public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder clearName()
Name is the name of the resource in question.
optional string name = 1;public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder setNameBytes(com.google.protobuf.ByteString value)
Name is the name of the resource in question.
optional string name = 1;public boolean hasCurrent()
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;hasCurrent in interface V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilderpublic V2beta2Autoscaling.MetricValueStatus getCurrent()
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;getCurrent in interface V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilderpublic V2beta2Autoscaling.ContainerResourceMetricStatus.Builder setCurrent(V2beta2Autoscaling.MetricValueStatus value)
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder setCurrent(V2beta2Autoscaling.MetricValueStatus.Builder builderForValue)
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder mergeCurrent(V2beta2Autoscaling.MetricValueStatus value)
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder clearCurrent()
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;public V2beta2Autoscaling.MetricValueStatus.Builder getCurrentBuilder()
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;public V2beta2Autoscaling.MetricValueStatusOrBuilder getCurrentOrBuilder()
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;getCurrentOrBuilder in interface V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilderpublic boolean hasContainer()
Container is the name of the container in the pods of the scaling target
optional string container = 3;hasContainer in interface V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilderpublic String getContainer()
Container is the name of the container in the pods of the scaling target
optional string container = 3;getContainer in interface V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilderpublic com.google.protobuf.ByteString getContainerBytes()
Container is the name of the container in the pods of the scaling target
optional string container = 3;getContainerBytes in interface V2beta2Autoscaling.ContainerResourceMetricStatusOrBuilderpublic V2beta2Autoscaling.ContainerResourceMetricStatus.Builder setContainer(String value)
Container is the name of the container in the pods of the scaling target
optional string container = 3;public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder clearContainer()
Container is the name of the container in the pods of the scaling target
optional string container = 3;public V2beta2Autoscaling.ContainerResourceMetricStatus.Builder setContainerBytes(com.google.protobuf.ByteString value)
Container is the name of the container in the pods of the scaling target
optional string container = 3;public final V2beta2Autoscaling.ContainerResourceMetricStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ContainerResourceMetricStatus.Builder>public final V2beta2Autoscaling.ContainerResourceMetricStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ContainerResourceMetricStatus.Builder>Copyright © 2023. All rights reserved.