Class LogicalInterface (0.4.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.4.0keyboard_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
Static Fields
public static final int INTERFACE_INDEX_FIELD_NUMBER
Field Value
public static final int LOGICAL_NETWORK_INTERFACES_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
public static LogicalInterface getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static LogicalInterface . Builder newBuilder ()
Returns
public static LogicalInterface . Builder newBuilder ( LogicalInterface prototype )
Parameter
Returns
public static LogicalInterface parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static LogicalInterface parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
public static LogicalInterface parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static LogicalInterface parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static LogicalInterface parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static LogicalInterface parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LogicalInterface parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static LogicalInterface parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<LogicalInterface> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public LogicalInterface getDefaultInstanceForType ()
Returns
public int getInterfaceIndex ()
The index of the logical interface mapping to the index of the hardware
bond or nic on the chosen network template.
int32 interface_index = 3;
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
index
int
Returns
public int getLogicalNetworkInterfacesCount ()
List of logical network interfaces within a logical interface.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface logical_network_interfaces = 1;
Returns
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;
Returns
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
index
int
Returns
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
public Parser<LogicalInterface> getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public LogicalInterface . Builder newBuilderForType ()
Returns
protected LogicalInterface . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public LogicalInterface . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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-08-18 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-08-18 UTC."],[],[],null,[]]