Interface ServerNetworkTemplate.LogicalInterfaceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerNetworkTemplate.LogicalInterface
,ServerNetworkTemplate.LogicalInterface.Builder
- Enclosing class:
- ServerNetworkTemplate
public static interface ServerNetworkTemplate.LogicalInterfaceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Interface name.com.google.protobuf.ByteString
getNameBytes()
Interface name.boolean
getRequired()
If true, interface must have network connected.ServerNetworkTemplate.LogicalInterface.InterfaceType
getType()
Interface type.int
getTypeValue()
Interface type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getTypeValue
int getTypeValue()
Interface type.
.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType type = 2;
- Returns:
- The enum numeric value on the wire for type.
-
getType
ServerNetworkTemplate.LogicalInterface.InterfaceType getType()
Interface type.
.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType type = 2;
- Returns:
- The type.
-
getRequired
boolean getRequired()
If true, interface must have network connected.
bool required = 3;
- Returns:
- The required.
-
-