Class NetworkAdapterDetails (0.24.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
Type Description
int

ADDRESSES_FIELD_NUMBER

public static final int ADDRESSES_FIELD_NUMBER
Field Value
Type Description
int

MAC_ADDRESS_FIELD_NUMBER

public static final int MAC_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworkAdapterDetails getDefaultInstance()
Returns
Type Description
NetworkAdapterDetails

getDescriptor()

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

newBuilder()

public static NetworkAdapterDetails.Builder newBuilder()
Returns
Type Description
NetworkAdapterDetails.Builder

newBuilder(NetworkAdapterDetails prototype)

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

parseDelimitedFrom(InputStream input)

public static NetworkAdapterDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkAdapterDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static NetworkAdapterDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NetworkAdapterDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static NetworkAdapterDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NetworkAdapterDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static NetworkAdapterDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NetworkAdapterDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static NetworkAdapterDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NetworkAdapterDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<NetworkAdapterDetails> parser()
Returns
Type Description
Parser<NetworkAdapterDetails>

Methods

equals(Object obj)

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

getAdapterType()

public String getAdapterType()

Network adapter type (e.g. VMXNET3).

string adapter_type = 1;

Returns
Type Description
String

The adapterType.

getAdapterTypeBytes()

public ByteString getAdapterTypeBytes()

Network adapter type (e.g. VMXNET3).

string adapter_type = 1;

Returns
Type Description
ByteString

The bytes for adapterType.

getAddresses()

public NetworkAddressList getAddresses()

NetworkAddressList

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

Returns
Type Description
NetworkAddressList

The addresses.

getAddressesOrBuilder()

public NetworkAddressListOrBuilder getAddressesOrBuilder()

NetworkAddressList

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

Returns
Type Description
NetworkAddressListOrBuilder

getDefaultInstanceForType()

public NetworkAdapterDetails getDefaultInstanceForType()
Returns
Type Description
NetworkAdapterDetails

getMacAddress()

public String getMacAddress()

MAC address.

string mac_address = 2;

Returns
Type Description
String

The macAddress.

getMacAddressBytes()

public ByteString getMacAddressBytes()

MAC address.

string mac_address = 2;

Returns
Type Description
ByteString

The bytes for macAddress.

getParserForType()

public Parser<NetworkAdapterDetails> getParserForType()
Returns
Type Description
Parser<NetworkAdapterDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAddresses()

public boolean hasAddresses()

NetworkAddressList

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

Returns
Type Description
boolean

Whether the addresses field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public NetworkAdapterDetails.Builder toBuilder()
Returns
Type Description
NetworkAdapterDetails.Builder

writeTo(CodedOutputStream output)

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