public static final class V2beta1Autoscaling.MetricSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.MetricSpec.Builder> implements V2beta1Autoscaling.MetricSpecOrBuilder
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).Protobuf type
k8s.io.api.autoscaling.v2beta1.MetricSpec| Modifier and Type | Method and Description |
|---|---|
V2beta1Autoscaling.MetricSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta1Autoscaling.MetricSpec |
build() |
V2beta1Autoscaling.MetricSpec |
buildPartial() |
V2beta1Autoscaling.MetricSpec.Builder |
clear() |
V2beta1Autoscaling.MetricSpec.Builder |
clearExternal()
external refers to a global metric that is not associated
with any Kubernetes object.
|
V2beta1Autoscaling.MetricSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V2beta1Autoscaling.MetricSpec.Builder |
clearObject()
object refers to a metric describing a single kubernetes object
(for example, hits-per-second on an Ingress object).
|
V2beta1Autoscaling.MetricSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V2beta1Autoscaling.MetricSpec.Builder |
clearPods()
pods refers to a metric describing each pod in the current scale target
(for example, transactions-processed-per-second).
|
V2beta1Autoscaling.MetricSpec.Builder |
clearResource()
resource refers to a resource metric (such as those specified in
requests and limits) known to Kubernetes describing each pod in the
current scale target (e.g.
|
V2beta1Autoscaling.MetricSpec.Builder |
clearType()
type is the type of metric source.
|
V2beta1Autoscaling.MetricSpec.Builder |
clone() |
V2beta1Autoscaling.MetricSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V2beta1Autoscaling.ExternalMetricSource |
getExternal()
external refers to a global metric that is not associated
with any Kubernetes object.
|
V2beta1Autoscaling.ExternalMetricSource.Builder |
getExternalBuilder()
external refers to a global metric that is not associated
with any Kubernetes object.
|
V2beta1Autoscaling.ExternalMetricSourceOrBuilder |
getExternalOrBuilder()
external refers to a global metric that is not associated
with any Kubernetes object.
|
V2beta1Autoscaling.ObjectMetricSource |
getObject()
object refers to a metric describing a single kubernetes object
(for example, hits-per-second on an Ingress object).
|
V2beta1Autoscaling.ObjectMetricSource.Builder |
getObjectBuilder()
object refers to a metric describing a single kubernetes object
(for example, hits-per-second on an Ingress object).
|
V2beta1Autoscaling.ObjectMetricSourceOrBuilder |
getObjectOrBuilder()
object refers to a metric describing a single kubernetes object
(for example, hits-per-second on an Ingress object).
|
V2beta1Autoscaling.PodsMetricSource |
getPods()
pods refers to a metric describing each pod in the current scale target
(for example, transactions-processed-per-second).
|
V2beta1Autoscaling.PodsMetricSource.Builder |
getPodsBuilder()
pods refers to a metric describing each pod in the current scale target
(for example, transactions-processed-per-second).
|
V2beta1Autoscaling.PodsMetricSourceOrBuilder |
getPodsOrBuilder()
pods refers to a metric describing each pod in the current scale target
(for example, transactions-processed-per-second).
|
V2beta1Autoscaling.ResourceMetricSource |
getResource()
resource refers to a resource metric (such as those specified in
requests and limits) known to Kubernetes describing each pod in the
current scale target (e.g.
|
V2beta1Autoscaling.ResourceMetricSource.Builder |
getResourceBuilder()
resource refers to a resource metric (such as those specified in
requests and limits) known to Kubernetes describing each pod in the
current scale target (e.g.
|
V2beta1Autoscaling.ResourceMetricSourceOrBuilder |
getResourceOrBuilder()
resource refers to a resource metric (such as those specified in
requests and limits) known to Kubernetes describing each pod in the
current scale target (e.g.
|
String |
getType()
type is the type of metric source.
|
com.google.protobuf.ByteString |
getTypeBytes()
type is the type of metric source.
|
boolean |
hasExternal()
external refers to a global metric that is not associated
with any Kubernetes object.
|
boolean |
hasObject()
object refers to a metric describing a single kubernetes object
(for example, hits-per-second on an Ingress object).
|
boolean |
hasPods()
pods refers to a metric describing each pod in the current scale target
(for example, transactions-processed-per-second).
|
boolean |
hasResource()
resource refers to a resource metric (such as those specified in
requests and limits) known to Kubernetes describing each pod in the
current scale target (e.g.
|
boolean |
hasType()
type is the type of metric source.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V2beta1Autoscaling.MetricSpec.Builder |
mergeExternal(V2beta1Autoscaling.ExternalMetricSource value)
external refers to a global metric that is not associated
with any Kubernetes object.
|
V2beta1Autoscaling.MetricSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V2beta1Autoscaling.MetricSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V2beta1Autoscaling.MetricSpec.Builder |
mergeFrom(V2beta1Autoscaling.MetricSpec other) |
V2beta1Autoscaling.MetricSpec.Builder |
mergeObject(V2beta1Autoscaling.ObjectMetricSource value)
object refers to a metric describing a single kubernetes object
(for example, hits-per-second on an Ingress object).
|
V2beta1Autoscaling.MetricSpec.Builder |
mergePods(V2beta1Autoscaling.PodsMetricSource value)
pods refers to a metric describing each pod in the current scale target
(for example, transactions-processed-per-second).
|
V2beta1Autoscaling.MetricSpec.Builder |
mergeResource(V2beta1Autoscaling.ResourceMetricSource value)
resource refers to a resource metric (such as those specified in
requests and limits) known to Kubernetes describing each pod in the
current scale target (e.g.
|
V2beta1Autoscaling.MetricSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta1Autoscaling.MetricSpec.Builder |
setExternal(V2beta1Autoscaling.ExternalMetricSource.Builder builderForValue)
external refers to a global metric that is not associated
with any Kubernetes object.
|
V2beta1Autoscaling.MetricSpec.Builder |
setExternal(V2beta1Autoscaling.ExternalMetricSource value)
external refers to a global metric that is not associated
with any Kubernetes object.
|
V2beta1Autoscaling.MetricSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta1Autoscaling.MetricSpec.Builder |
setObject(V2beta1Autoscaling.ObjectMetricSource.Builder builderForValue)
object refers to a metric describing a single kubernetes object
(for example, hits-per-second on an Ingress object).
|
V2beta1Autoscaling.MetricSpec.Builder |
setObject(V2beta1Autoscaling.ObjectMetricSource value)
object refers to a metric describing a single kubernetes object
(for example, hits-per-second on an Ingress object).
|
V2beta1Autoscaling.MetricSpec.Builder |
setPods(V2beta1Autoscaling.PodsMetricSource.Builder builderForValue)
pods refers to a metric describing each pod in the current scale target
(for example, transactions-processed-per-second).
|
V2beta1Autoscaling.MetricSpec.Builder |
setPods(V2beta1Autoscaling.PodsMetricSource value)
pods refers to a metric describing each pod in the current scale target
(for example, transactions-processed-per-second).
|
V2beta1Autoscaling.MetricSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V2beta1Autoscaling.MetricSpec.Builder |
setResource(V2beta1Autoscaling.ResourceMetricSource.Builder builderForValue)
resource refers to a resource metric (such as those specified in
requests and limits) known to Kubernetes describing each pod in the
current scale target (e.g.
|
V2beta1Autoscaling.MetricSpec.Builder |
setResource(V2beta1Autoscaling.ResourceMetricSource value)
resource refers to a resource metric (such as those specified in
requests and limits) known to Kubernetes describing each pod in the
current scale target (e.g.
|
V2beta1Autoscaling.MetricSpec.Builder |
setType(String value)
type is the type of metric source.
|
V2beta1Autoscaling.MetricSpec.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
type is the type of metric source.
|
V2beta1Autoscaling.MetricSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<V2beta1Autoscaling.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec.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.MetricSpec.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.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V2beta1Autoscaling.MetricSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.MetricSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V2beta1Autoscaling.MetricSpec.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.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec.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.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec.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.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec.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.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta1Autoscaling.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec.Builder mergeFrom(V2beta1Autoscaling.MetricSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.MetricSpec.Builder>public V2beta1Autoscaling.MetricSpec.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.MetricSpec.Builder>IOExceptionpublic boolean hasType()
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
optional string type = 1;hasType in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic String getType()
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
optional string type = 1;getType in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
optional string type = 1;getTypeBytes in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic V2beta1Autoscaling.MetricSpec.Builder setType(String value)
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
optional string type = 1;public V2beta1Autoscaling.MetricSpec.Builder clearType()
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
optional string type = 1;public V2beta1Autoscaling.MetricSpec.Builder setTypeBytes(com.google.protobuf.ByteString value)
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
optional string type = 1;public boolean hasObject()
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). +optional
optional .k8s.io.api.autoscaling.v2beta1.ObjectMetricSource object = 2;hasObject in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic V2beta1Autoscaling.ObjectMetricSource getObject()
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). +optional
optional .k8s.io.api.autoscaling.v2beta1.ObjectMetricSource object = 2;getObject in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic V2beta1Autoscaling.MetricSpec.Builder setObject(V2beta1Autoscaling.ObjectMetricSource value)
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). +optional
optional .k8s.io.api.autoscaling.v2beta1.ObjectMetricSource object = 2;public V2beta1Autoscaling.MetricSpec.Builder setObject(V2beta1Autoscaling.ObjectMetricSource.Builder builderForValue)
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). +optional
optional .k8s.io.api.autoscaling.v2beta1.ObjectMetricSource object = 2;public V2beta1Autoscaling.MetricSpec.Builder mergeObject(V2beta1Autoscaling.ObjectMetricSource value)
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). +optional
optional .k8s.io.api.autoscaling.v2beta1.ObjectMetricSource object = 2;public V2beta1Autoscaling.MetricSpec.Builder clearObject()
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). +optional
optional .k8s.io.api.autoscaling.v2beta1.ObjectMetricSource object = 2;public V2beta1Autoscaling.ObjectMetricSource.Builder getObjectBuilder()
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). +optional
optional .k8s.io.api.autoscaling.v2beta1.ObjectMetricSource object = 2;public V2beta1Autoscaling.ObjectMetricSourceOrBuilder getObjectOrBuilder()
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). +optional
optional .k8s.io.api.autoscaling.v2beta1.ObjectMetricSource object = 2;getObjectOrBuilder in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic boolean hasPods()
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. +optional
optional .k8s.io.api.autoscaling.v2beta1.PodsMetricSource pods = 3;hasPods in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic V2beta1Autoscaling.PodsMetricSource getPods()
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. +optional
optional .k8s.io.api.autoscaling.v2beta1.PodsMetricSource pods = 3;getPods in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic V2beta1Autoscaling.MetricSpec.Builder setPods(V2beta1Autoscaling.PodsMetricSource value)
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. +optional
optional .k8s.io.api.autoscaling.v2beta1.PodsMetricSource pods = 3;public V2beta1Autoscaling.MetricSpec.Builder setPods(V2beta1Autoscaling.PodsMetricSource.Builder builderForValue)
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. +optional
optional .k8s.io.api.autoscaling.v2beta1.PodsMetricSource pods = 3;public V2beta1Autoscaling.MetricSpec.Builder mergePods(V2beta1Autoscaling.PodsMetricSource value)
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. +optional
optional .k8s.io.api.autoscaling.v2beta1.PodsMetricSource pods = 3;public V2beta1Autoscaling.MetricSpec.Builder clearPods()
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. +optional
optional .k8s.io.api.autoscaling.v2beta1.PodsMetricSource pods = 3;public V2beta1Autoscaling.PodsMetricSource.Builder getPodsBuilder()
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. +optional
optional .k8s.io.api.autoscaling.v2beta1.PodsMetricSource pods = 3;public V2beta1Autoscaling.PodsMetricSourceOrBuilder getPodsOrBuilder()
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. +optional
optional .k8s.io.api.autoscaling.v2beta1.PodsMetricSource pods = 3;getPodsOrBuilder in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic boolean hasResource()
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. +optional
optional .k8s.io.api.autoscaling.v2beta1.ResourceMetricSource resource = 4;
hasResource in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic V2beta1Autoscaling.ResourceMetricSource getResource()
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. +optional
optional .k8s.io.api.autoscaling.v2beta1.ResourceMetricSource resource = 4;
getResource in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic V2beta1Autoscaling.MetricSpec.Builder setResource(V2beta1Autoscaling.ResourceMetricSource value)
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. +optional
optional .k8s.io.api.autoscaling.v2beta1.ResourceMetricSource resource = 4;
public V2beta1Autoscaling.MetricSpec.Builder setResource(V2beta1Autoscaling.ResourceMetricSource.Builder builderForValue)
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. +optional
optional .k8s.io.api.autoscaling.v2beta1.ResourceMetricSource resource = 4;
public V2beta1Autoscaling.MetricSpec.Builder mergeResource(V2beta1Autoscaling.ResourceMetricSource value)
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. +optional
optional .k8s.io.api.autoscaling.v2beta1.ResourceMetricSource resource = 4;
public V2beta1Autoscaling.MetricSpec.Builder clearResource()
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. +optional
optional .k8s.io.api.autoscaling.v2beta1.ResourceMetricSource resource = 4;
public V2beta1Autoscaling.ResourceMetricSource.Builder getResourceBuilder()
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. +optional
optional .k8s.io.api.autoscaling.v2beta1.ResourceMetricSource resource = 4;
public V2beta1Autoscaling.ResourceMetricSourceOrBuilder getResourceOrBuilder()
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. +optional
optional .k8s.io.api.autoscaling.v2beta1.ResourceMetricSource resource = 4;
getResourceOrBuilder in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic boolean hasExternal()
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). +optional
optional .k8s.io.api.autoscaling.v2beta1.ExternalMetricSource external = 5;
hasExternal in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic V2beta1Autoscaling.ExternalMetricSource getExternal()
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). +optional
optional .k8s.io.api.autoscaling.v2beta1.ExternalMetricSource external = 5;
getExternal in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic V2beta1Autoscaling.MetricSpec.Builder setExternal(V2beta1Autoscaling.ExternalMetricSource value)
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). +optional
optional .k8s.io.api.autoscaling.v2beta1.ExternalMetricSource external = 5;
public V2beta1Autoscaling.MetricSpec.Builder setExternal(V2beta1Autoscaling.ExternalMetricSource.Builder builderForValue)
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). +optional
optional .k8s.io.api.autoscaling.v2beta1.ExternalMetricSource external = 5;
public V2beta1Autoscaling.MetricSpec.Builder mergeExternal(V2beta1Autoscaling.ExternalMetricSource value)
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). +optional
optional .k8s.io.api.autoscaling.v2beta1.ExternalMetricSource external = 5;
public V2beta1Autoscaling.MetricSpec.Builder clearExternal()
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). +optional
optional .k8s.io.api.autoscaling.v2beta1.ExternalMetricSource external = 5;
public V2beta1Autoscaling.ExternalMetricSource.Builder getExternalBuilder()
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). +optional
optional .k8s.io.api.autoscaling.v2beta1.ExternalMetricSource external = 5;
public V2beta1Autoscaling.ExternalMetricSourceOrBuilder getExternalOrBuilder()
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). +optional
optional .k8s.io.api.autoscaling.v2beta1.ExternalMetricSource external = 5;
getExternalOrBuilder in interface V2beta1Autoscaling.MetricSpecOrBuilderpublic final V2beta1Autoscaling.MetricSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.MetricSpec.Builder>public final V2beta1Autoscaling.MetricSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.MetricSpec.Builder>Copyright © 2021. All rights reserved.