Interface ServerNetworkTemplate.LogicalInterfaceOrBuilder (0.35.0)

public static interface ServerNetworkTemplate.LogicalInterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax <bond><interface_type_index><bond_mode> or <nic><interface_type_index> and forms part of the network template name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax <bond><interface_type_index><bond_mode> or <nic><interface_type_index> and forms part of the network template name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getRequired()

public abstract boolean getRequired()

If true, interface must have network connected.

bool required = 3;

Returns
TypeDescription
boolean

The required.

getType()

public abstract ServerNetworkTemplate.LogicalInterface.InterfaceType getType()

Interface type.

.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType type = 2;

Returns
TypeDescription
ServerNetworkTemplate.LogicalInterface.InterfaceType

The type.

getTypeValue()

public abstract int getTypeValue()

Interface type.

.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.