Package io.kubernetes.client.proto
Interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1beta1Apiextensions.CustomResourceSubresourceScale,V1beta1Apiextensions.CustomResourceSubresourceScale.Builder
- Enclosing class:
- V1beta1Apiextensions
public static interface V1beta1Apiextensions.CustomResourceSubresourceScaleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlabelSelectorPath 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`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSpecReplicasPath
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; -
getSpecReplicasPath
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; -
getSpecReplicasPathBytes
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; -
hasStatusReplicasPath
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; -
getStatusReplicasPath
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; -
getStatusReplicasPathBytes
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; -
hasLabelSelectorPath
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; -
getLabelSelectorPath
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; -
getLabelSelectorPathBytes
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;
-