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.Descriptor
com.google.protobuf.Descriptors.Descriptor
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.com.google.protobuf.ByteString
labelSelectorPath 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.ByteString
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`.com.google.protobuf.ByteString
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.boolean
labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`.boolean
specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`.boolean
statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
clearField
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
clearOneof
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
mergeFrom
public V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasSpecReplicasPath
in 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:
getSpecReplicasPath
in 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:
getSpecReplicasPathBytes
in 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:
hasStatusReplicasPath
in 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:
getStatusReplicasPath
in 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:
getStatusReplicasPathBytes
in 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:
hasLabelSelectorPath
in 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:
getLabelSelectorPath
in 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:
getLabelSelectorPathBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-
mergeUnknownFields
public final V1beta1Apiextensions.CustomResourceSubresourceScale.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Apiextensions.CustomResourceSubresourceScale.Builder>
-