Class MachineDetails (0.35.0)

public final class MachineDetails extends GeneratedMessageV3 implements MachineDetailsOrBuilder

Details of a machine.

Protobuf type google.cloud.migrationcenter.v1.MachineDetails

Static Fields

ARCHITECTURE_FIELD_NUMBER

public static final int ARCHITECTURE_FIELD_NUMBER
Field Value
Type Description
int

CORE_COUNT_FIELD_NUMBER

public static final int CORE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
Type Description
int

GUEST_OS_FIELD_NUMBER

public static final int GUEST_OS_FIELD_NUMBER
Field Value
Type Description
int

MACHINE_NAME_FIELD_NUMBER

public static final int MACHINE_NAME_FIELD_NUMBER
Field Value
Type Description
int

MEMORY_MB_FIELD_NUMBER

public static final int MEMORY_MB_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

PLATFORM_FIELD_NUMBER

public static final int PLATFORM_FIELD_NUMBER
Field Value
Type Description
int

POWER_STATE_FIELD_NUMBER

public static final int POWER_STATE_FIELD_NUMBER
Field Value
Type Description
int

UUID_FIELD_NUMBER

public static final int UUID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MachineDetails getDefaultInstance()
Returns
Type Description
MachineDetails

getDescriptor()

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

newBuilder()

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

newBuilder(MachineDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getArchitecture()

public MachineArchitectureDetails getArchitecture()

Architecture details (vendor, CPU architecture).

.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;

Returns
Type Description
MachineArchitectureDetails

The architecture.

getArchitectureOrBuilder()

public MachineArchitectureDetailsOrBuilder getArchitectureOrBuilder()

Architecture details (vendor, CPU architecture).

.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;

Returns
Type Description
MachineArchitectureDetailsOrBuilder

getCoreCount()

public int getCoreCount()

Number of CPU cores in the machine. Must be non-negative.

int32 core_count = 4;

Returns
Type Description
int

The coreCount.

getCreateTime()

public Timestamp getCreateTime()

Machine creation time.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Machine creation time.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public MachineDetails getDefaultInstanceForType()
Returns
Type Description
MachineDetails

getDisks()

public MachineDiskDetails getDisks()

Disk details.

.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;

Returns
Type Description
MachineDiskDetails

The disks.

getDisksOrBuilder()

public MachineDiskDetailsOrBuilder getDisksOrBuilder()

Disk details.

.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;

Returns
Type Description
MachineDiskDetailsOrBuilder

getGuestOs()

public GuestOsDetails getGuestOs()

Guest OS information.

.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;

Returns
Type Description
GuestOsDetails

The guestOs.

getGuestOsOrBuilder()

public GuestOsDetailsOrBuilder getGuestOsOrBuilder()

Guest OS information.

.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;

Returns
Type Description
GuestOsDetailsOrBuilder

getMachineName()

public String getMachineName()

Machine name.

string machine_name = 2;

Returns
Type Description
String

The machineName.

getMachineNameBytes()

public ByteString getMachineNameBytes()

Machine name.

string machine_name = 2;

Returns
Type Description
ByteString

The bytes for machineName.

getMemoryMb()

public int getMemoryMb()

The amount of memory in the machine. Must be non-negative.

int32 memory_mb = 5;

Returns
Type Description
int

The memoryMb.

getNetwork()

public MachineNetworkDetails getNetwork()

Network details.

.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;

Returns
Type Description
MachineNetworkDetails

The network.

getNetworkOrBuilder()

public MachineNetworkDetailsOrBuilder getNetworkOrBuilder()

Network details.

.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;

Returns
Type Description
MachineNetworkDetailsOrBuilder

getParserForType()

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

getPlatform()

public PlatformDetails getPlatform()

Platform specific information.

.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;

Returns
Type Description
PlatformDetails

The platform.

getPlatformOrBuilder()

public PlatformDetailsOrBuilder getPlatformOrBuilder()

Platform specific information.

.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;

Returns
Type Description
PlatformDetailsOrBuilder

getPowerState()

public MachineDetails.PowerState getPowerState()

Power state of the machine.

.google.cloud.migrationcenter.v1.MachineDetails.PowerState power_state = 6;

Returns
Type Description
MachineDetails.PowerState

The powerState.

getPowerStateValue()

public int getPowerStateValue()

Power state of the machine.

.google.cloud.migrationcenter.v1.MachineDetails.PowerState power_state = 6;

Returns
Type Description
int

The enum numeric value on the wire for powerState.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUuid()

public String getUuid()

Machine unique identifier.

string uuid = 1;

Returns
Type Description
String

The uuid.

getUuidBytes()

public ByteString getUuidBytes()

Machine unique identifier.

string uuid = 1;

Returns
Type Description
ByteString

The bytes for uuid.

hasArchitecture()

public boolean hasArchitecture()

Architecture details (vendor, CPU architecture).

.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;

Returns
Type Description
boolean

Whether the architecture field is set.

hasCreateTime()

public boolean hasCreateTime()

Machine creation time.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDisks()

public boolean hasDisks()

Disk details.

.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;

Returns
Type Description
boolean

Whether the disks field is set.

hasGuestOs()

public boolean hasGuestOs()

Guest OS information.

.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;

Returns
Type Description
boolean

Whether the guestOs field is set.

hasNetwork()

public boolean hasNetwork()

Network details.

.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;

Returns
Type Description
boolean

Whether the network field is set.

hasPlatform()

public boolean hasPlatform()

Platform specific information.

.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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