Interface LogicalInterface.LogicalNetworkInterfaceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LogicalInterface.LogicalNetworkInterface,LogicalInterface.LogicalNetworkInterface.Builder
- Enclosing class:
- LogicalInterface
public static interface LogicalInterface.LogicalNetworkInterfaceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetDefaultGateway()Whether this interface is the default gateway for the instance.StringgetId()An identifier for the `Network`, generated by the backend.com.google.protobuf.ByteStringgetIdBytes()An identifier for the `Network`, generated by the backend.StringgetIpAddress()IP address in the networkcom.google.protobuf.ByteStringgetIpAddressBytes()IP address in the networkStringgetNetwork()Name of the networkcom.google.protobuf.ByteStringgetNetworkBytes()Name of the networkNetwork.TypegetNetworkType()Type of network.intgetNetworkTypeValue()Type of network.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNetwork
String getNetwork()
Name of the network
string network = 1;- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()
Name of the network
string network = 1;- Returns:
- The bytes for network.
-
getIpAddress
String getIpAddress()
IP address in the network
string ip_address = 2;- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()
IP address in the network
string ip_address = 2;- Returns:
- The bytes for ipAddress.
-
getDefaultGateway
boolean getDefaultGateway()
Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.
bool default_gateway = 3;- Returns:
- The defaultGateway.
-
getNetworkTypeValue
int getNetworkTypeValue()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;- Returns:
- The enum numeric value on the wire for networkType.
-
getNetworkType
Network.Type getNetworkType()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;- Returns:
- The networkType.
-
getId
String getId()
An identifier for the `Network`, generated by the backend.
string id = 5;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
An identifier for the `Network`, generated by the backend.
string id = 5;- Returns:
- The bytes for id.
-
-