Class ConfigData.Builder (0.52.0)

public static final class ConfigData.Builder extends GeneratedMessageV3.Builder<ConfigData.Builder> implements ConfigDataOrBuilder

Config data holds all the config related data for the zone.

Protobuf type google.cloud.edgecontainer.v1.ConfigData

Implements

ConfigDataOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllAvailableExternalLbPoolsIpv4(Iterable<String> values)

public ConfigData.Builder addAllAvailableExternalLbPoolsIpv4(Iterable<String> values)

list of available v4 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv4 = 1;

Parameter
Name Description
values Iterable<String>

The availableExternalLbPoolsIpv4 to add.

Returns
Type Description
ConfigData.Builder

This builder for chaining.

addAllAvailableExternalLbPoolsIpv6(Iterable<String> values)

public ConfigData.Builder addAllAvailableExternalLbPoolsIpv6(Iterable<String> values)

list of available v6 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv6 = 2;

Parameter
Name Description
values Iterable<String>

The availableExternalLbPoolsIpv6 to add.

Returns
Type Description
ConfigData.Builder

This builder for chaining.

addAvailableExternalLbPoolsIpv4(String value)

public ConfigData.Builder addAvailableExternalLbPoolsIpv4(String value)

list of available v4 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv4 = 1;

Parameter
Name Description
value String

The availableExternalLbPoolsIpv4 to add.

Returns
Type Description
ConfigData.Builder

This builder for chaining.

addAvailableExternalLbPoolsIpv4Bytes(ByteString value)

public ConfigData.Builder addAvailableExternalLbPoolsIpv4Bytes(ByteString value)

list of available v4 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv4 = 1;

Parameter
Name Description
value ByteString

The bytes of the availableExternalLbPoolsIpv4 to add.

Returns
Type Description
ConfigData.Builder

This builder for chaining.

addAvailableExternalLbPoolsIpv6(String value)

public ConfigData.Builder addAvailableExternalLbPoolsIpv6(String value)

list of available v6 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv6 = 2;

Parameter
Name Description
value String

The availableExternalLbPoolsIpv6 to add.

Returns
Type Description
ConfigData.Builder

This builder for chaining.

addAvailableExternalLbPoolsIpv6Bytes(ByteString value)

public ConfigData.Builder addAvailableExternalLbPoolsIpv6Bytes(ByteString value)

list of available v6 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv6 = 2;

Parameter
Name Description
value ByteString

The bytes of the availableExternalLbPoolsIpv6 to add.

Returns
Type Description
ConfigData.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConfigData build()
Returns
Type Description
ConfigData

buildPartial()

public ConfigData buildPartial()
Returns
Type Description
ConfigData

clear()

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

clearAvailableExternalLbPoolsIpv4()

public ConfigData.Builder clearAvailableExternalLbPoolsIpv4()

list of available v4 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv4 = 1;

Returns
Type Description
ConfigData.Builder

This builder for chaining.

clearAvailableExternalLbPoolsIpv6()

public ConfigData.Builder clearAvailableExternalLbPoolsIpv6()

list of available v6 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv6 = 2;

Returns
Type Description
ConfigData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAvailableExternalLbPoolsIpv4(int index)

public String getAvailableExternalLbPoolsIpv4(int index)

list of available v4 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv4 = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The availableExternalLbPoolsIpv4 at the given index.

getAvailableExternalLbPoolsIpv4Bytes(int index)

public ByteString getAvailableExternalLbPoolsIpv4Bytes(int index)

list of available v4 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv4 = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the availableExternalLbPoolsIpv4 at the given index.

getAvailableExternalLbPoolsIpv4Count()

public int getAvailableExternalLbPoolsIpv4Count()

list of available v4 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv4 = 1;

Returns
Type Description
int

The count of availableExternalLbPoolsIpv4.

getAvailableExternalLbPoolsIpv4List()

public ProtocolStringList getAvailableExternalLbPoolsIpv4List()

list of available v4 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv4 = 1;

Returns
Type Description
ProtocolStringList

A list containing the availableExternalLbPoolsIpv4.

getAvailableExternalLbPoolsIpv6(int index)

public String getAvailableExternalLbPoolsIpv6(int index)

list of available v6 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv6 = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The availableExternalLbPoolsIpv6 at the given index.

getAvailableExternalLbPoolsIpv6Bytes(int index)

public ByteString getAvailableExternalLbPoolsIpv6Bytes(int index)

list of available v6 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv6 = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the availableExternalLbPoolsIpv6 at the given index.

getAvailableExternalLbPoolsIpv6Count()

public int getAvailableExternalLbPoolsIpv6Count()

list of available v6 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv6 = 2;

Returns
Type Description
int

The count of availableExternalLbPoolsIpv6.

getAvailableExternalLbPoolsIpv6List()

public ProtocolStringList getAvailableExternalLbPoolsIpv6List()

list of available v6 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv6 = 2;

Returns
Type Description
ProtocolStringList

A list containing the availableExternalLbPoolsIpv6.

getDefaultInstanceForType()

public ConfigData getDefaultInstanceForType()
Returns
Type Description
ConfigData

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAvailableExternalLbPoolsIpv4(int index, String value)

public ConfigData.Builder setAvailableExternalLbPoolsIpv4(int index, String value)

list of available v4 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv4 = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The availableExternalLbPoolsIpv4 to set.

Returns
Type Description
ConfigData.Builder

This builder for chaining.

setAvailableExternalLbPoolsIpv6(int index, String value)

public ConfigData.Builder setAvailableExternalLbPoolsIpv6(int index, String value)

list of available v6 ip pools for external loadbalancer

repeated string available_external_lb_pools_ipv6 = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The availableExternalLbPoolsIpv6 to set.

Returns
Type Description
ConfigData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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