Class ServerNetworkTemplate.LogicalInterface (0.3.8)

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

REQUIRED_FIELD_NUMBER

public static final int REQUIRED_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ServerNetworkTemplate.LogicalInterface prototype)

public static ServerNetworkTemplate.LogicalInterface.Builder newBuilder(ServerNetworkTemplate.LogicalInterface prototype)
Parameter
NameDescription
prototypeServerNetworkTemplate.LogicalInterface
Returns
TypeDescription
ServerNetworkTemplate.LogicalInterface.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ServerNetworkTemplate.LogicalInterface getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getRequired()

public boolean getRequired()

If true, interface must have network connected.

bool required = 3;

Returns
TypeDescription
boolean

The required.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public ServerNetworkTemplate.LogicalInterface.InterfaceType getType()

Interface type.

.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType type = 2;

Returns
TypeDescription
ServerNetworkTemplate.LogicalInterface.InterfaceType

The type.

getTypeValue()

public int getTypeValue()

Interface type.

.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface.InterfaceType type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ServerNetworkTemplate.LogicalInterface.Builder newBuilderForType()
Returns
TypeDescription
ServerNetworkTemplate.LogicalInterface.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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