public static final class LogicalInterface.LogicalNetworkInterface extends GeneratedMessageV3 implements LogicalInterface.LogicalNetworkInterfaceOrBuilder
Each logical network interface is effectively a network and IP pair.
Protobuf type
google.cloud.baremetalsolution.v2.LogicalInterface.LogicalNetworkInterface
Static Fields
public static final int DEFAULT_GATEWAY_FIELD_NUMBER
Field Value
public static final int ID_FIELD_NUMBER
Field Value
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
public static final int NETWORK_FIELD_NUMBER
Field Value
public static final int NETWORK_TYPE_FIELD_NUMBER
Field Value
Static Methods
public static LogicalInterface.LogicalNetworkInterface getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static LogicalInterface.LogicalNetworkInterface.Builder newBuilder()
Returns
public static LogicalInterface.LogicalNetworkInterface.Builder newBuilder(LogicalInterface.LogicalNetworkInterface prototype)
Parameter
Returns
public static LogicalInterface.LogicalNetworkInterface parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static LogicalInterface.LogicalNetworkInterface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<LogicalInterface.LogicalNetworkInterface> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public 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
Type | Description |
boolean | The defaultGateway.
|
public LogicalInterface.LogicalNetworkInterface getDefaultInstanceForType()
Returns
An identifier for the Network
, generated by the backend.
string id = 5;
Returns
public ByteString getIdBytes()
An identifier for the Network
, generated by the backend.
string id = 5;
Returns
public String getIpAddress()
IP address in the network
string ip_address = 2;
Returns
Type | Description |
String | The ipAddress.
|
public ByteString getIpAddressBytes()
IP address in the network
string ip_address = 2;
Returns
public String getNetwork()
Name of the network
string network = 1;
Returns
Type | Description |
String | The network.
|
public ByteString getNetworkBytes()
Name of the network
string network = 1;
Returns
public Network.Type getNetworkType()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Returns
public int getNetworkTypeValue()
Type of network.
.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;
Returns
Type | Description |
int | The enum numeric value on the wire for networkType.
|
public Parser<LogicalInterface.LogicalNetworkInterface> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public LogicalInterface.LogicalNetworkInterface.Builder newBuilderForType()
Returns
protected LogicalInterface.LogicalNetworkInterface.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public LogicalInterface.LogicalNetworkInterface.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions