public static interface ServerNetworkTemplate.LogicalInterfaceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRequired()
public abstract boolean getRequired()If true, interface must have network connected.
bool required = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The required. |
getType()
public abstract ServerNetworkTemplate.LogicalInterface.InterfaceType getType()Interface type.
.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType type = 2;
| Returns | |
|---|---|
| Type | Description |
ServerNetworkTemplate.LogicalInterface.InterfaceType |
The type. |
getTypeValue()
public abstract int getTypeValue()Interface type.
.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |