Class Autopilot.Builder (2.54.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.v1beta1.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

clearConversionStatus()

public Autopilot.Builder clearConversionStatus()

Output only. ConversionStatus shows conversion status.

.google.container.v1beta1.AutopilotConversionStatus conversion_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Autopilot.Builder

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.v1beta1.WorkloadPolicyConfig workload_policy_config = 2;

Returns
Type Description
Autopilot.Builder

clone()

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

getConversionStatus()

public AutopilotConversionStatus getConversionStatus()

Output only. ConversionStatus shows conversion status.

.google.container.v1beta1.AutopilotConversionStatus conversion_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutopilotConversionStatus

The conversionStatus.

getConversionStatusBuilder()

public AutopilotConversionStatus.Builder getConversionStatusBuilder()

Output only. ConversionStatus shows conversion status.

.google.container.v1beta1.AutopilotConversionStatus conversion_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutopilotConversionStatus.Builder

getConversionStatusOrBuilder()

public AutopilotConversionStatusOrBuilder getConversionStatusOrBuilder()

Output only. ConversionStatus shows conversion status.

.google.container.v1beta1.AutopilotConversionStatus conversion_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutopilotConversionStatusOrBuilder

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.v1beta1.WorkloadPolicyConfig workload_policy_config = 2;

Returns
Type Description
WorkloadPolicyConfig

The workloadPolicyConfig.

getWorkloadPolicyConfigBuilder()

public WorkloadPolicyConfig.Builder getWorkloadPolicyConfigBuilder()

Workload policy configuration for Autopilot.

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

Returns
Type Description
WorkloadPolicyConfig.Builder

getWorkloadPolicyConfigOrBuilder()

public WorkloadPolicyConfigOrBuilder getWorkloadPolicyConfigOrBuilder()

Workload policy configuration for Autopilot.

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

Returns
Type Description
WorkloadPolicyConfigOrBuilder

hasConversionStatus()

public boolean hasConversionStatus()

Output only. ConversionStatus shows conversion status.

.google.container.v1beta1.AutopilotConversionStatus conversion_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the conversionStatus field is set.

hasWorkloadPolicyConfig()

public boolean hasWorkloadPolicyConfig()

Workload policy configuration for Autopilot.

.google.container.v1beta1.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

mergeConversionStatus(AutopilotConversionStatus value)

public Autopilot.Builder mergeConversionStatus(AutopilotConversionStatus value)

Output only. ConversionStatus shows conversion status.

.google.container.v1beta1.AutopilotConversionStatus conversion_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AutopilotConversionStatus
Returns
Type Description
Autopilot.Builder

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.v1beta1.WorkloadPolicyConfig workload_policy_config = 2;

Parameter
Name Description
value WorkloadPolicyConfig
Returns
Type Description
Autopilot.Builder

setConversionStatus(AutopilotConversionStatus value)

public Autopilot.Builder setConversionStatus(AutopilotConversionStatus value)

Output only. ConversionStatus shows conversion status.

.google.container.v1beta1.AutopilotConversionStatus conversion_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AutopilotConversionStatus
Returns
Type Description
Autopilot.Builder

setConversionStatus(AutopilotConversionStatus.Builder builderForValue)

public Autopilot.Builder setConversionStatus(AutopilotConversionStatus.Builder builderForValue)

Output only. ConversionStatus shows conversion status.

.google.container.v1beta1.AutopilotConversionStatus conversion_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AutopilotConversionStatus.Builder
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.v1beta1.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.v1beta1.WorkloadPolicyConfig workload_policy_config = 2;

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