Class PrivateClusterMasterGlobalAccessConfig.Builder (2.16.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.v1.PrivateClusterMasterGlobalAccessConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivateClusterMasterGlobalAccessConfig build()
Returns
TypeDescription
PrivateClusterMasterGlobalAccessConfig

buildPartial()

public PrivateClusterMasterGlobalAccessConfig buildPartial()
Returns
TypeDescription
PrivateClusterMasterGlobalAccessConfig

clear()

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

clearEnabled()

public PrivateClusterMasterGlobalAccessConfig.Builder clearEnabled()

Whenever master is accessible globally or not.

bool enabled = 1;

Returns
TypeDescription
PrivateClusterMasterGlobalAccessConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType()
Returns
TypeDescription
PrivateClusterMasterGlobalAccessConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whenever master is accessible globally or not.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PrivateClusterMasterGlobalAccessConfig other)

public PrivateClusterMasterGlobalAccessConfig.Builder mergeFrom(PrivateClusterMasterGlobalAccessConfig other)
Parameter
NameDescription
otherPrivateClusterMasterGlobalAccessConfig
Returns
TypeDescription
PrivateClusterMasterGlobalAccessConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public PrivateClusterMasterGlobalAccessConfig.Builder setEnabled(boolean value)

Whenever master is accessible globally or not.

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
PrivateClusterMasterGlobalAccessConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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