public static final class VerticalPodAutoscaling.Builder extends GeneratedMessageV3.Builder<VerticalPodAutoscaling.Builder> implements VerticalPodAutoscalingOrBuilder
VerticalPodAutoscaling contains global, per-cluster information
required by Vertical Pod Autoscaler to automatically adjust
the resources of pods controlled by it.
Protobuf type google.container.v1beta1.VerticalPodAutoscaling
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VerticalPodAutoscaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VerticalPodAutoscaling build()
Returns
buildPartial()
public VerticalPodAutoscaling buildPartial()
Returns
clear()
public VerticalPodAutoscaling.Builder clear()
Returns
Overrides
clearEnabled()
public VerticalPodAutoscaling.Builder clearEnabled()
Enables vertical pod autoscaling.
bool enabled = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public VerticalPodAutoscaling.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VerticalPodAutoscaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public VerticalPodAutoscaling.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VerticalPodAutoscaling getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnabled()
public boolean getEnabled()
Enables vertical pod autoscaling.
bool enabled = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VerticalPodAutoscaling other)
public VerticalPodAutoscaling.Builder mergeFrom(VerticalPodAutoscaling other)
Parameter
Returns
public VerticalPodAutoscaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VerticalPodAutoscaling.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VerticalPodAutoscaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEnabled(boolean value)
public VerticalPodAutoscaling.Builder setEnabled(boolean value)
Enables vertical pod autoscaling.
bool enabled = 1;
Parameter
Name | Description |
value | boolean
The enabled to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VerticalPodAutoscaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VerticalPodAutoscaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VerticalPodAutoscaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides