Class InterconnectAttachmentL2ForwardingApplianceMapping.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMapping.Builder>
com.google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping.Builder
All Implemented Interfaces:
InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InterconnectAttachmentL2ForwardingApplianceMapping

public static final class InterconnectAttachmentL2ForwardingApplianceMapping.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMapping.Builder> implements InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
 Two-level VLAN-to-Appliance mapping rule.
 
Protobuf type google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMapping
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMapping.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMapping.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMapping.Builder>
    • getDefaultInstanceForType

      public InterconnectAttachmentL2ForwardingApplianceMapping getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InterconnectAttachmentL2ForwardingApplianceMapping.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMapping.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMapping.Builder>
    • mergeFrom

      public InterconnectAttachmentL2ForwardingApplianceMapping.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectAttachmentL2ForwardingApplianceMapping.Builder>
      Throws:
      IOException
    • hasApplianceIpAddress

      public boolean hasApplianceIpAddress()
       Optional. A single IPv4 or IPv6 address used as the destination IP
       address for ingress packets that match on a VLAN tag, but do not match
       a more specific inner VLAN tag.
      
       Unset field (null-value) indicates both VLAN tags are required to be
       mapped. Otherwise, defaultApplianceIpAddress is used.
       
      optional string appliance_ip_address = 57985710;
      Specified by:
      hasApplianceIpAddress in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
      Returns:
      Whether the applianceIpAddress field is set.
    • getApplianceIpAddress

      public String getApplianceIpAddress()
       Optional. A single IPv4 or IPv6 address used as the destination IP
       address for ingress packets that match on a VLAN tag, but do not match
       a more specific inner VLAN tag.
      
       Unset field (null-value) indicates both VLAN tags are required to be
       mapped. Otherwise, defaultApplianceIpAddress is used.
       
      optional string appliance_ip_address = 57985710;
      Specified by:
      getApplianceIpAddress in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
      Returns:
      The applianceIpAddress.
    • getApplianceIpAddressBytes

      public com.google.protobuf.ByteString getApplianceIpAddressBytes()
       Optional. A single IPv4 or IPv6 address used as the destination IP
       address for ingress packets that match on a VLAN tag, but do not match
       a more specific inner VLAN tag.
      
       Unset field (null-value) indicates both VLAN tags are required to be
       mapped. Otherwise, defaultApplianceIpAddress is used.
       
      optional string appliance_ip_address = 57985710;
      Specified by:
      getApplianceIpAddressBytes in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
      Returns:
      The bytes for applianceIpAddress.
    • setApplianceIpAddress

       Optional. A single IPv4 or IPv6 address used as the destination IP
       address for ingress packets that match on a VLAN tag, but do not match
       a more specific inner VLAN tag.
      
       Unset field (null-value) indicates both VLAN tags are required to be
       mapped. Otherwise, defaultApplianceIpAddress is used.
       
      optional string appliance_ip_address = 57985710;
      Parameters:
      value - The applianceIpAddress to set.
      Returns:
      This builder for chaining.
    • clearApplianceIpAddress

       Optional. A single IPv4 or IPv6 address used as the destination IP
       address for ingress packets that match on a VLAN tag, but do not match
       a more specific inner VLAN tag.
      
       Unset field (null-value) indicates both VLAN tags are required to be
       mapped. Otherwise, defaultApplianceIpAddress is used.
       
      optional string appliance_ip_address = 57985710;
      Returns:
      This builder for chaining.
    • setApplianceIpAddressBytes

      public InterconnectAttachmentL2ForwardingApplianceMapping.Builder setApplianceIpAddressBytes(com.google.protobuf.ByteString value)
       Optional. A single IPv4 or IPv6 address used as the destination IP
       address for ingress packets that match on a VLAN tag, but do not match
       a more specific inner VLAN tag.
      
       Unset field (null-value) indicates both VLAN tags are required to be
       mapped. Otherwise, defaultApplianceIpAddress is used.
       
      optional string appliance_ip_address = 57985710;
      Parameters:
      value - The bytes for applianceIpAddress to set.
      Returns:
      This builder for chaining.
    • getInnerVlanToApplianceMappingsList

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
      Specified by:
      getInnerVlanToApplianceMappingsList in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
    • getInnerVlanToApplianceMappingsCount

      public int getInnerVlanToApplianceMappingsCount()
       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
      Specified by:
      getInnerVlanToApplianceMappingsCount in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
    • getInnerVlanToApplianceMappings

      public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping getInnerVlanToApplianceMappings(int index)
       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
      Specified by:
      getInnerVlanToApplianceMappings in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
    • setInnerVlanToApplianceMappings

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • setInnerVlanToApplianceMappings

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • addInnerVlanToApplianceMappings

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • addInnerVlanToApplianceMappings

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • addInnerVlanToApplianceMappings

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • addInnerVlanToApplianceMappings

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • addAllInnerVlanToApplianceMappings

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • clearInnerVlanToApplianceMappings

      public InterconnectAttachmentL2ForwardingApplianceMapping.Builder clearInnerVlanToApplianceMappings()
       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • removeInnerVlanToApplianceMappings

      public InterconnectAttachmentL2ForwardingApplianceMapping.Builder removeInnerVlanToApplianceMappings(int index)
       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • getInnerVlanToApplianceMappingsBuilder

      public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder getInnerVlanToApplianceMappingsBuilder(int index)
       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • getInnerVlanToApplianceMappingsOrBuilder

      public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder getInnerVlanToApplianceMappingsOrBuilder(int index)
       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
      Specified by:
      getInnerVlanToApplianceMappingsOrBuilder in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
    • getInnerVlanToApplianceMappingsOrBuilderList

      public List<? extends InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMappingOrBuilder> getInnerVlanToApplianceMappingsOrBuilderList()
       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
      Specified by:
      getInnerVlanToApplianceMappingsOrBuilderList in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
    • addInnerVlanToApplianceMappingsBuilder

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • addInnerVlanToApplianceMappingsBuilder

      public InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping.Builder addInnerVlanToApplianceMappingsBuilder(int index)
       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • getInnerVlanToApplianceMappingsBuilderList

       Optional. Used to match against the inner VLAN when the packet
       contains two VLAN tags.
      
       A list of mapping rules from inner VLAN tags to IP addresses. If the
       inner VLAN is not explicitly mapped to an IP address range, the
       applianceIpAddress is used.
       
      repeated .google.cloud.compute.v1.InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping inner_vlan_to_appliance_mappings = 97387944;
    • hasName

      public boolean hasName()
       Optional. The name of this appliance mapping rule.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Optional. The name of this appliance mapping rule.
       
      optional string name = 3373707;
      Specified by:
      getName in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Optional. The name of this appliance mapping rule.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface InterconnectAttachmentL2ForwardingApplianceMappingOrBuilder
      Returns:
      The bytes for name.
    • setName

       Optional. The name of this appliance mapping rule.
       
      optional string name = 3373707;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Optional. The name of this appliance mapping rule.
       
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public InterconnectAttachmentL2ForwardingApplianceMapping.Builder setNameBytes(com.google.protobuf.ByteString value)
       Optional. The name of this appliance mapping rule.
       
      optional string name = 3373707;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.