Class Autopilot.Builder (2.49.0)

public static final class Autopilot.Builder extends GeneratedMessageV3.Builder<Autopilot.Builder> implements AutopilotOrBuilder

Autopilot is the configuration for Autopilot settings on the cluster.

Protobuf type google.container.v1.Autopilot

Implements

AutopilotOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Autopilot.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Autopilot.Builder
Overrides

build()

public Autopilot build()
Returns
Type Description
Autopilot

buildPartial()

public Autopilot buildPartial()
Returns
Type Description
Autopilot

clear()

public Autopilot.Builder clear()
Returns
Type Description
Autopilot.Builder
Overrides

clearEnabled()

public Autopilot.Builder clearEnabled()

Enable Autopilot

bool enabled = 1;

Returns
Type Description
Autopilot.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Autopilot.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Autopilot.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Autopilot.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Autopilot.Builder
Overrides

clearWorkloadPolicyConfig()

public Autopilot.Builder clearWorkloadPolicyConfig()

Workload policy configuration for Autopilot.

.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;

Returns
Type Description
Autopilot.Builder

clone()

public Autopilot.Builder clone()
Returns
Type Description
Autopilot.Builder
Overrides

getDefaultInstanceForType()

public Autopilot getDefaultInstanceForType()
Returns
Type Description
Autopilot

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Enable Autopilot

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getWorkloadPolicyConfig()

public WorkloadPolicyConfig getWorkloadPolicyConfig()

Workload policy configuration for Autopilot.

.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;

Returns
Type Description
WorkloadPolicyConfig

The workloadPolicyConfig.

getWorkloadPolicyConfigBuilder()

public WorkloadPolicyConfig.Builder getWorkloadPolicyConfigBuilder()

Workload policy configuration for Autopilot.

.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;

Returns
Type Description
WorkloadPolicyConfig.Builder

getWorkloadPolicyConfigOrBuilder()

public WorkloadPolicyConfigOrBuilder getWorkloadPolicyConfigOrBuilder()

Workload policy configuration for Autopilot.

.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;

Returns
Type Description
WorkloadPolicyConfigOrBuilder

hasWorkloadPolicyConfig()

public boolean hasWorkloadPolicyConfig()

Workload policy configuration for Autopilot.

.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;

Returns
Type Description
boolean

Whether the workloadPolicyConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Autopilot other)

public Autopilot.Builder mergeFrom(Autopilot other)
Parameter
Name Description
other Autopilot
Returns
Type Description
Autopilot.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Autopilot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Autopilot.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Autopilot.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Autopilot.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Autopilot.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Autopilot.Builder
Overrides

mergeWorkloadPolicyConfig(WorkloadPolicyConfig value)

public Autopilot.Builder mergeWorkloadPolicyConfig(WorkloadPolicyConfig value)

Workload policy configuration for Autopilot.

.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;

Parameter
Name Description
value WorkloadPolicyConfig
Returns
Type Description
Autopilot.Builder

setEnabled(boolean value)

public Autopilot.Builder setEnabled(boolean value)

Enable Autopilot

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
Autopilot.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Autopilot.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Autopilot.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Autopilot.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Autopilot.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Autopilot.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Autopilot.Builder
Overrides

setWorkloadPolicyConfig(WorkloadPolicyConfig value)

public Autopilot.Builder setWorkloadPolicyConfig(WorkloadPolicyConfig value)

Workload policy configuration for Autopilot.

.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;

Parameter
Name Description
value WorkloadPolicyConfig
Returns
Type Description
Autopilot.Builder

setWorkloadPolicyConfig(WorkloadPolicyConfig.Builder builderForValue)

public Autopilot.Builder setWorkloadPolicyConfig(WorkloadPolicyConfig.Builder builderForValue)

Workload policy configuration for Autopilot.

.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;

Parameter
Name Description
builderForValue WorkloadPolicyConfig.Builder
Returns
Type Description
Autopilot.Builder