Package io.kubernetes.client.proto
Class V1beta1Apiextensions.CustomResourceSubresourceScale.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
io.kubernetes.client.proto.V1beta1Apiextensions.CustomResourceSubresourceScale.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder,Cloneable
- Enclosing class:
- V1beta1Apiextensions.CustomResourceSubresourceScale
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlabelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.com.google.protobuf.ByteStringlabelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.com.google.protobuf.ByteStringspecReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.com.google.protobuf.ByteStringstatusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.booleanlabelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.booleanspecReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.booleanstatusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setLabelSelectorPath(String value) labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.setLabelSelectorPathBytes(com.google.protobuf.ByteString value) labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSpecReplicasPath(String value) specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.setSpecReplicasPathBytes(com.google.protobuf.ByteString value) specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.setStatusReplicasPath(String value) statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.setStatusReplicasPathBytes(com.google.protobuf.ByteString value) statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
setField
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
clearField
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
clearOneof
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
setRepeatedField
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
addRepeatedField
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
mergeFrom
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
mergeFrom
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>- Throws:
IOException
-
hasSpecReplicasPath
public 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;- Specified by:
hasSpecReplicasPathin interfaceV1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
-
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;- Specified by:
getSpecReplicasPathin interfaceV1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
-
getSpecReplicasPathBytes
public 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;- Specified by:
getSpecReplicasPathBytesin interfaceV1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
-
setSpecReplicasPath
public 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; -
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; -
setSpecReplicasPathBytes
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; -
hasStatusReplicasPath
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;- Specified by:
hasStatusReplicasPathin interfaceV1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
-
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;- Specified by:
getStatusReplicasPathin interfaceV1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
-
getStatusReplicasPathBytes
public 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;- Specified by:
getStatusReplicasPathBytesin interfaceV1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
-
setStatusReplicasPath
public 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; -
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; -
setStatusReplicasPathBytes
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; -
hasLabelSelectorPath
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;- Specified by:
hasLabelSelectorPathin interfaceV1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
-
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;- Specified by:
getLabelSelectorPathin interfaceV1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
-
getLabelSelectorPathBytes
public 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;- Specified by:
getLabelSelectorPathBytesin interfaceV1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
-
setLabelSelectorPath
public 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; -
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; -
setLabelSelectorPathBytes
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; -
setUnknownFields
public final V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
mergeUnknownFields
public final V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-