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
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
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