public static final class V2beta2Autoscaling.MetricTarget.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricTarget.Builder> implements V2beta2Autoscaling.MetricTargetOrBuilder
MetricTarget defines the target value, average value, or average utilization of a specific metricProtobuf type
k8s.io.api.autoscaling.v2beta2.MetricTarget| Modifier and Type | Method and Description |
|---|---|
V2beta2Autoscaling.MetricTarget.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta2Autoscaling.MetricTarget |
build() |
V2beta2Autoscaling.MetricTarget |
buildPartial() |
V2beta2Autoscaling.MetricTarget.Builder |
clear() |
V2beta2Autoscaling.MetricTarget.Builder |
clearAverageUtilization()
averageUtilization is the target value of the average of the
resource metric across all relevant pods, represented as a percentage of
the requested value of the resource for the pods.
|
V2beta2Autoscaling.MetricTarget.Builder |
clearAverageValue()
averageValue is the target value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricTarget.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V2beta2Autoscaling.MetricTarget.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V2beta2Autoscaling.MetricTarget.Builder |
clearType()
type represents whether the metric type is Utilization, Value, or AverageValue
|
V2beta2Autoscaling.MetricTarget.Builder |
clearValue()
value is the target value of the metric (as a quantity).
|
V2beta2Autoscaling.MetricTarget.Builder |
clone() |
int |
getAverageUtilization()
averageUtilization is the target value of the average of the
resource metric across all relevant pods, represented as a percentage of
the requested value of the resource for the pods.
|
Resource.Quantity |
getAverageValue()
averageValue is the target value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
Resource.Quantity.Builder |
getAverageValueBuilder()
averageValue is the target value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
Resource.QuantityOrBuilder |
getAverageValueOrBuilder()
averageValue is the target value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricTarget |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getType()
type represents whether the metric type is Utilization, Value, or AverageValue
|
com.google.protobuf.ByteString |
getTypeBytes()
type represents whether the metric type is Utilization, Value, or AverageValue
|
Resource.Quantity |
getValue()
value is the target value of the metric (as a quantity).
|
Resource.Quantity.Builder |
getValueBuilder()
value is the target value of the metric (as a quantity).
|
Resource.QuantityOrBuilder |
getValueOrBuilder()
value is the target value of the metric (as a quantity).
|
boolean |
hasAverageUtilization()
averageUtilization is the target value of the average of the
resource metric across all relevant pods, represented as a percentage of
the requested value of the resource for the pods.
|
boolean |
hasAverageValue()
averageValue is the target value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
boolean |
hasType()
type represents whether the metric type is Utilization, Value, or AverageValue
|
boolean |
hasValue()
value is the target value of the metric (as a quantity).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V2beta2Autoscaling.MetricTarget.Builder |
mergeAverageValue(Resource.Quantity value)
averageValue is the target value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricTarget.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V2beta2Autoscaling.MetricTarget.Builder |
mergeFrom(com.google.protobuf.Message other) |
V2beta2Autoscaling.MetricTarget.Builder |
mergeFrom(V2beta2Autoscaling.MetricTarget other) |
V2beta2Autoscaling.MetricTarget.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta2Autoscaling.MetricTarget.Builder |
mergeValue(Resource.Quantity value)
value is the target value of the metric (as a quantity).
|
V2beta2Autoscaling.MetricTarget.Builder |
setAverageUtilization(int value)
averageUtilization is the target value of the average of the
resource metric across all relevant pods, represented as a percentage of
the requested value of the resource for the pods.
|
V2beta2Autoscaling.MetricTarget.Builder |
setAverageValue(Resource.Quantity.Builder builderForValue)
averageValue is the target value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricTarget.Builder |
setAverageValue(Resource.Quantity value)
averageValue is the target value of the average of the
metric across all relevant pods (as a quantity)
+optional
|
V2beta2Autoscaling.MetricTarget.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta2Autoscaling.MetricTarget.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V2beta2Autoscaling.MetricTarget.Builder |
setType(String value)
type represents whether the metric type is Utilization, Value, or AverageValue
|
V2beta2Autoscaling.MetricTarget.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
type represents whether the metric type is Utilization, Value, or AverageValue
|
V2beta2Autoscaling.MetricTarget.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta2Autoscaling.MetricTarget.Builder |
setValue(Resource.Quantity.Builder builderForValue)
value is the target value of the metric (as a quantity).
|
V2beta2Autoscaling.MetricTarget.Builder |
setValue(Resource.Quantity value)
value is the target value of the metric (as a quantity).
|
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<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricTarget.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<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V2beta2Autoscaling.MetricTarget build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V2beta2Autoscaling.MetricTarget buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V2beta2Autoscaling.MetricTarget.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget.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<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget.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<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget.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<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget.Builder mergeFrom(V2beta2Autoscaling.MetricTarget other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricTarget.Builder>public V2beta2Autoscaling.MetricTarget.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<V2beta2Autoscaling.MetricTarget.Builder>IOExceptionpublic boolean hasType()
type represents whether the metric type is Utilization, Value, or AverageValue
optional string type = 1;hasType in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic String getType()
type represents whether the metric type is Utilization, Value, or AverageValue
optional string type = 1;getType in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
type represents whether the metric type is Utilization, Value, or AverageValue
optional string type = 1;getTypeBytes in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic V2beta2Autoscaling.MetricTarget.Builder setType(String value)
type represents whether the metric type is Utilization, Value, or AverageValue
optional string type = 1;public V2beta2Autoscaling.MetricTarget.Builder clearType()
type represents whether the metric type is Utilization, Value, or AverageValue
optional string type = 1;public V2beta2Autoscaling.MetricTarget.Builder setTypeBytes(com.google.protobuf.ByteString value)
type represents whether the metric type is Utilization, Value, or AverageValue
optional string type = 1;public boolean hasValue()
value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;hasValue in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic Resource.Quantity getValue()
value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;getValue in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic V2beta2Autoscaling.MetricTarget.Builder setValue(Resource.Quantity value)
value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;public V2beta2Autoscaling.MetricTarget.Builder setValue(Resource.Quantity.Builder builderForValue)
value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;public V2beta2Autoscaling.MetricTarget.Builder mergeValue(Resource.Quantity value)
value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;public V2beta2Autoscaling.MetricTarget.Builder clearValue()
value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;public Resource.Quantity.Builder getValueBuilder()
value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;public Resource.QuantityOrBuilder getValueOrBuilder()
value is the target value of the metric (as a quantity). +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity value = 2;getValueOrBuilder in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic boolean hasAverageValue()
averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
hasAverageValue in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic Resource.Quantity getAverageValue()
averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
getAverageValue in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic V2beta2Autoscaling.MetricTarget.Builder setAverageValue(Resource.Quantity value)
averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
public V2beta2Autoscaling.MetricTarget.Builder setAverageValue(Resource.Quantity.Builder builderForValue)
averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
public V2beta2Autoscaling.MetricTarget.Builder mergeAverageValue(Resource.Quantity value)
averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
public V2beta2Autoscaling.MetricTarget.Builder clearAverageValue()
averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
public Resource.Quantity.Builder getAverageValueBuilder()
averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
public Resource.QuantityOrBuilder getAverageValueOrBuilder()
averageValue is the target value of the average of the metric across all relevant pods (as a quantity) +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity averageValue = 3;
getAverageValueOrBuilder in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic boolean hasAverageUtilization()
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type +optional
optional int32 averageUtilization = 4;hasAverageUtilization in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic int getAverageUtilization()
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type +optional
optional int32 averageUtilization = 4;getAverageUtilization in interface V2beta2Autoscaling.MetricTargetOrBuilderpublic V2beta2Autoscaling.MetricTarget.Builder setAverageUtilization(int value)
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type +optional
optional int32 averageUtilization = 4;public V2beta2Autoscaling.MetricTarget.Builder clearAverageUtilization()
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type +optional
optional int32 averageUtilization = 4;public final V2beta2Autoscaling.MetricTarget.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricTarget.Builder>public final V2beta2Autoscaling.MetricTarget.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricTarget.Builder>Copyright © 2020. All rights reserved.