Interface InterconnectAttachmentL2ForwardingOrBuilder (1.91.0)

public interface InterconnectAttachmentL2ForwardingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsApplianceMappings(String key)

public abstract 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 abstract Map<String,InterconnectAttachmentL2ForwardingApplianceMapping> getApplianceMappings()
Returns
Type Description
Map<String,InterconnectAttachmentL2ForwardingApplianceMapping>

getApplianceMappingsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getGeneveHeader()

public abstract 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.

getGeneveHeaderOrBuilder()

public abstract 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

getNetwork()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.