Class MachineNetworkDetails (0.22.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
TypeDescription
int

PRIMARY_IP_ADDRESS_FIELD_NUMBER

public static final int PRIMARY_IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

PRIMARY_MAC_ADDRESS_FIELD_NUMBER

public static final int PRIMARY_MAC_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLIC_IP_ADDRESS_FIELD_NUMBER

public static final int PUBLIC_IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MachineNetworkDetails getDefaultInstance()
Returns
TypeDescription
MachineNetworkDetails

getDescriptor()

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

newBuilder()

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

newBuilder(MachineNetworkDetails prototype)

public static MachineNetworkDetails.Builder newBuilder(MachineNetworkDetails prototype)
Parameter
NameDescription
prototypeMachineNetworkDetails
Returns
TypeDescription
MachineNetworkDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdapters()

public NetworkAdapterList getAdapters()

List of network adapters.

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

Returns
TypeDescription
NetworkAdapterList

The adapters.

getAdaptersOrBuilder()

public NetworkAdapterListOrBuilder getAdaptersOrBuilder()

List of network adapters.

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

Returns
TypeDescription
NetworkAdapterListOrBuilder

getDefaultInstanceForType()

public MachineNetworkDetails getDefaultInstanceForType()
Returns
TypeDescription
MachineNetworkDetails

getParserForType()

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

getPrimaryIpAddress()

public String getPrimaryIpAddress()

The primary IP address of the machine.

string primary_ip_address = 1;

Returns
TypeDescription
String

The primaryIpAddress.

getPrimaryIpAddressBytes()

public ByteString getPrimaryIpAddressBytes()

The primary IP address of the machine.

string primary_ip_address = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for primaryMacAddress.

getPublicIpAddress()

public String getPublicIpAddress()

The public IP address of the machine.

string public_ip_address = 2;

Returns
TypeDescription
String

The publicIpAddress.

getPublicIpAddressBytes()

public ByteString getPublicIpAddressBytes()

The public IP address of the machine.

string public_ip_address = 2;

Returns
TypeDescription
ByteString

The bytes for publicIpAddress.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAdapters()

public boolean hasAdapters()

List of network adapters.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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