Class VRF (0.76.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.76.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  VRF   extends   GeneratedMessageV3   implements   VRFOrBuilder  
   A network VRF.
 Protobuf type google.cloud.baremetalsolution.v2.VRF
    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   NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   QOS_POLICY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   STATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   VLAN_ATTACHMENTS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   VRF   getDefaultInstance ()  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   VRF . Builder   newBuilder ()  
  
  
    
public   static   VRF . Builder   newBuilder ( VRF   prototype )  
  
    
      
        Parameter  
      
        Name Description  
      
        prototypeVRF  
     
  
  
  
    
public   static   VRF   parseDelimitedFrom ( InputStream   input )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( ByteString   data )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( CodedInputStream   input )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( InputStream   input )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( ByteBuffer   data )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   VRF   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
  
  
    
public   static   Parser<VRF>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   VRF   getDefaultInstanceForType ()  
  
    
      
        Returns  
      
        Type Description  
      
        VRF  
     
  
   The name of the VRF.
 string name = 1;
    
      
        Returns  
      
        Type Description  
      
        String The name.
 
     
  
  
    
public   ByteString   getNameBytes ()  
   The name of the VRF.
 string name = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for name.
 
     
  
  
    
public   Parser<VRF>   getParserForType ()  
  
  Overrides 
  
  
    
public   VRF . QosPolicy   getQosPolicy ()  
   The QOS policy applied to this VRF.
 The value is only meaningful when all the vlan attachments have the same
 QoS. This field should not be used for new integrations, use vlan
 attachment level qos instead. The field is left for backward-compatibility.
 .google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
    
public   VRF . QosPolicyOrBuilder   getQosPolicyOrBuilder ()  
   The QOS policy applied to this VRF.
 The value is only meaningful when all the vlan attachments have the same
 QoS. This field should not be used for new integrations, use vlan
 attachment level qos instead. The field is left for backward-compatibility.
 .google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   VRF . State   getState ()  
   The possible state of VRF.
 .google.cloud.baremetalsolution.v2.VRF.State state = 5;
    
      
        Returns  
      
        Type Description  
      
        VRF.State The state.
 
     
  
  
    
public   int   getStateValue ()  
   The possible state of VRF.
 .google.cloud.baremetalsolution.v2.VRF.State state = 5;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for state.
 
     
  
  
    
public   VRF . VlanAttachment   getVlanAttachments ( int   index )  
   The list of VLAN attachments for the VRF.
 repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   int   getVlanAttachmentsCount ()  
   The list of VLAN attachments for the VRF.
 repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  
    
public   List<VRF . VlanAttachment >  getVlanAttachmentsList ()  
   The list of VLAN attachments for the VRF.
 repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
 
    
public   VRF . VlanAttachmentOrBuilder   getVlanAttachmentsOrBuilder ( int   index )  
   The list of VLAN attachments for the VRF.
 repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   List <?   extends   VRF . VlanAttachmentOrBuilder >  getVlanAttachmentsOrBuilderList ()  
   The list of VLAN attachments for the VRF.
 repeated .google.cloud.baremetalsolution.v2.VRF.VlanAttachment vlan_attachments = 7;
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.baremetalsolution.v2.VRF.VlanAttachmentOrBuilder > 
     
  
  
    
public   boolean   hasQosPolicy ()  
   The QOS policy applied to this VRF.
 The value is only meaningful when all the vlan attachments have the same
 QoS. This field should not be used for new integrations, use vlan
 attachment level qos instead. The field is left for backward-compatibility.
 .google.cloud.baremetalsolution.v2.VRF.QosPolicy qos_policy = 6;
    
      
        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 . Builder   newBuilderForType ()  
  
  
    
protected   VRF . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   VRF . 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."],[],[]]