Class PrivateClusterMasterGlobalAccessConfig.Builder (2.47.0)

public static final class PrivateClusterMasterGlobalAccessConfig.Builder extends GeneratedMessageV3.Builder<PrivateClusterMasterGlobalAccessConfig.Builder> implements PrivateClusterMasterGlobalAccessConfigOrBuilder

Configuration for controlling master global access settings.

Protobuf type google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivateClusterMasterGlobalAccessConfig build()
Returns
Type Description
PrivateClusterMasterGlobalAccessConfig

buildPartial()

public PrivateClusterMasterGlobalAccessConfig buildPartial()
Returns
Type Description
PrivateClusterMasterGlobalAccessConfig

clear()

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

clearEnabled()

public PrivateClusterMasterGlobalAccessConfig.Builder clearEnabled()

Whenever master is accessible globally or not.

bool enabled = 1;

Returns
Type Description
PrivateClusterMasterGlobalAccessConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType()
Returns
Type Description
PrivateClusterMasterGlobalAccessConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whenever master is accessible globally or not.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PrivateClusterMasterGlobalAccessConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public PrivateClusterMasterGlobalAccessConfig.Builder setEnabled(boolean value)

Whenever master is accessible globally or not.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
PrivateClusterMasterGlobalAccessConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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