public static final class V1beta1Apiextensions.CustomResourceSubresourceScale.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder> implements V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.Protobuf type
k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale| Modifier and Type | Method and Description |
|---|---|
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.CustomResourceSubresourceScale |
build() |
V1beta1Apiextensions.CustomResourceSubresourceScale |
buildPartial() |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
clear() |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
clearLabelSelectorPath()
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.
|
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
clearSpecReplicasPath()
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.
|
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
clearStatusReplicasPath()
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.
|
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
clone() |
V1beta1Apiextensions.CustomResourceSubresourceScale |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLabelSelectorPath()
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.
|
com.google.protobuf.ByteString |
getLabelSelectorPathBytes()
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.
|
String |
getSpecReplicasPath()
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.
|
com.google.protobuf.ByteString |
getSpecReplicasPathBytes()
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.
|
String |
getStatusReplicasPath()
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.
|
com.google.protobuf.ByteString |
getStatusReplicasPathBytes()
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.
|
boolean |
hasLabelSelectorPath()
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.
|
boolean |
hasSpecReplicasPath()
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.
|
boolean |
hasStatusReplicasPath()
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
mergeFrom(V1beta1Apiextensions.CustomResourceSubresourceScale other) |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
setLabelSelectorPath(String value)
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.
|
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
setLabelSelectorPathBytes(com.google.protobuf.ByteString value)
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.
|
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
setSpecReplicasPath(String value)
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.
|
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
setSpecReplicasPathBytes(com.google.protobuf.ByteString value)
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.
|
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
setStatusReplicasPath(String value)
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.
|
V1beta1Apiextensions.CustomResourceSubresourceScale.Builder |
setStatusReplicasPathBytes(com.google.protobuf.ByteString value)
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.
|
V1beta1Apiextensions.CustomResourceSubresourceScale.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<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.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<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Apiextensions.CustomResourceSubresourceScale build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.CustomResourceSubresourceScale buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale.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<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale.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<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale.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<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeFrom(V1beta1Apiextensions.CustomResourceSubresourceScale other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public V1beta1Apiextensions.CustomResourceSubresourceScale.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<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>IOExceptionpublic boolean hasSpecReplicasPath()
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
optional string specReplicasPath = 1;hasSpecReplicasPath in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilderpublic String getSpecReplicasPath()
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
optional string specReplicasPath = 1;getSpecReplicasPath in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilderpublic com.google.protobuf.ByteString getSpecReplicasPathBytes()
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
optional string specReplicasPath = 1;getSpecReplicasPathBytes in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilderpublic V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setSpecReplicasPath(String value)
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
optional string specReplicasPath = 1;public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearSpecReplicasPath()
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
optional string specReplicasPath = 1;public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setSpecReplicasPathBytes(com.google.protobuf.ByteString value)
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.
optional string specReplicasPath = 1;public boolean hasStatusReplicasPath()
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
optional string statusReplicasPath = 2;hasStatusReplicasPath in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilderpublic String getStatusReplicasPath()
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
optional string statusReplicasPath = 2;getStatusReplicasPath in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilderpublic com.google.protobuf.ByteString getStatusReplicasPathBytes()
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
optional string statusReplicasPath = 2;getStatusReplicasPathBytes in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilderpublic V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setStatusReplicasPath(String value)
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
optional string statusReplicasPath = 2;public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearStatusReplicasPath()
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
optional string statusReplicasPath = 2;public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setStatusReplicasPathBytes(com.google.protobuf.ByteString value)
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.
optional string statusReplicasPath = 2;public boolean hasLabelSelectorPath()
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. +optional
optional string labelSelectorPath = 3;hasLabelSelectorPath in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilderpublic String getLabelSelectorPath()
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. +optional
optional string labelSelectorPath = 3;getLabelSelectorPath in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilderpublic com.google.protobuf.ByteString getLabelSelectorPathBytes()
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. +optional
optional string labelSelectorPath = 3;getLabelSelectorPathBytes in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilderpublic V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setLabelSelectorPath(String value)
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. +optional
optional string labelSelectorPath = 3;public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearLabelSelectorPath()
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. +optional
optional string labelSelectorPath = 3;public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setLabelSelectorPathBytes(com.google.protobuf.ByteString value)
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. +optional
optional string labelSelectorPath = 3;public final V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>public final V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>Copyright © 2023. All rights reserved.