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

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.

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

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