Interface LogicalInterfaceOrBuilder (0.3.2)

public interface LogicalInterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInterfaceIndex()

public abstract 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
TypeDescription
int

The interfaceIndex.

getLogicalNetworkInterfaces(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface

getLogicalNetworkInterfacesCount()

public abstract int getLogicalNetworkInterfacesCount()

List of logical network interfaces within a logical interface.

repeated .google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface logical_network_interfaces = 1;

Returns
TypeDescription
int

getLogicalNetworkInterfacesList()

public abstract 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
TypeDescription
List<LogicalNetworkInterface>

getLogicalNetworkInterfacesOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterfaceOrBuilder

getLogicalNetworkInterfacesOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterfaceOrBuilder>

getName()

public abstract String getName()

Interface name. This is of syntax <bond><bond_mode> or <nic> and forms part of the network template name.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.