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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Autopilot.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Autopilot buildPartial()
clear()
public Autopilot.Builder clear()
Overrides
clearEnabled()
public Autopilot.Builder clearEnabled()
Enable Autopilot
bool enabled = 1;
clearField(Descriptors.FieldDescriptor field)
public Autopilot.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Autopilot.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWorkloadPolicyConfig()
public Autopilot.Builder clearWorkloadPolicyConfig()
Workload policy configuration for Autopilot.
.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;
clone()
public Autopilot.Builder clone()
Overrides
getDefaultInstanceForType()
public Autopilot getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getWorkloadPolicyConfigBuilder()
public WorkloadPolicyConfig.Builder getWorkloadPolicyConfigBuilder()
Workload policy configuration for Autopilot.
.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;
getWorkloadPolicyConfigOrBuilder()
public WorkloadPolicyConfigOrBuilder getWorkloadPolicyConfigOrBuilder()
Workload policy configuration for Autopilot.
.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Autopilot other)
public Autopilot.Builder mergeFrom(Autopilot other)
public Autopilot.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Autopilot.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Autopilot.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeWorkloadPolicyConfig(WorkloadPolicyConfig value)
public Autopilot.Builder mergeWorkloadPolicyConfig(WorkloadPolicyConfig value)
Workload policy configuration for Autopilot.
.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;
setEnabled(boolean value)
public Autopilot.Builder setEnabled(boolean value)
Enable Autopilot
bool enabled = 1;
Parameter |
---|
Name | Description |
value | boolean
The enabled to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Autopilot.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Autopilot.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Autopilot.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWorkloadPolicyConfig(WorkloadPolicyConfig value)
public Autopilot.Builder setWorkloadPolicyConfig(WorkloadPolicyConfig value)
Workload policy configuration for Autopilot.
.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;
setWorkloadPolicyConfig(WorkloadPolicyConfig.Builder builderForValue)
public Autopilot.Builder setWorkloadPolicyConfig(WorkloadPolicyConfig.Builder builderForValue)
Workload policy configuration for Autopilot.
.google.container.v1.WorkloadPolicyConfig workload_policy_config = 2;