Class Autopilot (2.50.0)

public final class Autopilot extends GeneratedMessageV3 implements AutopilotOrBuilder

Autopilot is the configuration for Autopilot settings on the cluster.

Protobuf type google.container.v1beta1.Autopilot

Implements

AutopilotOrBuilder

Static Fields

CONVERSION_STATUS_FIELD_NUMBER

public static final int CONVERSION_STATUS_FIELD_NUMBER
Field Value
Type Description
int

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

WORKLOAD_POLICY_CONFIG_FIELD_NUMBER

public static final int WORKLOAD_POLICY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Autopilot getDefaultInstance()
Returns
Type Description
Autopilot

getDescriptor()

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

newBuilder()

public static Autopilot.Builder newBuilder()
Returns
Type Description
Autopilot.Builder

newBuilder(Autopilot prototype)

public static Autopilot.Builder newBuilder(Autopilot prototype)
Parameter
Name Description
prototype Autopilot
Returns
Type Description
Autopilot.Builder

parseDelimitedFrom(InputStream input)

public static Autopilot parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Autopilot
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Autopilot parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Autopilot
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Autopilot parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Autopilot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Autopilot parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Autopilot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Autopilot parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Autopilot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Autopilot parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Autopilot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Autopilot parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Autopilot
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Autopilot parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Autopilot
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Autopilot parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Autopilot
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Autopilot parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Autopilot
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Autopilot parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Autopilot
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Autopilot parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Autopilot
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Autopilot> parser()
Returns
Type Description
Parser<Autopilot>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

getEnabled()

public boolean getEnabled()

Enable Autopilot

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getParserForType()

public Parser<Autopilot> getParserForType()
Returns
Type Description
Parser<Autopilot>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWorkloadPolicyConfig()

public WorkloadPolicyConfig getWorkloadPolicyConfig()

Workload policy configuration for Autopilot.

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

Returns
Type Description
WorkloadPolicyConfig

The workloadPolicyConfig.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Autopilot.Builder newBuilderForType()
Returns
Type Description
Autopilot.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Autopilot.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Autopilot.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Autopilot.Builder toBuilder()
Returns
Type Description
Autopilot.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException