public static final class V2beta1Autoscaling.ExternalMetricSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricSource.Builder> implements V2beta1Autoscaling.ExternalMetricSourceOrBuilder
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.Protobuf type
k8s.io.api.autoscaling.v2beta1.ExternalMetricSource| Modifier and Type | Method and Description |
|---|---|
V2beta1Autoscaling.ExternalMetricSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta1Autoscaling.ExternalMetricSource |
build() |
V2beta1Autoscaling.ExternalMetricSource |
buildPartial() |
V2beta1Autoscaling.ExternalMetricSource.Builder |
clear() |
V2beta1Autoscaling.ExternalMetricSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V2beta1Autoscaling.ExternalMetricSource.Builder |
clearMetricName()
metricName is the name of the metric in question.
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
clearMetricSelector()
metricSelector is used to identify a specific time series
within a given metric.
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V2beta1Autoscaling.ExternalMetricSource.Builder |
clearTargetAverageValue()
targetAverageValue is the target per-pod value of global metric (as a quantity).
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
clearTargetValue()
targetValue is the target value of the metric (as a quantity).
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
clone() |
V2beta1Autoscaling.ExternalMetricSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMetricName()
metricName is the name of the metric in question.
|
com.google.protobuf.ByteString |
getMetricNameBytes()
metricName is the name of the metric in question.
|
Meta.LabelSelector |
getMetricSelector()
metricSelector is used to identify a specific time series
within a given metric.
|
Meta.LabelSelector.Builder |
getMetricSelectorBuilder()
metricSelector is used to identify a specific time series
within a given metric.
|
Meta.LabelSelectorOrBuilder |
getMetricSelectorOrBuilder()
metricSelector is used to identify a specific time series
within a given metric.
|
Resource.Quantity |
getTargetAverageValue()
targetAverageValue is the target per-pod value of global metric (as a quantity).
|
Resource.Quantity.Builder |
getTargetAverageValueBuilder()
targetAverageValue is the target per-pod value of global metric (as a quantity).
|
Resource.QuantityOrBuilder |
getTargetAverageValueOrBuilder()
targetAverageValue is the target per-pod value of global metric (as a quantity).
|
Resource.Quantity |
getTargetValue()
targetValue is the target value of the metric (as a quantity).
|
Resource.Quantity.Builder |
getTargetValueBuilder()
targetValue is the target value of the metric (as a quantity).
|
Resource.QuantityOrBuilder |
getTargetValueOrBuilder()
targetValue is the target value of the metric (as a quantity).
|
boolean |
hasMetricName()
metricName is the name of the metric in question.
|
boolean |
hasMetricSelector()
metricSelector is used to identify a specific time series
within a given metric.
|
boolean |
hasTargetAverageValue()
targetAverageValue is the target per-pod value of global metric (as a quantity).
|
boolean |
hasTargetValue()
targetValue is the target value of the metric (as a quantity).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V2beta1Autoscaling.ExternalMetricSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V2beta1Autoscaling.ExternalMetricSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V2beta1Autoscaling.ExternalMetricSource.Builder |
mergeFrom(V2beta1Autoscaling.ExternalMetricSource other) |
V2beta1Autoscaling.ExternalMetricSource.Builder |
mergeMetricSelector(Meta.LabelSelector value)
metricSelector is used to identify a specific time series
within a given metric.
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
mergeTargetAverageValue(Resource.Quantity value)
targetAverageValue is the target per-pod value of global metric (as a quantity).
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
mergeTargetValue(Resource.Quantity value)
targetValue is the target value of the metric (as a quantity).
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta1Autoscaling.ExternalMetricSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta1Autoscaling.ExternalMetricSource.Builder |
setMetricName(String value)
metricName is the name of the metric in question.
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
setMetricNameBytes(com.google.protobuf.ByteString value)
metricName is the name of the metric in question.
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
setMetricSelector(Meta.LabelSelector.Builder builderForValue)
metricSelector is used to identify a specific time series
within a given metric.
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
setMetricSelector(Meta.LabelSelector value)
metricSelector is used to identify a specific time series
within a given metric.
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V2beta1Autoscaling.ExternalMetricSource.Builder |
setTargetAverageValue(Resource.Quantity.Builder builderForValue)
targetAverageValue is the target per-pod value of global metric (as a quantity).
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
setTargetAverageValue(Resource.Quantity value)
targetAverageValue is the target per-pod value of global metric (as a quantity).
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
setTargetValue(Resource.Quantity.Builder builderForValue)
targetValue is the target value of the metric (as a quantity).
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
setTargetValue(Resource.Quantity value)
targetValue is the target value of the metric (as a quantity).
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource.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.ExternalMetricSource.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.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V2beta1Autoscaling.ExternalMetricSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.ExternalMetricSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.ExternalMetricSource.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.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource.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.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource.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.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource.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.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta1Autoscaling.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource.Builder mergeFrom(V2beta1Autoscaling.ExternalMetricSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricSource.Builder>public V2beta1Autoscaling.ExternalMetricSource.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.ExternalMetricSource.Builder>IOExceptionpublic boolean hasMetricName()
metricName is the name of the metric in question.
optional string metricName = 1;hasMetricName in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic String getMetricName()
metricName is the name of the metric in question.
optional string metricName = 1;getMetricName in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic com.google.protobuf.ByteString getMetricNameBytes()
metricName is the name of the metric in question.
optional string metricName = 1;getMetricNameBytes in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic V2beta1Autoscaling.ExternalMetricSource.Builder setMetricName(String value)
metricName is the name of the metric in question.
optional string metricName = 1;public V2beta1Autoscaling.ExternalMetricSource.Builder clearMetricName()
metricName is the name of the metric in question.
optional string metricName = 1;public V2beta1Autoscaling.ExternalMetricSource.Builder setMetricNameBytes(com.google.protobuf.ByteString value)
metricName is the name of the metric in question.
optional string metricName = 1;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;
hasMetricSelector in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic Meta.LabelSelector 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;
getMetricSelector in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic V2beta1Autoscaling.ExternalMetricSource.Builder setMetricSelector(Meta.LabelSelector value)
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;
public V2beta1Autoscaling.ExternalMetricSource.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;
public V2beta1Autoscaling.ExternalMetricSource.Builder mergeMetricSelector(Meta.LabelSelector value)
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;
public V2beta1Autoscaling.ExternalMetricSource.Builder 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;
public Meta.LabelSelector.Builder 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;
public Meta.LabelSelectorOrBuilder 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;
getMetricSelectorOrBuilder in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic boolean hasTargetValue()
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;hasTargetValue in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic Resource.Quantity getTargetValue()
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;getTargetValue in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic V2beta1Autoscaling.ExternalMetricSource.Builder setTargetValue(Resource.Quantity value)
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;public V2beta1Autoscaling.ExternalMetricSource.Builder setTargetValue(Resource.Quantity.Builder builderForValue)
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;public V2beta1Autoscaling.ExternalMetricSource.Builder mergeTargetValue(Resource.Quantity value)
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;public V2beta1Autoscaling.ExternalMetricSource.Builder clearTargetValue()
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. +optional
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). Mutually exclusive with TargetAverageValue. +optional
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). Mutually exclusive with TargetAverageValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;getTargetValueOrBuilder in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic boolean hasTargetAverageValue()
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 4;
hasTargetAverageValue in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic Resource.Quantity getTargetAverageValue()
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 4;
getTargetAverageValue in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic V2beta1Autoscaling.ExternalMetricSource.Builder setTargetAverageValue(Resource.Quantity value)
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 4;
public V2beta1Autoscaling.ExternalMetricSource.Builder setTargetAverageValue(Resource.Quantity.Builder builderForValue)
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 4;
public V2beta1Autoscaling.ExternalMetricSource.Builder mergeTargetAverageValue(Resource.Quantity value)
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 4;
public V2beta1Autoscaling.ExternalMetricSource.Builder clearTargetAverageValue()
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 4;
public Resource.Quantity.Builder getTargetAverageValueBuilder()
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 4;
public Resource.QuantityOrBuilder getTargetAverageValueOrBuilder()
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. +optional
optional .k8s.io.apimachinery.pkg.api.resource.Quantity targetAverageValue = 4;
getTargetAverageValueOrBuilder in interface V2beta1Autoscaling.ExternalMetricSourceOrBuilderpublic final V2beta1Autoscaling.ExternalMetricSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricSource.Builder>public final V2beta1Autoscaling.ExternalMetricSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.ExternalMetricSource.Builder>Copyright © 2023. All rights reserved.