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

CORE_COUNT_FIELD_NUMBER

public static final int CORE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
TypeDescription
int

GUEST_OS_FIELD_NUMBER

public static final int GUEST_OS_FIELD_NUMBER
Field Value
TypeDescription
int

MACHINE_NAME_FIELD_NUMBER

public static final int MACHINE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

MEMORY_MB_FIELD_NUMBER

public static final int MEMORY_MB_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

PLATFORM_FIELD_NUMBER

public static final int PLATFORM_FIELD_NUMBER
Field Value
TypeDescription
int

POWER_STATE_FIELD_NUMBER

public static final int POWER_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

UUID_FIELD_NUMBER

public static final int UUID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MachineDetails getDefaultInstance()
Returns
TypeDescription
MachineDetails

getDescriptor()

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

newBuilder()

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

newBuilder(MachineDetails prototype)

public static MachineDetails.Builder newBuilder(MachineDetails prototype)
Parameter
NameDescription
prototypeMachineDetails
Returns
TypeDescription
MachineDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getArchitecture()

public MachineArchitectureDetails getArchitecture()

Architecture details (vendor, CPU architecture).

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

Returns
TypeDescription
MachineArchitectureDetails

The architecture.

getArchitectureOrBuilder()

public MachineArchitectureDetailsOrBuilder getArchitectureOrBuilder()

Architecture details (vendor, CPU architecture).

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

Returns
TypeDescription
MachineArchitectureDetailsOrBuilder

getCoreCount()

public int getCoreCount()

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

int32 core_count = 4;

Returns
TypeDescription
int

The coreCount.

getCreateTime()

public Timestamp getCreateTime()

Machine creation time.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Machine creation time.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public MachineDetails getDefaultInstanceForType()
Returns
TypeDescription
MachineDetails

getDisks()

public MachineDiskDetails getDisks()

Disk details.

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

Returns
TypeDescription
MachineDiskDetails

The disks.

getDisksOrBuilder()

public MachineDiskDetailsOrBuilder getDisksOrBuilder()

Disk details.

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

Returns
TypeDescription
MachineDiskDetailsOrBuilder

getGuestOs()

public GuestOsDetails getGuestOs()

Guest OS information.

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

Returns
TypeDescription
GuestOsDetails

The guestOs.

getGuestOsOrBuilder()

public GuestOsDetailsOrBuilder getGuestOsOrBuilder()

Guest OS information.

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

Returns
TypeDescription
GuestOsDetailsOrBuilder

getMachineName()

public String getMachineName()

Machine name.

string machine_name = 2;

Returns
TypeDescription
String

The machineName.

getMachineNameBytes()

public ByteString getMachineNameBytes()

Machine name.

string machine_name = 2;

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

The memoryMb.

getNetwork()

public MachineNetworkDetails getNetwork()

Network details.

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

Returns
TypeDescription
MachineNetworkDetails

The network.

getNetworkOrBuilder()

public MachineNetworkDetailsOrBuilder getNetworkOrBuilder()

Network details.

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

Returns
TypeDescription
MachineNetworkDetailsOrBuilder

getParserForType()

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

getPlatform()

public PlatformDetails getPlatform()

Platform specific information.

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

Returns
TypeDescription
PlatformDetails

The platform.

getPlatformOrBuilder()

public PlatformDetailsOrBuilder getPlatformOrBuilder()

Platform specific information.

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

Returns
TypeDescription
PlatformDetailsOrBuilder

getPowerState()

public MachineDetails.PowerState getPowerState()

Power state of the machine.

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

Returns
TypeDescription
MachineDetails.PowerState

The powerState.

getPowerStateValue()

public int getPowerStateValue()

Power state of the machine.

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

Returns
TypeDescription
int

The enum numeric value on the wire for powerState.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUuid()

public String getUuid()

Machine unique identifier.

string uuid = 1;

Returns
TypeDescription
String

The uuid.

getUuidBytes()

public ByteString getUuidBytes()

Machine unique identifier.

string uuid = 1;

Returns
TypeDescription
ByteString

The bytes for uuid.

hasArchitecture()

public boolean hasArchitecture()

Architecture details (vendor, CPU architecture).

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

Returns
TypeDescription
boolean

Whether the architecture field is set.

hasCreateTime()

public boolean hasCreateTime()

Machine creation time.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDisks()

public boolean hasDisks()

Disk details.

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

Returns
TypeDescription
boolean

Whether the disks field is set.

hasGuestOs()

public boolean hasGuestOs()

Guest OS information.

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

Returns
TypeDescription
boolean

Whether the guestOs field is set.

hasNetwork()

public boolean hasNetwork()

Network details.

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

Returns
TypeDescription
boolean

Whether the network field is set.

hasPlatform()

public boolean hasPlatform()

Platform specific information.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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