public static final class V2beta1Autoscaling.ExternalMetricStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricStatus.Builder> implements V2beta1Autoscaling.ExternalMetricStatusOrBuilder
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.Protobuf type
k8s.io.api.autoscaling.v2beta1.ExternalMetricStatus| Modifier and Type | Method and Description |
|---|---|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta1Autoscaling.ExternalMetricStatus |
build() |
V2beta1Autoscaling.ExternalMetricStatus |
buildPartial() |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
clear() |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
clearCurrentAverageValue()
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
clearCurrentValue()
currentValue is the current value of the metric (as a quantity)
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
clearMetricName()
metricName is the name of a metric used for autoscaling in
metric system.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
clearMetricSelector()
metricSelector is used to identify a specific time series
within a given metric.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
clone() |
Resource.Quantity |
getCurrentAverageValue()
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
Resource.Quantity.Builder |
getCurrentAverageValueBuilder()
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
Resource.QuantityOrBuilder |
getCurrentAverageValueOrBuilder()
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
Resource.Quantity |
getCurrentValue()
currentValue is the current value of the metric (as a quantity)
|
Resource.Quantity.Builder |
getCurrentValueBuilder()
currentValue is the current value of the metric (as a quantity)
|
Resource.QuantityOrBuilder |
getCurrentValueOrBuilder()
currentValue is the current value of the metric (as a quantity)
|
V2beta1Autoscaling.ExternalMetricStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMetricName()
metricName is the name of a metric used for autoscaling in
metric system.
|
com.google.protobuf.ByteString |
getMetricNameBytes()
metricName is the name of a metric used for autoscaling in
metric system.
|
Meta.LabelSelector |
getMetricSelector()
metricSelector is used to identify a specific time series
within a given metric.
|
Meta.LabelSelector.Builder |
getMetricSelectorBuilder()
metricSelector is used to identify a specific time series
within a given metric.
|
Meta.LabelSelectorOrBuilder |
getMetricSelectorOrBuilder()
metricSelector is used to identify a specific time series
within a given metric.
|
boolean |
hasCurrentAverageValue()
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
boolean |
hasCurrentValue()
currentValue is the current value of the metric (as a quantity)
|
boolean |
hasMetricName()
metricName is the name of a metric used for autoscaling in
metric system.
|
boolean |
hasMetricSelector()
metricSelector is used to identify a specific time series
within a given metric.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
mergeCurrentAverageValue(Resource.Quantity value)
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
mergeCurrentValue(Resource.Quantity value)
currentValue is the current value of the metric (as a quantity)
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
mergeFrom(V2beta1Autoscaling.ExternalMetricStatus other) |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
mergeMetricSelector(Meta.LabelSelector value)
metricSelector is used to identify a specific time series
within a given metric.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setCurrentAverageValue(Resource.Quantity.Builder builderForValue)
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setCurrentAverageValue(Resource.Quantity value)
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setCurrentValue(Resource.Quantity.Builder builderForValue)
currentValue is the current value of the metric (as a quantity)
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setCurrentValue(Resource.Quantity value)
currentValue is the current value of the metric (as a quantity)
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setMetricName(String value)
metricName is the name of a metric used for autoscaling in
metric system.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setMetricNameBytes(com.google.protobuf.ByteString value)
metricName is the name of a metric used for autoscaling in
metric system.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setMetricSelector(Meta.LabelSelector.Builder builderForValue)
metricSelector is used to identify a specific time series
within a given metric.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setMetricSelector(Meta.LabelSelector value)
metricSelector is used to identify a specific time series
within a given metric.
|
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V2beta1Autoscaling.ExternalMetricStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<V2beta1Autoscaling.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus.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.ExternalMetricStatus.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.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V2beta1Autoscaling.ExternalMetricStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.ExternalMetricStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.ExternalMetricStatus.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.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus.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.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus.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.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus.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.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta1Autoscaling.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus.Builder mergeFrom(V2beta1Autoscaling.ExternalMetricStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricStatus.Builder>public V2beta1Autoscaling.ExternalMetricStatus.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.ExternalMetricStatus.Builder>IOExceptionpublic boolean hasMetricName()
metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1;hasMetricName in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic String getMetricName()
metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1;getMetricName in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic com.google.protobuf.ByteString getMetricNameBytes()
metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1;getMetricNameBytes in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic V2beta1Autoscaling.ExternalMetricStatus.Builder setMetricName(String value)
metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1;public V2beta1Autoscaling.ExternalMetricStatus.Builder clearMetricName()
metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1;public V2beta1Autoscaling.ExternalMetricStatus.Builder setMetricNameBytes(com.google.protobuf.ByteString value)
metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1;public boolean hasMetricSelector()
metricSelector is used to identify a specific time series within a given metric. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
hasMetricSelector in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic Meta.LabelSelector getMetricSelector()
metricSelector is used to identify a specific time series within a given metric. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
getMetricSelector in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic V2beta1Autoscaling.ExternalMetricStatus.Builder setMetricSelector(Meta.LabelSelector value)
metricSelector is used to identify a specific time series within a given metric. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
public V2beta1Autoscaling.ExternalMetricStatus.Builder setMetricSelector(Meta.LabelSelector.Builder builderForValue)
metricSelector is used to identify a specific time series within a given metric. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
public V2beta1Autoscaling.ExternalMetricStatus.Builder mergeMetricSelector(Meta.LabelSelector value)
metricSelector is used to identify a specific time series within a given metric. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
public V2beta1Autoscaling.ExternalMetricStatus.Builder clearMetricSelector()
metricSelector is used to identify a specific time series within a given metric. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
public Meta.LabelSelector.Builder getMetricSelectorBuilder()
metricSelector is used to identify a specific time series within a given metric. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
public Meta.LabelSelectorOrBuilder getMetricSelectorOrBuilder()
metricSelector is used to identify a specific time series within a given metric. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
getMetricSelectorOrBuilder in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic boolean hasCurrentValue()
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;
hasCurrentValue in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic Resource.Quantity getCurrentValue()
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;
getCurrentValue in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic V2beta1Autoscaling.ExternalMetricStatus.Builder setCurrentValue(Resource.Quantity value)
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;
public V2beta1Autoscaling.ExternalMetricStatus.Builder setCurrentValue(Resource.Quantity.Builder builderForValue)
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;
public V2beta1Autoscaling.ExternalMetricStatus.Builder mergeCurrentValue(Resource.Quantity value)
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;
public V2beta1Autoscaling.ExternalMetricStatus.Builder clearCurrentValue()
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;
public Resource.Quantity.Builder getCurrentValueBuilder()
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;
public Resource.QuantityOrBuilder getCurrentValueOrBuilder()
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;
getCurrentValueOrBuilder in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic boolean hasCurrentAverageValue()
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;
hasCurrentAverageValue in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic Resource.Quantity getCurrentAverageValue()
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;
getCurrentAverageValue in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic V2beta1Autoscaling.ExternalMetricStatus.Builder setCurrentAverageValue(Resource.Quantity value)
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;
public V2beta1Autoscaling.ExternalMetricStatus.Builder setCurrentAverageValue(Resource.Quantity.Builder builderForValue)
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;
public V2beta1Autoscaling.ExternalMetricStatus.Builder mergeCurrentAverageValue(Resource.Quantity value)
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;
public V2beta1Autoscaling.ExternalMetricStatus.Builder clearCurrentAverageValue()
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;
public Resource.Quantity.Builder getCurrentAverageValueBuilder()
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;
public Resource.QuantityOrBuilder getCurrentAverageValueOrBuilder()
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;
getCurrentAverageValueOrBuilder in interface V2beta1Autoscaling.ExternalMetricStatusOrBuilderpublic final V2beta1Autoscaling.ExternalMetricStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricStatus.Builder>public final V2beta1Autoscaling.ExternalMetricStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricStatus.Builder>Copyright © 2020. All rights reserved.