Class NetworkAdapterDetails (0.3.0)

public final class NetworkAdapterDetails extends GeneratedMessageV3 implements NetworkAdapterDetailsOrBuilder

Details of network adapter.

Protobuf type google.cloud.migrationcenter.v1.NetworkAdapterDetails

Static Fields

ADAPTER_TYPE_FIELD_NUMBER

public static final int ADAPTER_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ADDRESSES_FIELD_NUMBER

public static final int ADDRESSES_FIELD_NUMBER
Field Value
TypeDescription
int

MAC_ADDRESS_FIELD_NUMBER

public static final int MAC_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkAdapterDetails getDefaultInstance()
Returns
TypeDescription
NetworkAdapterDetails

getDescriptor()

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

newBuilder()

public static NetworkAdapterDetails.Builder newBuilder()
Returns
TypeDescription
NetworkAdapterDetails.Builder

newBuilder(NetworkAdapterDetails prototype)

public static NetworkAdapterDetails.Builder newBuilder(NetworkAdapterDetails prototype)
Parameter
NameDescription
prototypeNetworkAdapterDetails
Returns
TypeDescription
NetworkAdapterDetails.Builder

parseDelimitedFrom(InputStream input)

public static NetworkAdapterDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkAdapterDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static NetworkAdapterDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NetworkAdapterDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static NetworkAdapterDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NetworkAdapterDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static NetworkAdapterDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkAdapterDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static NetworkAdapterDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NetworkAdapterDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<NetworkAdapterDetails> parser()
Returns
TypeDescription
Parser<NetworkAdapterDetails>

Methods

equals(Object obj)

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

getAdapterType()

public String getAdapterType()

Network adapter type (e.g. VMXNET3).

string adapter_type = 1;

Returns
TypeDescription
String

The adapterType.

getAdapterTypeBytes()

public ByteString getAdapterTypeBytes()

Network adapter type (e.g. VMXNET3).

string adapter_type = 1;

Returns
TypeDescription
ByteString

The bytes for adapterType.

getAddresses()

public NetworkAddressList getAddresses()

NetworkAddressList

.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;

Returns
TypeDescription
NetworkAddressList

The addresses.

getAddressesOrBuilder()

public NetworkAddressListOrBuilder getAddressesOrBuilder()

NetworkAddressList

.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;

Returns
TypeDescription
NetworkAddressListOrBuilder

getDefaultInstanceForType()

public NetworkAdapterDetails getDefaultInstanceForType()
Returns
TypeDescription
NetworkAdapterDetails

getMacAddress()

public String getMacAddress()

MAC address.

string mac_address = 2;

Returns
TypeDescription
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

MAC address.

string mac_address = 2;

Returns
TypeDescription
ByteString

The bytes for macAddress.

getParserForType()

public Parser<NetworkAdapterDetails> getParserForType()
Returns
TypeDescription
Parser<NetworkAdapterDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAddresses()

public boolean hasAddresses()

NetworkAddressList

.google.cloud.migrationcenter.v1.NetworkAddressList addresses = 3;

Returns
TypeDescription
boolean

Whether the addresses field is set.

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 NetworkAdapterDetails.Builder newBuilderForType()
Returns
TypeDescription
NetworkAdapterDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public NetworkAdapterDetails.Builder toBuilder()
Returns
TypeDescription
NetworkAdapterDetails.Builder

writeTo(CodedOutputStream output)

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