Class V1beta1Apiextensions.CustomResourceSubresourceScale.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • getDefaultInstanceForType

      public V1beta1Apiextensions.CustomResourceSubresourceScale getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • setField

      public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • clearField

      public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • clearOneof

      public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • addRepeatedField

      public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • mergeFrom

      public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasSpecReplicasPath in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
    • getSpecReplicasPath

      public 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;
      Specified by:
      getSpecReplicasPath in interface V1beta1Apiextensions.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:
      getSpecReplicasPathBytes in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
    • setSpecReplicasPath

       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:
      hasStatusReplicasPath in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
    • getStatusReplicasPath

      public 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;
      Specified by:
      getStatusReplicasPath in interface V1beta1Apiextensions.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:
      getStatusReplicasPathBytes in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
    • setStatusReplicasPath

       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:
      hasLabelSelectorPath in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
    • getLabelSelectorPath

      public 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;
      Specified by:
      getLabelSelectorPath in interface V1beta1Apiextensions.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:
      getLabelSelectorPathBytes in interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
    • setLabelSelectorPath

       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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
    • mergeUnknownFields

      public final V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>