Package io.kubernetes.client.proto
Class V2beta1Autoscaling.ObjectMetricStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricStatus.Builder>
io.kubernetes.client.proto.V2beta1Autoscaling.ObjectMetricStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V2beta1Autoscaling.ObjectMetricStatusOrBuilder,Cloneable
- Enclosing class:
- V2beta1Autoscaling.ObjectMetricStatus
public static final class V2beta1Autoscaling.ObjectMetricStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricStatus.Builder>
implements V2beta1Autoscaling.ObjectMetricStatusOrBuilder
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).Protobuf type
k8s.io.api.autoscaling.v2beta1.ObjectMetricStatus-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()averageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalcurrentValue is the current value of the metric (as a quantity).clearField(com.google.protobuf.Descriptors.FieldDescriptor field) metricName is the name of the metric in question.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.target is the described Kubernetes object.clone()averageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalaverageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalaverageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalcurrentValue 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 the metric in question.com.google.protobuf.ByteStringmetricName is the name of the metric in question.selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.target is the described Kubernetes object.target is the described Kubernetes object.target is the described Kubernetes object.booleanaverageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalbooleancurrentValue is the current value of the metric (as a quantity).booleanmetricName is the name of the metric in question.booleanselector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.booleantarget is the described Kubernetes object.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanaverageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalcurrentValue 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) mergeSelector(Meta.LabelSelector value) selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.target is the described Kubernetes object.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAverageValue(Resource.Quantity value) averageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalsetAverageValue(Resource.Quantity.Builder builderForValue) averageValue is the current value of the average of the metric across all relevant pods (as a quantity) +optionalsetCurrentValue(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 the metric in question.setMetricNameBytes(com.google.protobuf.ByteString value) metricName is the name of the metric in question.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSelector(Meta.LabelSelector value) selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.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 ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.target is the described Kubernetes object.setTarget(V2beta1Autoscaling.CrossVersionObjectReference.Builder builderForValue) target is the described Kubernetes object.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<V2beta1Autoscaling.ObjectMetricStatus.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<V2beta1Autoscaling.ObjectMetricStatus.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<V2beta1Autoscaling.ObjectMetricStatus.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<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-
setField
public V2beta1Autoscaling.ObjectMetricStatus.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<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-
clearField
public V2beta1Autoscaling.ObjectMetricStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-
clearOneof
public V2beta1Autoscaling.ObjectMetricStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-
setRepeatedField
public V2beta1Autoscaling.ObjectMetricStatus.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<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-
addRepeatedField
public V2beta1Autoscaling.ObjectMetricStatus.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<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-
mergeFrom
public V2beta1Autoscaling.ObjectMetricStatus.Builder mergeFrom(V2beta1Autoscaling.ObjectMetricStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-
mergeFrom
public V2beta1Autoscaling.ObjectMetricStatus.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<V2beta1Autoscaling.ObjectMetricStatus.Builder>- Throws:
IOException
-
hasTarget
public boolean hasTarget()target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;- Specified by:
hasTargetin interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
getTarget
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;- Specified by:
getTargetin interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
setTarget
public V2beta1Autoscaling.ObjectMetricStatus.Builder setTarget(V2beta1Autoscaling.CrossVersionObjectReference value) target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1; -
setTarget
public V2beta1Autoscaling.ObjectMetricStatus.Builder setTarget(V2beta1Autoscaling.CrossVersionObjectReference.Builder builderForValue) target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1; -
mergeTarget
public V2beta1Autoscaling.ObjectMetricStatus.Builder mergeTarget(V2beta1Autoscaling.CrossVersionObjectReference value) target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1; -
clearTarget
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1; -
getTargetBuilder
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1; -
getTargetOrBuilder
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;- Specified by:
getTargetOrBuilderin interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
hasMetricName
public boolean hasMetricName()metricName is the name of the metric in question.
optional string metricName = 2;- Specified by:
hasMetricNamein interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
getMetricName
metricName is the name of the metric in question.
optional string metricName = 2;- Specified by:
getMetricNamein interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
getMetricNameBytes
public com.google.protobuf.ByteString getMetricNameBytes()metricName is the name of the metric in question.
optional string metricName = 2;- Specified by:
getMetricNameBytesin interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
setMetricName
metricName is the name of the metric in question.
optional string metricName = 2; -
clearMetricName
metricName is the name of the metric in question.
optional string metricName = 2; -
setMetricNameBytes
public V2beta1Autoscaling.ObjectMetricStatus.Builder setMetricNameBytes(com.google.protobuf.ByteString value) metricName is the name of the metric in question.
optional string metricName = 2; -
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 interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
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 interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
setCurrentValue
currentValue is the current value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity currentValue = 3; -
setCurrentValue
public V2beta1Autoscaling.ObjectMetricStatus.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 interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
hasSelector
public boolean hasSelector()selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4;- Specified by:
hasSelectorin interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
getSelector
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4;- Specified by:
getSelectorin interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
setSelector
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4; -
setSelector
public V2beta1Autoscaling.ObjectMetricStatus.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 ObjectMetricSource, 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 = 4; -
mergeSelector
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4; -
clearSelector
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4; -
getSelectorBuilder
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4; -
getSelectorOrBuilder
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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 = 4;- Specified by:
getSelectorOrBuilderin interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
hasAverageValue
public 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 = 5;- Specified by:
hasAverageValuein interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
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 = 5;- Specified by:
getAverageValuein interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
setAverageValue
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 = 5; -
setAverageValue
public V2beta1Autoscaling.ObjectMetricStatus.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 = 5; -
mergeAverageValue
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 = 5; -
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 = 5; -
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 = 5; -
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 = 5;- Specified by:
getAverageValueOrBuilderin interfaceV2beta1Autoscaling.ObjectMetricStatusOrBuilder
-
setUnknownFields
public final V2beta1Autoscaling.ObjectMetricStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-
mergeUnknownFields
public final V2beta1Autoscaling.ObjectMetricStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricStatus.Builder>
-