Send feedback
  
   
 
  
    
      Class LogicalInterface (0.76.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  LogicalInterface   extends   GeneratedMessageV3   implements   LogicalInterfaceOrBuilder  
   Each logical interface represents a logical abstraction of the underlying
 physical interface (for eg. bond, nic) of the instance. Each logical
 interface can effectively map to multiple network-IP pairs and still be
 mapped to one underlying physical interface.
 Protobuf type google.cloud.baremetalsolution.v2.LogicalInterface
    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   INTERFACE_INDEX_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   LOGICAL_NETWORK_INTERFACES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   LogicalInterface   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   LogicalInterface . Builder   newBuilder ()  
  
  
    
public   static   LogicalInterface . Builder   newBuilder ( LogicalInterface   prototype )  
  
  
  
    
public   static   LogicalInterface   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   LogicalInterface   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   LogicalInterface   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<LogicalInterface>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   LogicalInterface   getDefaultInstanceForType ()  
  
  
    
public   int   getInterfaceIndex ()  
  Deprecated.  google.cloud.baremetalsolution.v2.LogicalInterface.interface_index is deprecated.
     See google/cloud/baremetalsolution/v2/network.proto;l=243 
 The index of the logical interface mapping to the index of the hardware
 bond or nic on the chosen network template. This field is deprecated.
 int32 interface_index = 3 [deprecated = true];
    
      
        Returns  
      
        Type Description  
      
        int The interfaceIndex.
 
     
  
  
    
public   LogicalInterface . LogicalNetworkInterface   getLogicalNetworkInterfaces ( int   index )  
   List of logical network interfaces within a logical interface.
 
 repeated .google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface logical_network_interfaces = 1;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   int   getLogicalNetworkInterfacesCount ()  
   List of logical network interfaces within a logical interface.
 
 repeated .google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface logical_network_interfaces = 1;
 
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  
    
public   List<LogicalInterface . LogicalNetworkInterface >  getLogicalNetworkInterfacesList ()  
   List of logical network interfaces within a logical interface.
 
 repeated .google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface logical_network_interfaces = 1;
 
    
public   LogicalInterface . LogicalNetworkInterfaceOrBuilder   getLogicalNetworkInterfacesOrBuilder ( int   index )  
   List of logical network interfaces within a logical interface.
 
 repeated .google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface logical_network_interfaces = 1;
 
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   List <?   extends   LogicalInterface . LogicalNetworkInterfaceOrBuilder >  getLogicalNetworkInterfacesOrBuilderList ()  
   List of logical network interfaces within a logical interface.
 
 repeated .google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface logical_network_interfaces = 1;
 
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterfaceOrBuilder > 
     
  
   Interface name. This is of syntax <bond><bond_mode> or <nic> and
 forms part of the network template name.
 string name = 2;
    
      
        Returns  
      
        Type Description  
      
        String The name.
 
     
  
  
    
public   ByteString   getNameBytes ()  
   Interface name. This is of syntax <bond><bond_mode> or <nic> and
 forms part of the network template name.
 string name = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for name.
 
     
  
  
    
public   Parser<LogicalInterface>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   LogicalInterface . Builder   newBuilderForType ()  
  
  
    
protected   LogicalInterface . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   LogicalInterface . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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-11 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]