public static final class V2beta2Autoscaling.MetricIdentifier.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricIdentifier.Builder> implements V2beta2Autoscaling.MetricIdentifierOrBuilder
MetricIdentifier defines the name and optionally selector for a metricProtobuf type
k8s.io.api.autoscaling.v2beta2.MetricIdentifier| Modifier and Type | Method and Description |
|---|---|
V2beta2Autoscaling.MetricIdentifier.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta2Autoscaling.MetricIdentifier |
build() |
V2beta2Autoscaling.MetricIdentifier |
buildPartial() |
V2beta2Autoscaling.MetricIdentifier.Builder |
clear() |
V2beta2Autoscaling.MetricIdentifier.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V2beta2Autoscaling.MetricIdentifier.Builder |
clearName()
name is the name of the given metric
|
V2beta2Autoscaling.MetricIdentifier.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V2beta2Autoscaling.MetricIdentifier.Builder |
clearSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
V2beta2Autoscaling.MetricIdentifier.Builder |
clone() |
V2beta2Autoscaling.MetricIdentifier |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
name is the name of the given metric
|
com.google.protobuf.ByteString |
getNameBytes()
name is the name of the given metric
|
Meta.LabelSelector |
getSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
Meta.LabelSelector.Builder |
getSelectorBuilder()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
Meta.LabelSelectorOrBuilder |
getSelectorOrBuilder()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
boolean |
hasName()
name is the name of the given metric
|
boolean |
hasSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V2beta2Autoscaling.MetricIdentifier.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V2beta2Autoscaling.MetricIdentifier.Builder |
mergeFrom(com.google.protobuf.Message other) |
V2beta2Autoscaling.MetricIdentifier.Builder |
mergeFrom(V2beta2Autoscaling.MetricIdentifier other) |
V2beta2Autoscaling.MetricIdentifier.Builder |
mergeSelector(Meta.LabelSelector value)
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
V2beta2Autoscaling.MetricIdentifier.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V2beta2Autoscaling.MetricIdentifier.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V2beta2Autoscaling.MetricIdentifier.Builder |
setName(String value)
name is the name of the given metric
|
V2beta2Autoscaling.MetricIdentifier.Builder |
setNameBytes(com.google.protobuf.ByteString value)
name is the name of the given metric
|
V2beta2Autoscaling.MetricIdentifier.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V2beta2Autoscaling.MetricIdentifier.Builder |
setSelector(Meta.LabelSelector.Builder builderForValue)
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
V2beta2Autoscaling.MetricIdentifier.Builder |
setSelector(Meta.LabelSelector value)
selector is the string-encoded form of a standard kubernetes label selector for the given metric
When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
V2beta2Autoscaling.MetricIdentifier.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<V2beta2Autoscaling.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier.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.MetricIdentifier.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.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V2beta2Autoscaling.MetricIdentifier build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V2beta2Autoscaling.MetricIdentifier buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V2beta2Autoscaling.MetricIdentifier.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.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier.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.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier.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.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier.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.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V2beta2Autoscaling.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier.Builder mergeFrom(V2beta2Autoscaling.MetricIdentifier other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricIdentifier.Builder>public V2beta2Autoscaling.MetricIdentifier.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.MetricIdentifier.Builder>IOExceptionpublic boolean hasName()
name is the name of the given metric
optional string name = 1;hasName in interface V2beta2Autoscaling.MetricIdentifierOrBuilderpublic String getName()
name is the name of the given metric
optional string name = 1;getName in interface V2beta2Autoscaling.MetricIdentifierOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
name is the name of the given metric
optional string name = 1;getNameBytes in interface V2beta2Autoscaling.MetricIdentifierOrBuilderpublic V2beta2Autoscaling.MetricIdentifier.Builder setName(String value)
name is the name of the given metric
optional string name = 1;public V2beta2Autoscaling.MetricIdentifier.Builder clearName()
name is the name of the given metric
optional string name = 1;public V2beta2Autoscaling.MetricIdentifier.Builder setNameBytes(com.google.protobuf.ByteString value)
name is the name of the given metric
optional string name = 1;public boolean hasSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
hasSelector in interface V2beta2Autoscaling.MetricIdentifierOrBuilderpublic Meta.LabelSelector getSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
getSelector in interface V2beta2Autoscaling.MetricIdentifierOrBuilderpublic V2beta2Autoscaling.MetricIdentifier.Builder setSelector(Meta.LabelSelector value)
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
public V2beta2Autoscaling.MetricIdentifier.Builder setSelector(Meta.LabelSelector.Builder builderForValue)
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
public V2beta2Autoscaling.MetricIdentifier.Builder mergeSelector(Meta.LabelSelector value)
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
public V2beta2Autoscaling.MetricIdentifier.Builder clearSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
public Meta.LabelSelector.Builder getSelectorBuilder()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
public Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
getSelectorOrBuilder in interface V2beta2Autoscaling.MetricIdentifierOrBuilderpublic final V2beta2Autoscaling.MetricIdentifier.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricIdentifier.Builder>public final V2beta2Autoscaling.MetricIdentifier.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V2beta2Autoscaling.MetricIdentifier.Builder>Copyright © 2020. All rights reserved.