Package io.kubernetes.client.proto
Class V1Autoscaling.ExternalMetricStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
io.kubernetes.client.proto.V1Autoscaling.ExternalMetricStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Autoscaling.ExternalMetricStatusOrBuilder,Cloneable
- Enclosing class:
- V1Autoscaling.ExternalMetricStatus
public static final class V1Autoscaling.ExternalMetricStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
implements V1Autoscaling.ExternalMetricStatusOrBuilder
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.Protobuf type
k8s.io.api.autoscaling.v1.ExternalMetricStatus-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()currentAverageValue is the current value of metric averaged over autoscaled pods.currentValue is the current value of the metric (as a quantity)clearField(com.google.protobuf.Descriptors.FieldDescriptor field) metricName is the name of a metric used for autoscaling in metric system.metricSelector is used to identify a specific time series within a given metric.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()currentAverageValue is the current value of metric averaged over autoscaled pods.currentAverageValue is the current value of metric averaged over autoscaled pods.currentAverageValue is the current value of metric averaged over autoscaled pods.currentValue is the current value of the metric (as a quantity)currentValue is the current value of the metric (as a quantity)currentValue is the current value of the metric (as a quantity)static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptormetricName is the name of a metric used for autoscaling in metric system.com.google.protobuf.ByteStringmetricName is the name of a metric used for autoscaling in metric system.metricSelector is used to identify a specific time series within a given metric.metricSelector is used to identify a specific time series within a given metric.metricSelector is used to identify a specific time series within a given metric.booleancurrentAverageValue is the current value of metric averaged over autoscaled pods.booleancurrentValue is the current value of the metric (as a quantity)booleanmetricName is the name of a metric used for autoscaling in metric system.booleanmetricSelector is used to identify a specific time series within a given metric.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleancurrentAverageValue is the current value of metric averaged over autoscaled pods.currentValue is the current value of the metric (as a quantity)mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) metricSelector is used to identify a specific time series within a given metric.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) currentAverageValue is the current value of metric averaged over autoscaled pods.setCurrentAverageValue(Resource.Quantity.Builder builderForValue) currentAverageValue is the current value of metric averaged over autoscaled pods.setCurrentValue(Resource.Quantity value) currentValue is the current value of the metric (as a quantity)setCurrentValue(Resource.Quantity.Builder builderForValue) currentValue is the current value of the metric (as a quantity)setMetricName(String value) metricName is the name of a metric used for autoscaling in metric system.setMetricNameBytes(com.google.protobuf.ByteString value) metricName is the name of a metric used for autoscaling in metric system.metricSelector is used to identify a specific time series within a given metric.setMetricSelector(Meta.LabelSelector.Builder builderForValue) metricSelector is used to identify a specific time series within a given metric.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
setField
public V1Autoscaling.ExternalMetricStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
clearField
public V1Autoscaling.ExternalMetricStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
clearOneof
public V1Autoscaling.ExternalMetricStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
setRepeatedField
public V1Autoscaling.ExternalMetricStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
addRepeatedField
public V1Autoscaling.ExternalMetricStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
mergeFrom
public V1Autoscaling.ExternalMetricStatus.Builder mergeFrom(V1Autoscaling.ExternalMetricStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
mergeFrom
public V1Autoscaling.ExternalMetricStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Autoscaling.ExternalMetricStatus.Builder>- Throws:
IOException
-
hasMetricName
public boolean hasMetricName()metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1;- Specified by:
hasMetricNamein interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
getMetricName
metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1;- Specified by:
getMetricNamein interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
getMetricNameBytes
public com.google.protobuf.ByteString getMetricNameBytes()metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1;- Specified by:
getMetricNameBytesin interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
setMetricName
metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1; -
clearMetricName
metricName is the name of a metric used for autoscaling in metric system.
optional string metricName = 1; -
setMetricNameBytes
public V1Autoscaling.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; -
hasMetricSelector
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;- Specified by:
hasMetricSelectorin interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
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;- Specified by:
getMetricSelectorin interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
setMetricSelector
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; -
setMetricSelector
public V1Autoscaling.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; -
mergeMetricSelector
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; -
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; -
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; -
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;- Specified by:
getMetricSelectorOrBuilderin interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
hasCurrentValue
public boolean hasCurrentValue()currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;- Specified by:
hasCurrentValuein interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
getCurrentValue
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;- Specified by:
getCurrentValuein interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
setCurrentValue
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3; -
setCurrentValue
public V1Autoscaling.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; -
mergeCurrentValue
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3; -
clearCurrentValue
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3; -
getCurrentValueBuilder
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3; -
getCurrentValueOrBuilder
currentValue is the current value of the metric (as a quantity)
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3;- Specified by:
getCurrentValueOrBuilderin interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
hasCurrentAverageValue
public boolean hasCurrentAverageValue()currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;- Specified by:
hasCurrentAverageValuein interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
getCurrentAverageValue
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;- Specified by:
getCurrentAverageValuein interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
setCurrentAverageValue
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4; -
setCurrentAverageValue
public V1Autoscaling.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; -
mergeCurrentAverageValue
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4; -
clearCurrentAverageValue
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4; -
getCurrentAverageValueBuilder
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4; -
getCurrentAverageValueOrBuilder
currentAverageValue is the current value of metric averaged over autoscaled pods. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentAverageValue = 4;- Specified by:
getCurrentAverageValueOrBuilderin interfaceV1Autoscaling.ExternalMetricStatusOrBuilder
-
setUnknownFields
public final V1Autoscaling.ExternalMetricStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-
mergeUnknownFields
public final V1Autoscaling.ExternalMetricStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ExternalMetricStatus.Builder>
-