public final class MachineDetails extends GeneratedMessageV3 implements MachineDetailsOrBuilder
Details of a machine.
Protobuf type google.cloud.migrationcenter.v1.MachineDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MachineDetails.Builder newBuilder()
newBuilder(MachineDetails prototype)
public static MachineDetails.Builder newBuilder(MachineDetails prototype)
public static MachineDetails parseDelimitedFrom(InputStream input)
public static MachineDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MachineDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MachineDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MachineDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MachineDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MachineDetails parseFrom(CodedInputStream input)
public static MachineDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MachineDetails parseFrom(InputStream input)
public static MachineDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MachineDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MachineDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MachineDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getArchitecture()
public MachineArchitectureDetails getArchitecture()
Architecture details (vendor, CPU architecture).
.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;
getArchitectureOrBuilder()
public MachineArchitectureDetailsOrBuilder getArchitectureOrBuilder()
Architecture details (vendor, CPU architecture).
.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;
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;
getDefaultInstanceForType()
public MachineDetails getDefaultInstanceForType()
getDisks()
public MachineDiskDetails getDisks()
Disk details.
.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;
getDisksOrBuilder()
public MachineDiskDetailsOrBuilder getDisksOrBuilder()
Disk details.
.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;
getGuestOs()
public GuestOsDetails getGuestOs()
Guest OS information.
.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;
getGuestOsOrBuilder()
public GuestOsDetailsOrBuilder getGuestOsOrBuilder()
Guest OS information.
.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;
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()
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;
getNetworkOrBuilder()
public MachineNetworkDetailsOrBuilder getNetworkOrBuilder()
Network details.
.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;
getParserForType()
public Parser<MachineDetails> getParserForType()
Overrides
public PlatformDetails getPlatform()
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;
public PlatformDetailsOrBuilder getPlatformOrBuilder()
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;
getPowerState()
public MachineDetails.PowerState getPowerState()
Power state of the machine.
.google.cloud.migrationcenter.v1.MachineDetails.PowerState power_state = 6;
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()
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.
|
public boolean hasPlatform()
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;
Returns |
Type |
Description |
boolean |
Whether the platform field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MachineDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MachineDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MachineDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides