Class DesiredEnterpriseConfig.Builder (2.58.0)

public static final class DesiredEnterpriseConfig.Builder extends GeneratedMessageV3.Builder<DesiredEnterpriseConfig.Builder> implements DesiredEnterpriseConfigOrBuilder

DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.

Protobuf type google.container.v1.DesiredEnterpriseConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DesiredEnterpriseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides

build()

public DesiredEnterpriseConfig build()
Returns
Type Description
DesiredEnterpriseConfig

buildPartial()

public DesiredEnterpriseConfig buildPartial()
Returns
Type Description
DesiredEnterpriseConfig

clear()

public DesiredEnterpriseConfig.Builder clear()
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides

clearDesiredTier()

public DesiredEnterpriseConfig.Builder clearDesiredTier()

desired_tier specifies the desired tier of the cluster.

.google.container.v1.EnterpriseConfig.ClusterTier desired_tier = 1;

Returns
Type Description
DesiredEnterpriseConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DesiredEnterpriseConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DesiredEnterpriseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public DesiredEnterpriseConfig getDefaultInstanceForType()
Returns
Type Description
DesiredEnterpriseConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDesiredTier()

public EnterpriseConfig.ClusterTier getDesiredTier()

desired_tier specifies the desired tier of the cluster.

.google.container.v1.EnterpriseConfig.ClusterTier desired_tier = 1;

Returns
Type Description
EnterpriseConfig.ClusterTier

The desiredTier.

getDesiredTierValue()

public int getDesiredTierValue()

desired_tier specifies the desired tier of the cluster.

.google.container.v1.EnterpriseConfig.ClusterTier desired_tier = 1;

Returns
Type Description
int

The enum numeric value on the wire for desiredTier.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DesiredEnterpriseConfig other)

public DesiredEnterpriseConfig.Builder mergeFrom(DesiredEnterpriseConfig other)
Parameter
Name Description
other DesiredEnterpriseConfig
Returns
Type Description
DesiredEnterpriseConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DesiredEnterpriseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DesiredEnterpriseConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DesiredEnterpriseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides

setDesiredTier(EnterpriseConfig.ClusterTier value)

public DesiredEnterpriseConfig.Builder setDesiredTier(EnterpriseConfig.ClusterTier value)

desired_tier specifies the desired tier of the cluster.

.google.container.v1.EnterpriseConfig.ClusterTier desired_tier = 1;

Parameter
Name Description
value EnterpriseConfig.ClusterTier

The desiredTier to set.

Returns
Type Description
DesiredEnterpriseConfig.Builder

This builder for chaining.

setDesiredTierValue(int value)

public DesiredEnterpriseConfig.Builder setDesiredTierValue(int value)

desired_tier specifies the desired tier of the cluster.

.google.container.v1.EnterpriseConfig.ClusterTier desired_tier = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for desiredTier to set.

Returns
Type Description
DesiredEnterpriseConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DesiredEnterpriseConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides

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

public DesiredEnterpriseConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DesiredEnterpriseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DesiredEnterpriseConfig.Builder
Overrides