Class EnterpriseConfig.Builder (2.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EnterpriseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides

build()

public EnterpriseConfig build()
Returns
TypeDescription
EnterpriseConfig

buildPartial()

public EnterpriseConfig buildPartial()
Returns
TypeDescription
EnterpriseConfig

clear()

public EnterpriseConfig.Builder clear()
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides

clearClusterTier()

public EnterpriseConfig.Builder clearClusterTier()

Output only. [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
TypeDescription
EnterpriseConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EnterpriseConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EnterpriseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides

clone()

public EnterpriseConfig.Builder clone()
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides

getClusterTier()

public EnterpriseConfig.ClusterTier getClusterTier()

Output only. [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
TypeDescription
EnterpriseConfig.ClusterTier

The clusterTier.

getClusterTierValue()

public int getClusterTierValue()

Output only. [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
TypeDescription
int

The enum numeric value on the wire for clusterTier.

getDefaultInstanceForType()

public EnterpriseConfig getDefaultInstanceForType()
Returns
TypeDescription
EnterpriseConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EnterpriseConfig other)

public EnterpriseConfig.Builder mergeFrom(EnterpriseConfig other)
Parameter
NameDescription
otherEnterpriseConfig
Returns
TypeDescription
EnterpriseConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EnterpriseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EnterpriseConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnterpriseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides

setClusterTier(EnterpriseConfig.ClusterTier value)

public EnterpriseConfig.Builder setClusterTier(EnterpriseConfig.ClusterTier value)

Output only. [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
NameDescription
valueEnterpriseConfig.ClusterTier

The clusterTier to set.

Returns
TypeDescription
EnterpriseConfig.Builder

This builder for chaining.

setClusterTierValue(int value)

public EnterpriseConfig.Builder setClusterTierValue(int value)

Output only. [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
NameDescription
valueint

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

Returns
TypeDescription
EnterpriseConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EnterpriseConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides

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

public EnterpriseConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EnterpriseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EnterpriseConfig.Builder
Overrides