Class VRF.VlanAttachment (0.37.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.37.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  VRF . VlanAttachment   extends   GeneratedMessageV3   implements   VRF . VlanAttachmentOrBuilder  
   VLAN attachment details.
 Protobuf type google.cloud.baremetalsolution.v2.VRF.VlanAttachment
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   INTERCONNECT_ATTACHMENT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   PAIRING_KEY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   PEER_IP_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   PEER_VLAN_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   QOS_POLICY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   ROUTER_IP_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   VRF . VlanAttachment   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   VRF . VlanAttachment . Builder   newBuilder ()  
  
  
    
public   static   VRF . VlanAttachment . Builder   newBuilder ( VRF . VlanAttachment   prototype )  
  
  
  
    
public   static   VRF . VlanAttachment   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   VRF . VlanAttachment   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<VRF . VlanAttachment >  parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   VRF . VlanAttachment   getDefaultInstanceForType ()  
  
   Immutable. The identifier of the attachment within vrf.
 string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
    
      
        Returns  
      
        Type Description  
      
        String The id.
 
     
  
  
    
public   ByteString   getIdBytes ()  
   Immutable. The identifier of the attachment within vrf.
 string id = 6 [(.google.api.field_behavior) = IMMUTABLE];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for id.
 
     
  
  
    
public   String   getInterconnectAttachment ()  
   Optional. The name of the vlan attachment within vrf. This is of the form
 projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
 
 string interconnect_attachment = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        String The interconnectAttachment.
 
     
  
  
    
public   ByteString   getInterconnectAttachmentBytes ()  
   Optional. The name of the vlan attachment within vrf. This is of the form
 projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
 
 string interconnect_attachment = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for interconnectAttachment.
 
     
  
  
    
public   String   getPairingKey ()  
   Input only. Pairing key.
 string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The pairingKey.
 
     
  
  
    
public   ByteString   getPairingKeyBytes ()  
   Input only. Pairing key.
 string pairing_key = 4 [(.google.api.field_behavior) = INPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for pairingKey.
 
     
  
  
    
public   Parser<VRF . VlanAttachment >  getParserForType ()  
  
  Overrides 
  
  
    
public   String   getPeerIp ()  
   The peer IP of the attachment.
 string peer_ip = 2;
    
      
        Returns  
      
        Type Description  
      
        String The peerIp.
 
     
  
  
    
public   ByteString   getPeerIpBytes ()  
   The peer IP of the attachment.
 string peer_ip = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for peerIp.
 
     
  
  
    
public   long   getPeerVlanId ()  
   The peer vlan ID of the attachment.
 int64 peer_vlan_id = 1;
    
      
        Returns  
      
        Type Description  
      
        long The peerVlanId.
 
     
  
  
    
public   VRF . QosPolicy   getQosPolicy ()  
   The QOS policy applied to this VLAN attachment.
 This value should be preferred to using qos at vrf level.
 .google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 5;
    
public   VRF . QosPolicyOrBuilder   getQosPolicyOrBuilder ()  
   The QOS policy applied to this VLAN attachment.
 This value should be preferred to using qos at vrf level.
 .google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 5;
    
public   String   getRouterIp ()  
   The router IP of the attachment.
 string router_ip = 3;
    
      
        Returns  
      
        Type Description  
      
        String The routerIp.
 
     
  
  
    
public   ByteString   getRouterIpBytes ()  
   The router IP of the attachment.
 string router_ip = 3;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for routerIp.
 
     
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   boolean   hasQosPolicy ()  
   The QOS policy applied to this VLAN attachment.
 This value should be preferred to using qos at vrf level.
 .google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 5;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the qosPolicy field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   VRF . VlanAttachment . Builder   newBuilderForType ()  
  
  
    
protected   VRF . VlanAttachment . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   VRF . VlanAttachment . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]