Package io.kubernetes.client.proto
Class V2beta2Autoscaling.ObjectMetricStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ObjectMetricStatus.Builder>
io.kubernetes.client.proto.V2beta2Autoscaling.ObjectMetricStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V2beta2Autoscaling.ObjectMetricStatusOrBuilder,Cloneable
- Enclosing class:
- V2beta2Autoscaling.ObjectMetricStatus
public static final class V2beta2Autoscaling.ObjectMetricStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ObjectMetricStatus.Builder>
implements V2beta2Autoscaling.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.v2beta2.ObjectMetricStatus-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()current contains the current value for the given metricoptional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) metric identifies the target metric by name and selectorclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()current contains the current value for the given metriccurrent contains the current value for the given metriccurrent contains the current value for the given metricoptional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptormetric identifies the target metric by name and selectormetric identifies the target metric by name and selectormetric identifies the target metric by name and selectorbooleancurrent contains the current value for the given metricbooleanoptional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;booleanmetric identifies the target metric by name and selectorprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleancurrent contains the current value for the given metricoptional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) metric identifies the target metric by name and selectormergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) current contains the current value for the given metricsetCurrent(V2beta2Autoscaling.MetricValueStatus.Builder builderForValue) current contains the current value for the given metricoptional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;setDescribedObject(V2beta2Autoscaling.CrossVersionObjectReference.Builder builderForValue) optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;metric identifies the target metric by name and selectorsetMetric(V2beta2Autoscaling.MetricIdentifier.Builder builderForValue) metric identifies the target metric by name and selectorsetRepeatedField(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<V2beta2Autoscaling.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<V2beta2Autoscaling.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<V2beta2Autoscaling.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<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-
setField
public V2beta2Autoscaling.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<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-
clearField
public V2beta2Autoscaling.ObjectMetricStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-
clearOneof
public V2beta2Autoscaling.ObjectMetricStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-
setRepeatedField
public V2beta2Autoscaling.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<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-
addRepeatedField
public V2beta2Autoscaling.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<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-
mergeFrom
public V2beta2Autoscaling.ObjectMetricStatus.Builder mergeFrom(V2beta2Autoscaling.ObjectMetricStatus other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-
mergeFrom
public V2beta2Autoscaling.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<V2beta2Autoscaling.ObjectMetricStatus.Builder>- Throws:
IOException
-
hasMetric
public boolean hasMetric()metric identifies the target metric by name and selector
optional .k8s.io.api.autoscaling.v2beta2.MetricIdentifier metric = 1;- Specified by:
hasMetricin interfaceV2beta2Autoscaling.ObjectMetricStatusOrBuilder
-
getMetric
metric identifies the target metric by name and selector
optional .k8s.io.api.autoscaling.v2beta2.MetricIdentifier metric = 1;- Specified by:
getMetricin interfaceV2beta2Autoscaling.ObjectMetricStatusOrBuilder
-
setMetric
public V2beta2Autoscaling.ObjectMetricStatus.Builder setMetric(V2beta2Autoscaling.MetricIdentifier value) metric identifies the target metric by name and selector
optional .k8s.io.api.autoscaling.v2beta2.MetricIdentifier metric = 1; -
setMetric
public V2beta2Autoscaling.ObjectMetricStatus.Builder setMetric(V2beta2Autoscaling.MetricIdentifier.Builder builderForValue) metric identifies the target metric by name and selector
optional .k8s.io.api.autoscaling.v2beta2.MetricIdentifier metric = 1; -
mergeMetric
public V2beta2Autoscaling.ObjectMetricStatus.Builder mergeMetric(V2beta2Autoscaling.MetricIdentifier value) metric identifies the target metric by name and selector
optional .k8s.io.api.autoscaling.v2beta2.MetricIdentifier metric = 1; -
clearMetric
metric identifies the target metric by name and selector
optional .k8s.io.api.autoscaling.v2beta2.MetricIdentifier metric = 1; -
getMetricBuilder
metric identifies the target metric by name and selector
optional .k8s.io.api.autoscaling.v2beta2.MetricIdentifier metric = 1; -
getMetricOrBuilder
metric identifies the target metric by name and selector
optional .k8s.io.api.autoscaling.v2beta2.MetricIdentifier metric = 1;- Specified by:
getMetricOrBuilderin interfaceV2beta2Autoscaling.ObjectMetricStatusOrBuilder
-
hasCurrent
public boolean hasCurrent()current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;- Specified by:
hasCurrentin interfaceV2beta2Autoscaling.ObjectMetricStatusOrBuilder
-
getCurrent
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;- Specified by:
getCurrentin interfaceV2beta2Autoscaling.ObjectMetricStatusOrBuilder
-
setCurrent
public V2beta2Autoscaling.ObjectMetricStatus.Builder setCurrent(V2beta2Autoscaling.MetricValueStatus value) current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2; -
setCurrent
public V2beta2Autoscaling.ObjectMetricStatus.Builder setCurrent(V2beta2Autoscaling.MetricValueStatus.Builder builderForValue) current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2; -
mergeCurrent
public V2beta2Autoscaling.ObjectMetricStatus.Builder mergeCurrent(V2beta2Autoscaling.MetricValueStatus value) current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2; -
clearCurrent
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2; -
getCurrentBuilder
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2; -
getCurrentOrBuilder
current contains the current value for the given metric
optional .k8s.io.api.autoscaling.v2beta2.MetricValueStatus current = 2;- Specified by:
getCurrentOrBuilderin interfaceV2beta2Autoscaling.ObjectMetricStatusOrBuilder
-
hasDescribedObject
public boolean hasDescribedObject()optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;- Specified by:
hasDescribedObjectin interfaceV2beta2Autoscaling.ObjectMetricStatusOrBuilder
-
getDescribedObject
optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;- Specified by:
getDescribedObjectin interfaceV2beta2Autoscaling.ObjectMetricStatusOrBuilder
-
setDescribedObject
public V2beta2Autoscaling.ObjectMetricStatus.Builder setDescribedObject(V2beta2Autoscaling.CrossVersionObjectReference value) optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3; -
setDescribedObject
public V2beta2Autoscaling.ObjectMetricStatus.Builder setDescribedObject(V2beta2Autoscaling.CrossVersionObjectReference.Builder builderForValue) optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3; -
mergeDescribedObject
public V2beta2Autoscaling.ObjectMetricStatus.Builder mergeDescribedObject(V2beta2Autoscaling.CrossVersionObjectReference value) optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3; -
clearDescribedObject
optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3; -
getDescribedObjectBuilder
optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3; -
getDescribedObjectOrBuilder
optional .k8s.io.api.autoscaling.v2beta2.CrossVersionObjectReference describedObject = 3;- Specified by:
getDescribedObjectOrBuilderin interfaceV2beta2Autoscaling.ObjectMetricStatusOrBuilder
-
setUnknownFields
public final V2beta2Autoscaling.ObjectMetricStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-
mergeUnknownFields
public final V2beta2Autoscaling.ObjectMetricStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.ObjectMetricStatus.Builder>
-