Package io.kubernetes.client.proto
Class V2beta1Autoscaling.HorizontalPodAutoscaler.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
io.kubernetes.client.proto.V2beta1Autoscaling.HorizontalPodAutoscaler.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder,Cloneable
- Enclosing class:
- V2beta1Autoscaling.HorizontalPodAutoscaler
public static final class V2beta1Autoscaling.HorizontalPodAutoscaler.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
implements V2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.Protobuf type
k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscaler-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) metadata is the standard object metadata.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) spec is the specification for the behaviour of the autoscaler.status is the current information about the autoscaler.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptormetadata is the standard object metadata.metadata is the standard object metadata.metadata is the standard object metadata.getSpec()spec is the specification for the behaviour of the autoscaler.spec is the specification for the behaviour of the autoscaler.spec is the specification for the behaviour of the autoscaler.status is the current information about the autoscaler.status is the current information about the autoscaler.status is the current information about the autoscaler.booleanmetadata is the standard object metadata.booleanhasSpec()spec is the specification for the behaviour of the autoscaler.booleanstatus is the current information about the autoscaler.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMetadata(Meta.ObjectMeta value) metadata is the standard object metadata.spec is the specification for the behaviour of the autoscaler.status is the current information about the autoscaler.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setMetadata(Meta.ObjectMeta value) metadata is the standard object metadata.setMetadata(Meta.ObjectMeta.Builder builderForValue) metadata is the standard object metadata.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) spec is the specification for the behaviour of the autoscaler.setSpec(V2beta1Autoscaling.HorizontalPodAutoscalerSpec.Builder builderForValue) spec is the specification for the behaviour of the autoscaler.status is the current information about the autoscaler.setStatus(V2beta1Autoscaling.HorizontalPodAutoscalerStatus.Builder builderForValue) status is the current information about the autoscaler.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<V2beta1Autoscaling.HorizontalPodAutoscaler.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<V2beta1Autoscaling.HorizontalPodAutoscaler.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<V2beta1Autoscaling.HorizontalPodAutoscaler.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<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-
setField
public V2beta1Autoscaling.HorizontalPodAutoscaler.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<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-
clearField
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-
clearOneof
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-
setRepeatedField
public V2beta1Autoscaling.HorizontalPodAutoscaler.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<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-
addRepeatedField
public V2beta1Autoscaling.HorizontalPodAutoscaler.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<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-
mergeFrom
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-
mergeFrom
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder mergeFrom(V2beta1Autoscaling.HorizontalPodAutoscaler other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-
mergeFrom
public V2beta1Autoscaling.HorizontalPodAutoscaler.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<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>- Throws:
IOException
-
hasMetadata
public boolean hasMetadata()metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Specified by:
hasMetadatain interfaceV2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
-
getMetadata
metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Specified by:
getMetadatain interfaceV2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
-
setMetadata
metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
setMetadata
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue) metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
mergeMetadata
metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
clearMetadata
metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
getMetadataBuilder
metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; -
getMetadataOrBuilder
metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Specified by:
getMetadataOrBuilderin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
-
hasSpec
public boolean hasSpec()spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec spec = 2;- Specified by:
hasSpecin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
-
getSpec
spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec spec = 2;- Specified by:
getSpecin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
-
setSpec
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder setSpec(V2beta1Autoscaling.HorizontalPodAutoscalerSpec value) spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec spec = 2; -
setSpec
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder setSpec(V2beta1Autoscaling.HorizontalPodAutoscalerSpec.Builder builderForValue) spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec spec = 2; -
mergeSpec
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder mergeSpec(V2beta1Autoscaling.HorizontalPodAutoscalerSpec value) spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec spec = 2; -
clearSpec
spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec spec = 2; -
getSpecBuilder
spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec spec = 2; -
getSpecOrBuilder
spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerSpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
-
hasStatus
public boolean hasStatus()status is the current information about the autoscaler. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus status = 3;- Specified by:
hasStatusin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
-
getStatus
status is the current information about the autoscaler. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus status = 3;- Specified by:
getStatusin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
-
setStatus
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder setStatus(V2beta1Autoscaling.HorizontalPodAutoscalerStatus value) status is the current information about the autoscaler. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus status = 3; -
setStatus
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder setStatus(V2beta1Autoscaling.HorizontalPodAutoscalerStatus.Builder builderForValue) status is the current information about the autoscaler. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus status = 3; -
mergeStatus
public V2beta1Autoscaling.HorizontalPodAutoscaler.Builder mergeStatus(V2beta1Autoscaling.HorizontalPodAutoscalerStatus value) status is the current information about the autoscaler. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus status = 3; -
clearStatus
status is the current information about the autoscaler. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus status = 3; -
getStatusBuilder
status is the current information about the autoscaler. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus status = 3; -
getStatusOrBuilder
status is the current information about the autoscaler. +optional
optional .k8s.io.api.autoscaling.v2beta1.HorizontalPodAutoscalerStatus status = 3;- Specified by:
getStatusOrBuilderin interfaceV2beta1Autoscaling.HorizontalPodAutoscalerOrBuilder
-
setUnknownFields
public final V2beta1Autoscaling.HorizontalPodAutoscaler.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-
mergeUnknownFields
public final V2beta1Autoscaling.HorizontalPodAutoscaler.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V2beta1Autoscaling.HorizontalPodAutoscaler.Builder>
-