public static final class V1Autoscaling.ScaleStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ScaleStatus.Builder> implements V1Autoscaling.ScaleStatusOrBuilder
ScaleStatus represents the current status of a scale subresource.Protobuf type
k8s.io.api.autoscaling.v1.ScaleStatus| Modifier and Type | Method and Description |
|---|---|
V1Autoscaling.ScaleStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Autoscaling.ScaleStatus |
build() |
V1Autoscaling.ScaleStatus |
buildPartial() |
V1Autoscaling.ScaleStatus.Builder |
clear() |
V1Autoscaling.ScaleStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Autoscaling.ScaleStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Autoscaling.ScaleStatus.Builder |
clearReplicas()
actual number of observed instances of the scaled object.
|
V1Autoscaling.ScaleStatus.Builder |
clearSelector()
label query over pods that should match the replicas count.
|
V1Autoscaling.ScaleStatus.Builder |
clone() |
V1Autoscaling.ScaleStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getReplicas()
actual number of observed instances of the scaled object.
|
String |
getSelector()
label query over pods that should match the replicas count.
|
com.google.protobuf.ByteString |
getSelectorBytes()
label query over pods that should match the replicas count.
|
boolean |
hasReplicas()
actual number of observed instances of the scaled object.
|
boolean |
hasSelector()
label query over pods that should match the replicas count.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Autoscaling.ScaleStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Autoscaling.ScaleStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Autoscaling.ScaleStatus.Builder |
mergeFrom(V1Autoscaling.ScaleStatus other) |
V1Autoscaling.ScaleStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Autoscaling.ScaleStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Autoscaling.ScaleStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Autoscaling.ScaleStatus.Builder |
setReplicas(int value)
actual number of observed instances of the scaled object.
|
V1Autoscaling.ScaleStatus.Builder |
setSelector(String value)
label query over pods that should match the replicas count.
|
V1Autoscaling.ScaleStatus.Builder |
setSelectorBytes(com.google.protobuf.ByteString value)
label query over pods that should match the replicas count.
|
V1Autoscaling.ScaleStatus.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<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.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<V1Autoscaling.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<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.ScaleStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Autoscaling.ScaleStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Autoscaling.ScaleStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Autoscaling.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<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.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<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.ScaleStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.ScaleStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.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<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.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<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.ScaleStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.ScaleStatus.Builder mergeFrom(V1Autoscaling.ScaleStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ScaleStatus.Builder>public V1Autoscaling.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<V1Autoscaling.ScaleStatus.Builder>IOExceptionpublic boolean hasReplicas()
actual number of observed instances of the scaled object.
optional int32 replicas = 1;hasReplicas in interface V1Autoscaling.ScaleStatusOrBuilderpublic int getReplicas()
actual number of observed instances of the scaled object.
optional int32 replicas = 1;getReplicas in interface V1Autoscaling.ScaleStatusOrBuilderpublic V1Autoscaling.ScaleStatus.Builder setReplicas(int value)
actual number of observed instances of the scaled object.
optional int32 replicas = 1;public V1Autoscaling.ScaleStatus.Builder clearReplicas()
actual number of observed instances of the scaled object.
optional int32 replicas = 1;public boolean hasSelector()
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
optional string selector = 2;hasSelector in interface V1Autoscaling.ScaleStatusOrBuilderpublic String getSelector()
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
optional string selector = 2;getSelector in interface V1Autoscaling.ScaleStatusOrBuilderpublic com.google.protobuf.ByteString getSelectorBytes()
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
optional string selector = 2;getSelectorBytes in interface V1Autoscaling.ScaleStatusOrBuilderpublic V1Autoscaling.ScaleStatus.Builder setSelector(String value)
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
optional string selector = 2;public V1Autoscaling.ScaleStatus.Builder clearSelector()
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
optional string selector = 2;public V1Autoscaling.ScaleStatus.Builder setSelectorBytes(com.google.protobuf.ByteString value)
label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors +optional
optional string selector = 2;public final V1Autoscaling.ScaleStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ScaleStatus.Builder>public final V1Autoscaling.ScaleStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Autoscaling.ScaleStatus.Builder>Copyright © 2019. All rights reserved.