Class EnterpriseConfig.Builder (2.51.0)

public static final class EnterpriseConfig.Builder extends GeneratedMessageV3.Builder<EnterpriseConfig.Builder> implements EnterpriseConfigOrBuilder

EnterpriseConfig is the cluster enterprise configuration.

Protobuf type google.container.v1beta1.EnterpriseConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EnterpriseConfig build()
Returns
Type Description
EnterpriseConfig

buildPartial()

public EnterpriseConfig buildPartial()
Returns
Type Description
EnterpriseConfig

clear()

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

clearClusterTier()

public EnterpriseConfig.Builder clearClusterTier()

Output only. cluster_tier specifies the premium tier of the cluster.

.google.container.v1beta1.EnterpriseConfig.ClusterTier cluster_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EnterpriseConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getClusterTier()

public EnterpriseConfig.ClusterTier getClusterTier()

Output only. cluster_tier specifies the premium tier of the cluster.

.google.container.v1beta1.EnterpriseConfig.ClusterTier cluster_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EnterpriseConfig.ClusterTier

The clusterTier.

getClusterTierValue()

public int getClusterTierValue()

Output only. cluster_tier specifies the premium tier of the cluster.

.google.container.v1beta1.EnterpriseConfig.ClusterTier cluster_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for clusterTier.

getDefaultInstanceForType()

public EnterpriseConfig getDefaultInstanceForType()
Returns
Type Description
EnterpriseConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EnterpriseConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClusterTier(EnterpriseConfig.ClusterTier value)

public EnterpriseConfig.Builder setClusterTier(EnterpriseConfig.ClusterTier value)

Output only. cluster_tier specifies the premium tier of the cluster.

.google.container.v1beta1.EnterpriseConfig.ClusterTier cluster_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value EnterpriseConfig.ClusterTier

The clusterTier to set.

Returns
Type Description
EnterpriseConfig.Builder

This builder for chaining.

setClusterTierValue(int value)

public EnterpriseConfig.Builder setClusterTierValue(int value)

Output only. cluster_tier specifies the premium tier of the cluster.

.google.container.v1beta1.EnterpriseConfig.ClusterTier cluster_tier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
EnterpriseConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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