public static final class V1beta2Apps.ScaleStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder> implements V1beta2Apps.ScaleStatusOrBuilder
ScaleStatus represents the current status of a scale subresource.Protobuf type
k8s.io.api.apps.v1beta2.ScaleStatus| Modifier and Type | Method and Description |
|---|---|
V1beta2Apps.ScaleStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta2Apps.ScaleStatus |
build() |
V1beta2Apps.ScaleStatus |
buildPartial() |
V1beta2Apps.ScaleStatus.Builder |
clear() |
V1beta2Apps.ScaleStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta2Apps.ScaleStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta2Apps.ScaleStatus.Builder |
clearReplicas()
actual number of observed instances of the scaled object.
|
V1beta2Apps.ScaleStatus.Builder |
clearSelector() |
V1beta2Apps.ScaleStatus.Builder |
clearTargetSelector()
label selector for pods that should match the replicas count.
|
V1beta2Apps.ScaleStatus.Builder |
clone() |
boolean |
containsSelector(String key)
label query over pods that should match the replicas count.
|
V1beta2Apps.ScaleStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getMutableSelector()
Deprecated.
|
int |
getReplicas()
actual number of observed instances of the scaled object.
|
Map<String,String> |
getSelector()
Deprecated.
|
int |
getSelectorCount()
label query over pods that should match the replicas count.
|
Map<String,String> |
getSelectorMap()
label query over pods that should match the replicas count.
|
String |
getSelectorOrDefault(String key,
String defaultValue)
label query over pods that should match the replicas count.
|
String |
getSelectorOrThrow(String key)
label query over pods that should match the replicas count.
|
String |
getTargetSelector()
label selector for pods that should match the replicas count.
|
com.google.protobuf.ByteString |
getTargetSelectorBytes()
label selector for pods that should match the replicas count.
|
boolean |
hasReplicas()
actual number of observed instances of the scaled object.
|
boolean |
hasTargetSelector()
label selector for pods that should match the replicas count.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1beta2Apps.ScaleStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta2Apps.ScaleStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta2Apps.ScaleStatus.Builder |
mergeFrom(V1beta2Apps.ScaleStatus other) |
V1beta2Apps.ScaleStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta2Apps.ScaleStatus.Builder |
putAllSelector(Map<String,String> values)
label query over pods that should match the replicas count.
|
V1beta2Apps.ScaleStatus.Builder |
putSelector(String key,
String value)
label query over pods that should match the replicas count.
|
V1beta2Apps.ScaleStatus.Builder |
removeSelector(String key)
label query over pods that should match the replicas count.
|
V1beta2Apps.ScaleStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta2Apps.ScaleStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta2Apps.ScaleStatus.Builder |
setReplicas(int value)
actual number of observed instances of the scaled object.
|
V1beta2Apps.ScaleStatus.Builder |
setTargetSelector(String value)
label selector for pods that should match the replicas count.
|
V1beta2Apps.ScaleStatus.Builder |
setTargetSelectorBytes(com.google.protobuf.ByteString value)
label selector for pods that should match the replicas count.
|
V1beta2Apps.ScaleStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.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<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta2Apps.ScaleStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta2Apps.ScaleStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta2Apps.ScaleStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus.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<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus.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<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus.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<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus.Builder mergeFrom(V1beta2Apps.ScaleStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder>public V1beta2Apps.ScaleStatus.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<V1beta2Apps.ScaleStatus.Builder>IOExceptionpublic boolean hasReplicas()
actual number of observed instances of the scaled object.
optional int32 replicas = 1;hasReplicas in interface V1beta2Apps.ScaleStatusOrBuilderpublic int getReplicas()
actual number of observed instances of the scaled object.
optional int32 replicas = 1;getReplicas in interface V1beta2Apps.ScaleStatusOrBuilderpublic V1beta2Apps.ScaleStatus.Builder setReplicas(int value)
actual number of observed instances of the scaled object.
optional int32 replicas = 1;public V1beta2Apps.ScaleStatus.Builder clearReplicas()
actual number of observed instances of the scaled object.
optional int32 replicas = 1;public int getSelectorCount()
V1beta2Apps.ScaleStatusOrBuilderlabel query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;getSelectorCount in interface V1beta2Apps.ScaleStatusOrBuilderpublic boolean containsSelector(String key)
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;containsSelector in interface V1beta2Apps.ScaleStatusOrBuilder@Deprecated public Map<String,String> getSelector()
getSelectorMap() instead.getSelector in interface V1beta2Apps.ScaleStatusOrBuilderpublic Map<String,String> getSelectorMap()
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;getSelectorMap in interface V1beta2Apps.ScaleStatusOrBuilderpublic String getSelectorOrDefault(String key, String defaultValue)
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;getSelectorOrDefault in interface V1beta2Apps.ScaleStatusOrBuilderpublic String getSelectorOrThrow(String key)
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;getSelectorOrThrow in interface V1beta2Apps.ScaleStatusOrBuilderpublic V1beta2Apps.ScaleStatus.Builder clearSelector()
public V1beta2Apps.ScaleStatus.Builder removeSelector(String key)
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;@Deprecated public Map<String,String> getMutableSelector()
public V1beta2Apps.ScaleStatus.Builder putSelector(String key, String value)
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;public V1beta2Apps.ScaleStatus.Builder putAllSelector(Map<String,String> values)
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
map<string, string> selector = 2;public boolean hasTargetSelector()
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
optional string targetSelector = 3;hasTargetSelector in interface V1beta2Apps.ScaleStatusOrBuilderpublic String getTargetSelector()
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
optional string targetSelector = 3;getTargetSelector in interface V1beta2Apps.ScaleStatusOrBuilderpublic com.google.protobuf.ByteString getTargetSelectorBytes()
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
optional string targetSelector = 3;getTargetSelectorBytes in interface V1beta2Apps.ScaleStatusOrBuilderpublic V1beta2Apps.ScaleStatus.Builder setTargetSelector(String value)
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
optional string targetSelector = 3;public V1beta2Apps.ScaleStatus.Builder clearTargetSelector()
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
optional string targetSelector = 3;public V1beta2Apps.ScaleStatus.Builder setTargetSelectorBytes(com.google.protobuf.ByteString value)
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors +optional
optional string targetSelector = 3;public final V1beta2Apps.ScaleStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder>public final V1beta2Apps.ScaleStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.ScaleStatus.Builder>Copyright © 2021. All rights reserved.