Class Autopilot.Builder (2.43.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Autopilot.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Autopilot.Builder
Overrides

build()

public Autopilot build()
Returns
TypeDescription
Autopilot

buildPartial()

public Autopilot buildPartial()
Returns
TypeDescription
Autopilot

clear()

public Autopilot.Builder clear()
Returns
TypeDescription
Autopilot.Builder
Overrides

clearEnabled()

public Autopilot.Builder clearEnabled()

Enable Autopilot

bool enabled = 1;

Returns
TypeDescription
Autopilot.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Autopilot.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Autopilot.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Autopilot.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Autopilot.Builder
Overrides

clearWorkloadPolicyConfig()

public Autopilot.Builder clearWorkloadPolicyConfig()

Workload policy configuration for Autopilot.

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

Returns
TypeDescription
Autopilot.Builder

clone()

public Autopilot.Builder clone()
Returns
TypeDescription
Autopilot.Builder
Overrides

getDefaultInstanceForType()

public Autopilot getDefaultInstanceForType()
Returns
TypeDescription
Autopilot

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Enable Autopilot

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getWorkloadPolicyConfig()

public WorkloadPolicyConfig getWorkloadPolicyConfig()

Workload policy configuration for Autopilot.

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

Returns
TypeDescription
WorkloadPolicyConfig

The workloadPolicyConfig.

getWorkloadPolicyConfigBuilder()

public WorkloadPolicyConfig.Builder getWorkloadPolicyConfigBuilder()

Workload policy configuration for Autopilot.

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

Returns
TypeDescription
WorkloadPolicyConfig.Builder

getWorkloadPolicyConfigOrBuilder()

public WorkloadPolicyConfigOrBuilder getWorkloadPolicyConfigOrBuilder()

Workload policy configuration for Autopilot.

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

Returns
TypeDescription
WorkloadPolicyConfigOrBuilder

hasWorkloadPolicyConfig()

public boolean hasWorkloadPolicyConfig()

Workload policy configuration for Autopilot.

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

Returns
TypeDescription
boolean

Whether the workloadPolicyConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Autopilot other)

public Autopilot.Builder mergeFrom(Autopilot other)
Parameter
NameDescription
otherAutopilot
Returns
TypeDescription
Autopilot.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Autopilot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Autopilot.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Autopilot.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Autopilot.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Autopilot.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWorkloadPolicyConfig
Returns
TypeDescription
Autopilot.Builder

setEnabled(boolean value)

public Autopilot.Builder setEnabled(boolean value)

Enable Autopilot

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
Autopilot.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Autopilot.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Autopilot.Builder
Overrides

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

public Autopilot.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Autopilot.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Autopilot.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWorkloadPolicyConfig
Returns
TypeDescription
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
NameDescription
builderForValueWorkloadPolicyConfig.Builder
Returns
TypeDescription
Autopilot.Builder