Class LogicalInterface.LogicalNetworkInterface (0.24.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LogicalInterface.LogicalNetworkInterface

Static Fields

DEFAULT_GATEWAY_FIELD_NUMBER

public static final int DEFAULT_GATEWAY_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_TYPE_FIELD_NUMBER

public static final int NETWORK_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LogicalInterface.LogicalNetworkInterface getDefaultInstance()
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LogicalInterface.LogicalNetworkInterface.Builder newBuilder()
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface.Builder

newBuilder(LogicalInterface.LogicalNetworkInterface prototype)

public static LogicalInterface.LogicalNetworkInterface.Builder newBuilder(LogicalInterface.LogicalNetworkInterface prototype)
Parameter
NameDescription
prototypeLogicalInterface.LogicalNetworkInterface
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface.Builder

parseDelimitedFrom(InputStream input)

public static LogicalInterface.LogicalNetworkInterface parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogicalInterface.LogicalNetworkInterface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LogicalInterface.LogicalNetworkInterface parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LogicalInterface.LogicalNetworkInterface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LogicalInterface.LogicalNetworkInterface parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LogicalInterface.LogicalNetworkInterface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LogicalInterface.LogicalNetworkInterface parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LogicalInterface.LogicalNetworkInterface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LogicalInterface.LogicalNetworkInterface parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogicalInterface.LogicalNetworkInterface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LogicalInterface.LogicalNetworkInterface parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LogicalInterface.LogicalNetworkInterface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LogicalInterface.LogicalNetworkInterface> parser()
Returns
TypeDescription
Parser<LogicalNetworkInterface>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultGateway()

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
TypeDescription
boolean

The defaultGateway.

getDefaultInstanceForType()

public LogicalInterface.LogicalNetworkInterface getDefaultInstanceForType()
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface

getId()

public String getId()

An identifier for the Network, generated by the backend.

string id = 5;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

An identifier for the Network, generated by the backend.

string id = 5;

Returns
TypeDescription
ByteString

The bytes for id.

getIpAddress()

public String getIpAddress()

IP address in the network

string ip_address = 2;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

IP address in the network

string ip_address = 2;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getNetwork()

public String getNetwork()

Name of the network

string network = 1;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Name of the network

string network = 1;

Returns
TypeDescription
ByteString

The bytes for network.

getNetworkType()

public Network.Type getNetworkType()

Type of network.

.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;

Returns
TypeDescription
Network.Type

The networkType.

getNetworkTypeValue()

public int getNetworkTypeValue()

Type of network.

.google.cloud.baremetalsolution.v2.Network.Type network_type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for networkType.

getParserForType()

public Parser<LogicalInterface.LogicalNetworkInterface> getParserForType()
Returns
TypeDescription
Parser<LogicalNetworkInterface>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LogicalInterface.LogicalNetworkInterface.Builder newBuilderForType()
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LogicalInterface.LogicalNetworkInterface.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LogicalInterface.LogicalNetworkInterface.Builder toBuilder()
Returns
TypeDescription
LogicalInterface.LogicalNetworkInterface.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException