Class InterconnectAttachmentL2Forwarding.Builder (1.91.0)

public static final class InterconnectAttachmentL2Forwarding.Builder extends GeneratedMessageV3.Builder<InterconnectAttachmentL2Forwarding.Builder> implements InterconnectAttachmentL2ForwardingOrBuilder

L2 Interconnect Attachment related configuration.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentL2Forwarding

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectAttachmentL2Forwarding build()
Returns
Type Description
InterconnectAttachmentL2Forwarding

buildPartial()

public InterconnectAttachmentL2Forwarding buildPartial()
Returns
Type Description
InterconnectAttachmentL2Forwarding

clear()

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

clearApplianceMappings()

public InterconnectAttachmentL2Forwarding.Builder clearApplianceMappings()
Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

clearDefaultApplianceIpAddress()

public InterconnectAttachmentL2Forwarding.Builder clearDefaultApplianceIpAddress()

Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found.

Unset field (null-value) indicates the unmatched packet should be dropped.

optional string default_appliance_ip_address = 536490476;

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGeneveHeader()

public InterconnectAttachmentL2Forwarding.Builder clearGeneveHeader()

Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.

optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

clearNetwork()

public InterconnectAttachmentL2Forwarding.Builder clearNetwork()

Required. Resource URL of the network to which this attachment belongs.

optional string network = 232872494;

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTunnelEndpointIpAddress()

public InterconnectAttachmentL2Forwarding.Builder clearTunnelEndpointIpAddress()

Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.

optional string tunnel_endpoint_ip_address = 468740975;

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

This builder for chaining.

clone()

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

containsApplianceMappings(String key)

public boolean containsApplianceMappings(String key)

Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;

Parameter
Name Description
key String
Returns
Type Description
boolean

getApplianceMappings() (deprecated)

public Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> getApplianceMappings()
Returns
Type Description
Map<String,InterconnectAttachmentL2ForwardingApplianceMapping>

getApplianceMappingsCount()

public int getApplianceMappingsCount()

Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;

Returns
Type Description
int

getApplianceMappingsMap()

public Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> getApplianceMappingsMap()

Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;

Returns
Type Description
Map<String,InterconnectAttachmentL2ForwardingApplianceMapping>

getApplianceMappingsOrDefault(String key, InterconnectAttachmentL2ForwardingApplianceMapping defaultValue)

public InterconnectAttachmentL2ForwardingApplianceMapping getApplianceMappingsOrDefault(String key, InterconnectAttachmentL2ForwardingApplianceMapping defaultValue)

Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;

Parameters
Name Description
key String
defaultValue InterconnectAttachmentL2ForwardingApplianceMapping
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMapping

getApplianceMappingsOrThrow(String key)

public InterconnectAttachmentL2ForwardingApplianceMapping getApplianceMappingsOrThrow(String key)

Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;

Parameter
Name Description
key String
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMapping

getDefaultApplianceIpAddress()

public String getDefaultApplianceIpAddress()

Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found.

Unset field (null-value) indicates the unmatched packet should be dropped.

optional string default_appliance_ip_address = 536490476;

Returns
Type Description
String

The defaultApplianceIpAddress.

getDefaultApplianceIpAddressBytes()

public ByteString getDefaultApplianceIpAddressBytes()

Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found.

Unset field (null-value) indicates the unmatched packet should be dropped.

optional string default_appliance_ip_address = 536490476;

Returns
Type Description
ByteString

The bytes for defaultApplianceIpAddress.

getDefaultInstanceForType()

public InterconnectAttachmentL2Forwarding getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentL2Forwarding

getDescriptorForType()

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

getGeneveHeader()

public InterconnectAttachmentL2ForwardingGeneveHeader getGeneveHeader()

Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.

optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;

Returns
Type Description
InterconnectAttachmentL2ForwardingGeneveHeader

The geneveHeader.

getGeneveHeaderBuilder()

public InterconnectAttachmentL2ForwardingGeneveHeader.Builder getGeneveHeaderBuilder()

Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.

optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;

Returns
Type Description
InterconnectAttachmentL2ForwardingGeneveHeader.Builder

getGeneveHeaderOrBuilder()

public InterconnectAttachmentL2ForwardingGeneveHeaderOrBuilder getGeneveHeaderOrBuilder()

Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.

optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;

Returns
Type Description
InterconnectAttachmentL2ForwardingGeneveHeaderOrBuilder

getMutableApplianceMappings() (deprecated)

public Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> getMutableApplianceMappings()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,InterconnectAttachmentL2ForwardingApplianceMapping>

getNetwork()

public String getNetwork()

Required. Resource URL of the network to which this attachment belongs.

optional string network = 232872494;

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Required. Resource URL of the network to which this attachment belongs.

optional string network = 232872494;

Returns
Type Description
ByteString

The bytes for network.

getTunnelEndpointIpAddress()

public String getTunnelEndpointIpAddress()

Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.

optional string tunnel_endpoint_ip_address = 468740975;

Returns
Type Description
String

The tunnelEndpointIpAddress.

getTunnelEndpointIpAddressBytes()

public ByteString getTunnelEndpointIpAddressBytes()

Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.

optional string tunnel_endpoint_ip_address = 468740975;

Returns
Type Description
ByteString

The bytes for tunnelEndpointIpAddress.

hasDefaultApplianceIpAddress()

public boolean hasDefaultApplianceIpAddress()

Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found.

Unset field (null-value) indicates the unmatched packet should be dropped.

optional string default_appliance_ip_address = 536490476;

Returns
Type Description
boolean

Whether the defaultApplianceIpAddress field is set.

hasGeneveHeader()

public boolean hasGeneveHeader()

Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.

optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;

Returns
Type Description
boolean

Whether the geneveHeader field is set.

hasNetwork()

public boolean hasNetwork()

Required. Resource URL of the network to which this attachment belongs.

optional string network = 232872494;

Returns
Type Description
boolean

Whether the network field is set.

hasTunnelEndpointIpAddress()

public boolean hasTunnelEndpointIpAddress()

Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.

optional string tunnel_endpoint_ip_address = 468740975;

Returns
Type Description
boolean

Whether the tunnelEndpointIpAddress field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectAttachmentL2Forwarding other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader value)

public InterconnectAttachmentL2Forwarding.Builder mergeGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader value)

Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.

optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;

Parameter
Name Description
value InterconnectAttachmentL2ForwardingGeneveHeader
Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllApplianceMappings(Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> values)

public InterconnectAttachmentL2Forwarding.Builder putAllApplianceMappings(Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> values)

Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;

Parameter
Name Description
values Map<String,InterconnectAttachmentL2ForwardingApplianceMapping>
Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

putApplianceMappings(String key, InterconnectAttachmentL2ForwardingApplianceMapping value)

public InterconnectAttachmentL2Forwarding.Builder putApplianceMappings(String key, InterconnectAttachmentL2ForwardingApplianceMapping value)

Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;

Parameters
Name Description
key String
value InterconnectAttachmentL2ForwardingApplianceMapping
Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

putApplianceMappingsBuilderIfAbsent(String key)

public InterconnectAttachmentL2ForwardingApplianceMapping.Builder putApplianceMappingsBuilderIfAbsent(String key)

Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;

Parameter
Name Description
key String
Returns
Type Description
InterconnectAttachmentL2ForwardingApplianceMapping.Builder

removeApplianceMappings(String key)

public InterconnectAttachmentL2Forwarding.Builder removeApplianceMappings(String key)

Optional. A map of VLAN tags to appliances and optional inner mapping rules. If VLANs are not explicitly mapped to any appliance, the defaultApplianceIpAddress is used.

Each VLAN tag can be a single number or a range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-empty and non-overlapping VLAN tag ranges are enforced, and violating operations will be rejected.

The VLAN tags in the Ethernet header must use an ethertype value of 0x88A8 or 0x8100.

map<string, .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping> appliance_mappings = 374529975;

Parameter
Name Description
key String
Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

setDefaultApplianceIpAddress(String value)

public InterconnectAttachmentL2Forwarding.Builder setDefaultApplianceIpAddress(String value)

Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found.

Unset field (null-value) indicates the unmatched packet should be dropped.

optional string default_appliance_ip_address = 536490476;

Parameter
Name Description
value String

The defaultApplianceIpAddress to set.

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

This builder for chaining.

setDefaultApplianceIpAddressBytes(ByteString value)

public InterconnectAttachmentL2Forwarding.Builder setDefaultApplianceIpAddressBytes(ByteString value)

Optional. A single IPv4 or IPv6 address used as the default destination IP when there is no VLAN mapping result found.

Unset field (null-value) indicates the unmatched packet should be dropped.

optional string default_appliance_ip_address = 536490476;

Parameter
Name Description
value ByteString

The bytes for defaultApplianceIpAddress to set.

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader value)

public InterconnectAttachmentL2Forwarding.Builder setGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader value)

Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.

optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;

Parameter
Name Description
value InterconnectAttachmentL2ForwardingGeneveHeader
Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

setGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader.Builder builderForValue)

public InterconnectAttachmentL2Forwarding.Builder setGeneveHeader(InterconnectAttachmentL2ForwardingGeneveHeader.Builder builderForValue)

Optional. It represents the structure of a Geneve (Generic Network Virtualization Encapsulation) header, as defined in RFC8926. It encapsulates packets from various protocols (e.g., Ethernet, IPv4, IPv6) for use in network virtualization environments.

optional .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingGeneveHeader geneve_header = 118688424;

Parameter
Name Description
builderForValue InterconnectAttachmentL2ForwardingGeneveHeader.Builder
Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

setNetwork(String value)

public InterconnectAttachmentL2Forwarding.Builder setNetwork(String value)

Required. Resource URL of the network to which this attachment belongs.

optional string network = 232872494;

Parameter
Name Description
value String

The network to set.

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public InterconnectAttachmentL2Forwarding.Builder setNetworkBytes(ByteString value)

Required. Resource URL of the network to which this attachment belongs.

optional string network = 232872494;

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

This builder for chaining.

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

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

setTunnelEndpointIpAddress(String value)

public InterconnectAttachmentL2Forwarding.Builder setTunnelEndpointIpAddress(String value)

Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.

optional string tunnel_endpoint_ip_address = 468740975;

Parameter
Name Description
value String

The tunnelEndpointIpAddress to set.

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

This builder for chaining.

setTunnelEndpointIpAddressBytes(ByteString value)

public InterconnectAttachmentL2Forwarding.Builder setTunnelEndpointIpAddressBytes(ByteString value)

Required. A single IPv4 or IPv6 address. This address will be used as the source IP address for packets sent to the appliances, and must be used as the destination IP address for packets that should be sent out through this attachment.

optional string tunnel_endpoint_ip_address = 468740975;

Parameter
Name Description
value ByteString

The bytes for tunnelEndpointIpAddress to set.

Returns
Type Description
InterconnectAttachmentL2Forwarding.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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