Interface InterconnectAttachmentL2ForwardingOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InterconnectAttachmentL2Forwarding, InterconnectAttachmentL2Forwarding.Builder

@Generated public interface InterconnectAttachmentL2ForwardingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getApplianceMappingsCount

      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;
    • containsApplianceMappings

      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;
    • getApplianceMappings

      Deprecated.
    • 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;
    • getApplianceMappingsOrDefault

       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;
    • getApplianceMappingsOrThrow

       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;
    • hasDefaultApplianceIpAddress

      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:
      Whether the defaultApplianceIpAddress field is set.
    • getDefaultApplianceIpAddress

      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:
      The defaultApplianceIpAddress.
    • getDefaultApplianceIpAddressBytes

      com.google.protobuf.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:
      The bytes for defaultApplianceIpAddress.
    • hasGeneveHeader

      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:
      Whether the geneveHeader field is set.
    • 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:
      The geneveHeader.
    • 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;
    • hasNetwork

      boolean hasNetwork()
       Required. Resource URL of the network to which this attachment belongs.
       
      optional string network = 232872494;
      Returns:
      Whether the network field is set.
    • getNetwork

      String getNetwork()
       Required. Resource URL of the network to which this attachment belongs.
       
      optional string network = 232872494;
      Returns:
      The network.
    • getNetworkBytes

      com.google.protobuf.ByteString getNetworkBytes()
       Required. Resource URL of the network to which this attachment belongs.
       
      optional string network = 232872494;
      Returns:
      The bytes for network.
    • hasTunnelEndpointIpAddress

      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:
      Whether the tunnelEndpointIpAddress field is set.
    • getTunnelEndpointIpAddress

      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:
      The tunnelEndpointIpAddress.
    • getTunnelEndpointIpAddressBytes

      com.google.protobuf.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:
      The bytes for tunnelEndpointIpAddress.