Class ServerNetworkTemplate.LogicalInterface (0.46.0)

public static final class ServerNetworkTemplate.LogicalInterface extends GeneratedMessageV3 implements ServerNetworkTemplate.LogicalInterfaceOrBuilder

Logical interface.

Protobuf type google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface

Inheritance

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

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

REQUIRED_FIELD_NUMBER

public static final int REQUIRED_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ServerNetworkTemplate.LogicalInterface getDefaultInstance()
Returns
Type Description
ServerNetworkTemplate.LogicalInterface

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ServerNetworkTemplate.LogicalInterface.Builder newBuilder()
Returns
Type Description
ServerNetworkTemplate.LogicalInterface.Builder

newBuilder(ServerNetworkTemplate.LogicalInterface prototype)

public static ServerNetworkTemplate.LogicalInterface.Builder newBuilder(ServerNetworkTemplate.LogicalInterface prototype)
Parameter
Name Description
prototype ServerNetworkTemplate.LogicalInterface
Returns
Type Description
ServerNetworkTemplate.LogicalInterface.Builder

parseDelimitedFrom(InputStream input)

public static ServerNetworkTemplate.LogicalInterface parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServerNetworkTemplate.LogicalInterface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ServerNetworkTemplate.LogicalInterface parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServerNetworkTemplate.LogicalInterface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServerNetworkTemplate.LogicalInterface parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServerNetworkTemplate.LogicalInterface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServerNetworkTemplate.LogicalInterface parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServerNetworkTemplate.LogicalInterface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ServerNetworkTemplate.LogicalInterface parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServerNetworkTemplate.LogicalInterface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ServerNetworkTemplate.LogicalInterface parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServerNetworkTemplate.LogicalInterface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServerNetworkTemplate.LogicalInterface
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ServerNetworkTemplate.LogicalInterface> parser()
Returns
Type Description
Parser<LogicalInterface>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ServerNetworkTemplate.LogicalInterface getDefaultInstanceForType()
Returns
Type Description
ServerNetworkTemplate.LogicalInterface

getName()

public 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 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.

getParserForType()

public Parser<ServerNetworkTemplate.LogicalInterface> getParserForType()
Returns
Type Description
Parser<LogicalInterface>
Overrides

getRequired()

public boolean getRequired()

If true, interface must have network connected.

bool required = 3;

Returns
Type Description
boolean

The required.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public 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 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ServerNetworkTemplate.LogicalInterface.Builder newBuilderForType()
Returns
Type Description
ServerNetworkTemplate.LogicalInterface.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServerNetworkTemplate.LogicalInterface.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ServerNetworkTemplate.LogicalInterface.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ServerNetworkTemplate.LogicalInterface.Builder toBuilder()
Returns
Type Description
ServerNetworkTemplate.LogicalInterface.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException