Class MasterAuthorizedNetworksConfig.Builder (0.3.0)

public static final class MasterAuthorizedNetworksConfig.Builder extends GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder> implements MasterAuthorizedNetworksConfigOrBuilder

Configuration of the Master Authorized Network that support multiple CIDRs

Protobuf type google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig

Static Methods

getDescriptor()

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

Methods

addAllCidrBlocks(Iterable<? extends MasterAuthorizedNetworksConfig.CidrBlock> values)

public MasterAuthorizedNetworksConfig.Builder addAllCidrBlocks(Iterable<? extends MasterAuthorizedNetworksConfig.CidrBlock> values)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock>
Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock value)

public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock value)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueMasterAuthorizedNetworksConfig.CidrBlock
Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)

public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueMasterAuthorizedNetworksConfig.CidrBlock.Builder
Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)

public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueMasterAuthorizedNetworksConfig.CidrBlock
Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)

public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueMasterAuthorizedNetworksConfig.CidrBlock.Builder
Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

addCidrBlocksBuilder()

public MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder()

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock.Builder

addCidrBlocksBuilder(int index)

public MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder(int index)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MasterAuthorizedNetworksConfig build()
Returns
TypeDescription
MasterAuthorizedNetworksConfig

buildPartial()

public MasterAuthorizedNetworksConfig buildPartial()
Returns
TypeDescription
MasterAuthorizedNetworksConfig

clear()

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

clearCidrBlocks()

public MasterAuthorizedNetworksConfig.Builder clearCidrBlocks()

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCidrBlocks(int index)

public MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock

getCidrBlocksBuilder(int index)

public MasterAuthorizedNetworksConfig.CidrBlock.Builder getCidrBlocksBuilder(int index)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock.Builder

getCidrBlocksBuilderList()

public List<MasterAuthorizedNetworksConfig.CidrBlock.Builder> getCidrBlocksBuilderList()

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Builder>

getCidrBlocksCount()

public int getCidrBlocksCount()

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getCidrBlocksList()

public List<MasterAuthorizedNetworksConfig.CidrBlock> getCidrBlocksList()

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<CidrBlock>

getCidrBlocksOrBuilder(int index)

public MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder(int index)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlockOrBuilder

getCidrBlocksOrBuilderList()

public List<? extends MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksOrBuilderList()

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>

getDefaultInstanceForType()

public MasterAuthorizedNetworksConfig getDefaultInstanceForType()
Returns
TypeDescription
MasterAuthorizedNetworksConfig

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(MasterAuthorizedNetworksConfig other)

public MasterAuthorizedNetworksConfig.Builder mergeFrom(MasterAuthorizedNetworksConfig other)
Parameter
NameDescription
otherMasterAuthorizedNetworksConfig
Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCidrBlocks(int index)

public MasterAuthorizedNetworksConfig.Builder removeCidrBlocks(int index)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)

public MasterAuthorizedNetworksConfig.Builder setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
valueMasterAuthorizedNetworksConfig.CidrBlock
Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)

public MasterAuthorizedNetworksConfig.Builder setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)

Optional. cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.cloud.telcoautomation.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint
builderForValueMasterAuthorizedNetworksConfig.CidrBlock.Builder
Returns
TypeDescription
MasterAuthorizedNetworksConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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