Class MachineNetworkDetails (0.37.0)

public final class MachineNetworkDetails extends GeneratedMessageV3 implements MachineNetworkDetailsOrBuilder

Details of network adapters and settings.

Protobuf type google.cloud.migrationcenter.v1.MachineNetworkDetails

Static Fields

ADAPTERS_FIELD_NUMBER

public static final int ADAPTERS_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_IP_ADDRESS_FIELD_NUMBER

public static final int PRIMARY_IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_MAC_ADDRESS_FIELD_NUMBER

public static final int PRIMARY_MAC_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

PUBLIC_IP_ADDRESS_FIELD_NUMBER

public static final int PUBLIC_IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MachineNetworkDetails getDefaultInstance()
Returns
Type Description
MachineNetworkDetails

getDescriptor()

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

newBuilder()

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

newBuilder(MachineNetworkDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdapters()

public NetworkAdapterList getAdapters()

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Returns
Type Description
NetworkAdapterList

The adapters.

getAdaptersOrBuilder()

public NetworkAdapterListOrBuilder getAdaptersOrBuilder()

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Returns
Type Description
NetworkAdapterListOrBuilder

getDefaultInstanceForType()

public MachineNetworkDetails getDefaultInstanceForType()
Returns
Type Description
MachineNetworkDetails

getParserForType()

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

getPrimaryIpAddress()

public String getPrimaryIpAddress()

The primary IP address of the machine.

string primary_ip_address = 1;

Returns
Type Description
String

The primaryIpAddress.

getPrimaryIpAddressBytes()

public ByteString getPrimaryIpAddressBytes()

The primary IP address of the machine.

string primary_ip_address = 1;

Returns
Type Description
ByteString

The bytes for primaryIpAddress.

getPrimaryMacAddress()

public String getPrimaryMacAddress()

MAC address of the machine. This property is used to uniqly identify the machine.

string primary_mac_address = 3;

Returns
Type Description
String

The primaryMacAddress.

getPrimaryMacAddressBytes()

public ByteString getPrimaryMacAddressBytes()

MAC address of the machine. This property is used to uniqly identify the machine.

string primary_mac_address = 3;

Returns
Type Description
ByteString

The bytes for primaryMacAddress.

getPublicIpAddress()

public String getPublicIpAddress()

The public IP address of the machine.

string public_ip_address = 2;

Returns
Type Description
String

The publicIpAddress.

getPublicIpAddressBytes()

public ByteString getPublicIpAddressBytes()

The public IP address of the machine.

string public_ip_address = 2;

Returns
Type Description
ByteString

The bytes for publicIpAddress.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAdapters()

public boolean hasAdapters()

List of network adapters.

.google.cloud.migrationcenter.v1.NetworkAdapterList adapters = 4;

Returns
Type Description
boolean

Whether the adapters 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 MachineNetworkDetails.Builder newBuilderForType()
Returns
Type Description
MachineNetworkDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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