public static final class V2beta1Autoscaling.ObjectMetricSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricSource.Builder> implements V2beta1Autoscaling.ObjectMetricSourceOrBuilder
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).Protobuf type
k8s.io.api.autoscaling.v2beta1.ObjectMetricSourcegetAllFields, 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.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource.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.ObjectMetricSource.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.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V2beta1Autoscaling.ObjectMetricSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.ObjectMetricSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.ObjectMetricSource.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.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource.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.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource.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.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource.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.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta1Autoscaling.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource.Builder mergeFrom(V2beta1Autoscaling.ObjectMetricSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricSource.Builder>public V2beta1Autoscaling.ObjectMetricSource.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.ObjectMetricSource.Builder>IOExceptionpublic boolean hasTarget()
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;hasTarget in interface V2beta1Autoscaling.ObjectMetricSourceOrBuilderpublic V2beta1Autoscaling.CrossVersionObjectReference getTarget()
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;getTarget in interface V2beta1Autoscaling.ObjectMetricSourceOrBuilderpublic V2beta1Autoscaling.ObjectMetricSource.Builder setTarget(V2beta1Autoscaling.CrossVersionObjectReference value)
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;public V2beta1Autoscaling.ObjectMetricSource.Builder setTarget(V2beta1Autoscaling.CrossVersionObjectReference.Builder builderForValue)
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;public V2beta1Autoscaling.ObjectMetricSource.Builder mergeTarget(V2beta1Autoscaling.CrossVersionObjectReference value)
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;public V2beta1Autoscaling.ObjectMetricSource.Builder clearTarget()
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;public V2beta1Autoscaling.CrossVersionObjectReference.Builder getTargetBuilder()
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;public V2beta1Autoscaling.CrossVersionObjectReferenceOrBuilder getTargetOrBuilder()
target is the described Kubernetes object.
optional .k8s.io.api.autoscaling.v2beta1.CrossVersionObjectReference target = 1;getTargetOrBuilder in interface V2beta1Autoscaling.ObjectMetricSourceOrBuilderpublic boolean hasMetricName()
metricName is the name of the metric in question.
optional string metricName = 2;hasMetricName in interface V2beta1Autoscaling.ObjectMetricSourceOrBuilderpublic String getMetricName()
metricName is the name of the metric in question.
optional string metricName = 2;getMetricName in interface V2beta1Autoscaling.ObjectMetricSourceOrBuilderpublic com.google.protobuf.ByteString getMetricNameBytes()
metricName is the name of the metric in question.
optional string metricName = 2;getMetricNameBytes in interface V2beta1Autoscaling.ObjectMetricSourceOrBuilderpublic V2beta1Autoscaling.ObjectMetricSource.Builder setMetricName(String value)
metricName is the name of the metric in question.
optional string metricName = 2;public V2beta1Autoscaling.ObjectMetricSource.Builder clearMetricName()
metricName is the name of the metric in question.
optional string metricName = 2;public V2beta1Autoscaling.ObjectMetricSource.Builder setMetricNameBytes(com.google.protobuf.ByteString value)
metricName is the name of the metric in question.
optional string metricName = 2;public boolean hasTargetValue()
targetValue is the target value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;hasTargetValue in interface V2beta1Autoscaling.ObjectMetricSourceOrBuilderpublic Resource.Quantity getTargetValue()
targetValue is the target value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;getTargetValue in interface V2beta1Autoscaling.ObjectMetricSourceOrBuilderpublic V2beta1Autoscaling.ObjectMetricSource.Builder setTargetValue(Resource.Quantity value)
targetValue is the target value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;public V2beta1Autoscaling.ObjectMetricSource.Builder setTargetValue(Resource.Quantity.Builder builderForValue)
targetValue is the target value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;public V2beta1Autoscaling.ObjectMetricSource.Builder mergeTargetValue(Resource.Quantity value)
targetValue is the target value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;public V2beta1Autoscaling.ObjectMetricSource.Builder clearTargetValue()
targetValue is the target value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;public Resource.Quantity.Builder getTargetValueBuilder()
targetValue is the target value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;public Resource.QuantityOrBuilder getTargetValueOrBuilder()
targetValue is the target value of the metric (as a quantity).
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;getTargetValueOrBuilder in interface V2beta1Autoscaling.ObjectMetricSourceOrBuilderpublic final V2beta1Autoscaling.ObjectMetricSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricSource.Builder>public final V2beta1Autoscaling.ObjectMetricSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ObjectMetricSource.Builder>Copyright © 2018. All rights reserved.