public static final class HorizontalPodAutoscaling.Builder extends GeneratedMessageV3.Builder<HorizontalPodAutoscaling.Builder> implements HorizontalPodAutoscalingOrBuilder
Configuration options for the horizontal pod autoscaling feature, which
increases or decreases the number of replica pods a replication controller
has based on the resource usage of the existing pods.
Protobuf type google.container.v1beta1.HorizontalPodAutoscaling
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HorizontalPodAutoscaling.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HorizontalPodAutoscaling build()
buildPartial()
public HorizontalPodAutoscaling buildPartial()
clear()
public HorizontalPodAutoscaling.Builder clear()
Overrides
clearDisabled()
public HorizontalPodAutoscaling.Builder clearDisabled()
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
When enabled, it ensures that metrics are collected into Stackdriver
Monitoring.
bool disabled = 1;
clearField(Descriptors.FieldDescriptor field)
public HorizontalPodAutoscaling.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HorizontalPodAutoscaling.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public HorizontalPodAutoscaling.Builder clone()
Overrides
getDefaultInstanceForType()
public HorizontalPodAutoscaling getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisabled()
public boolean getDisabled()
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
When enabled, it ensures that metrics are collected into Stackdriver
Monitoring.
bool disabled = 1;
Returns |
---|
Type | Description |
boolean | The disabled.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HorizontalPodAutoscaling other)
public HorizontalPodAutoscaling.Builder mergeFrom(HorizontalPodAutoscaling other)
public HorizontalPodAutoscaling.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HorizontalPodAutoscaling.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HorizontalPodAutoscaling.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDisabled(boolean value)
public HorizontalPodAutoscaling.Builder setDisabled(boolean value)
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
When enabled, it ensures that metrics are collected into Stackdriver
Monitoring.
bool disabled = 1;
Parameter |
---|
Name | Description |
value | boolean
The disabled to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public HorizontalPodAutoscaling.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HorizontalPodAutoscaling.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HorizontalPodAutoscaling.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides