Interface LogicalInterfaceOrBuilder (0.42.0)

public interface LogicalInterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInterfaceIndex() (deprecated)

public abstract 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.

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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.