Class MachineDetails
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.migrationcenter.v1.MachineDetails
-
- All Implemented Interfaces:
MachineDetailsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class MachineDetails extends com.google.protobuf.GeneratedMessageV3 implements MachineDetailsOrBuilder
Details of a machine.
Protobuf typegoogle.cloud.migrationcenter.v1.MachineDetails
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MachineDetails.Builder
Details of a machine.static class
MachineDetails.PowerState
Machine power state.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARCHITECTURE_FIELD_NUMBER
static int
CORE_COUNT_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DISKS_FIELD_NUMBER
static int
GUEST_OS_FIELD_NUMBER
static int
MACHINE_NAME_FIELD_NUMBER
static int
MEMORY_MB_FIELD_NUMBER
static int
NETWORK_FIELD_NUMBER
static int
PLATFORM_FIELD_NUMBER
static int
POWER_STATE_FIELD_NUMBER
static int
UUID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
MachineArchitectureDetails
getArchitecture()
Architecture details (vendor, CPU architecture).MachineArchitectureDetailsOrBuilder
getArchitectureOrBuilder()
Architecture details (vendor, CPU architecture).int
getCoreCount()
Number of CPU cores in the machine.com.google.protobuf.Timestamp
getCreateTime()
Machine creation time.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Machine creation time.static MachineDetails
getDefaultInstance()
MachineDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
MachineDiskDetails
getDisks()
Disk details.MachineDiskDetailsOrBuilder
getDisksOrBuilder()
Disk details.GuestOsDetails
getGuestOs()
Guest OS information.GuestOsDetailsOrBuilder
getGuestOsOrBuilder()
Guest OS information.String
getMachineName()
Machine name.com.google.protobuf.ByteString
getMachineNameBytes()
Machine name.int
getMemoryMb()
The amount of memory in the machine.MachineNetworkDetails
getNetwork()
Network details.MachineNetworkDetailsOrBuilder
getNetworkOrBuilder()
Network details.com.google.protobuf.Parser<MachineDetails>
getParserForType()
PlatformDetails
getPlatform()
Platform specific information.PlatformDetailsOrBuilder
getPlatformOrBuilder()
Platform specific information.MachineDetails.PowerState
getPowerState()
Power state of the machine.int
getPowerStateValue()
Power state of the machine.int
getSerializedSize()
String
getUuid()
Machine unique identifier.com.google.protobuf.ByteString
getUuidBytes()
Machine unique identifier.boolean
hasArchitecture()
Architecture details (vendor, CPU architecture).boolean
hasCreateTime()
Machine creation time.boolean
hasDisks()
Disk details.boolean
hasGuestOs()
Guest OS information.int
hashCode()
boolean
hasNetwork()
Network details.boolean
hasPlatform()
Platform specific information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static MachineDetails.Builder
newBuilder()
static MachineDetails.Builder
newBuilder(MachineDetails prototype)
MachineDetails.Builder
newBuilderForType()
protected MachineDetails.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MachineDetails
parseDelimitedFrom(InputStream input)
static MachineDetails
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MachineDetails
parseFrom(byte[] data)
static MachineDetails
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MachineDetails
parseFrom(com.google.protobuf.ByteString data)
static MachineDetails
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MachineDetails
parseFrom(com.google.protobuf.CodedInputStream input)
static MachineDetails
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MachineDetails
parseFrom(InputStream input)
static MachineDetails
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MachineDetails
parseFrom(ByteBuffer data)
static MachineDetails
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MachineDetails>
parser()
MachineDetails.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACHINE_NAME_FIELD_NUMBER
public static final int MACHINE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CORE_COUNT_FIELD_NUMBER
public static final int CORE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMORY_MB_FIELD_NUMBER
public static final int MEMORY_MB_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POWER_STATE_FIELD_NUMBER
public static final int POWER_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARCHITECTURE_FIELD_NUMBER
public static final int ARCHITECTURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GUEST_OS_FIELD_NUMBER
public static final int GUEST_OS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLATFORM_FIELD_NUMBER
public static final int PLATFORM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getUuid
public String getUuid()
Machine unique identifier.
string uuid = 1;
- Specified by:
getUuid
in interfaceMachineDetailsOrBuilder
- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()
Machine unique identifier.
string uuid = 1;
- Specified by:
getUuidBytes
in interfaceMachineDetailsOrBuilder
- Returns:
- The bytes for uuid.
-
getMachineName
public String getMachineName()
Machine name.
string machine_name = 2;
- Specified by:
getMachineName
in interfaceMachineDetailsOrBuilder
- Returns:
- The machineName.
-
getMachineNameBytes
public com.google.protobuf.ByteString getMachineNameBytes()
Machine name.
string machine_name = 2;
- Specified by:
getMachineNameBytes
in interfaceMachineDetailsOrBuilder
- Returns:
- The bytes for machineName.
-
hasCreateTime
public boolean hasCreateTime()
Machine creation time.
.google.protobuf.Timestamp create_time = 3;
- Specified by:
hasCreateTime
in interfaceMachineDetailsOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Machine creation time.
.google.protobuf.Timestamp create_time = 3;
- Specified by:
getCreateTime
in interfaceMachineDetailsOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Machine creation time.
.google.protobuf.Timestamp create_time = 3;
- Specified by:
getCreateTimeOrBuilder
in interfaceMachineDetailsOrBuilder
-
getCoreCount
public int getCoreCount()
Number of CPU cores in the machine. Must be non-negative.
int32 core_count = 4;
- Specified by:
getCoreCount
in interfaceMachineDetailsOrBuilder
- Returns:
- The coreCount.
-
getMemoryMb
public int getMemoryMb()
The amount of memory in the machine. Must be non-negative.
int32 memory_mb = 5;
- Specified by:
getMemoryMb
in interfaceMachineDetailsOrBuilder
- Returns:
- The memoryMb.
-
getPowerStateValue
public int getPowerStateValue()
Power state of the machine.
.google.cloud.migrationcenter.v1.MachineDetails.PowerState power_state = 6;
- Specified by:
getPowerStateValue
in interfaceMachineDetailsOrBuilder
- Returns:
- The enum numeric value on the wire for powerState.
-
getPowerState
public MachineDetails.PowerState getPowerState()
Power state of the machine.
.google.cloud.migrationcenter.v1.MachineDetails.PowerState power_state = 6;
- Specified by:
getPowerState
in interfaceMachineDetailsOrBuilder
- Returns:
- The powerState.
-
hasArchitecture
public boolean hasArchitecture()
Architecture details (vendor, CPU architecture).
.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;
- Specified by:
hasArchitecture
in interfaceMachineDetailsOrBuilder
- Returns:
- Whether the architecture field is set.
-
getArchitecture
public MachineArchitectureDetails getArchitecture()
Architecture details (vendor, CPU architecture).
.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;
- Specified by:
getArchitecture
in interfaceMachineDetailsOrBuilder
- Returns:
- The architecture.
-
getArchitectureOrBuilder
public MachineArchitectureDetailsOrBuilder getArchitectureOrBuilder()
Architecture details (vendor, CPU architecture).
.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;
- Specified by:
getArchitectureOrBuilder
in interfaceMachineDetailsOrBuilder
-
hasGuestOs
public boolean hasGuestOs()
Guest OS information.
.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;
- Specified by:
hasGuestOs
in interfaceMachineDetailsOrBuilder
- Returns:
- Whether the guestOs field is set.
-
getGuestOs
public GuestOsDetails getGuestOs()
Guest OS information.
.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;
- Specified by:
getGuestOs
in interfaceMachineDetailsOrBuilder
- Returns:
- The guestOs.
-
getGuestOsOrBuilder
public GuestOsDetailsOrBuilder getGuestOsOrBuilder()
Guest OS information.
.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;
- Specified by:
getGuestOsOrBuilder
in interfaceMachineDetailsOrBuilder
-
hasNetwork
public boolean hasNetwork()
Network details.
.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;
- Specified by:
hasNetwork
in interfaceMachineDetailsOrBuilder
- Returns:
- Whether the network field is set.
-
getNetwork
public MachineNetworkDetails getNetwork()
Network details.
.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;
- Specified by:
getNetwork
in interfaceMachineDetailsOrBuilder
- Returns:
- The network.
-
getNetworkOrBuilder
public MachineNetworkDetailsOrBuilder getNetworkOrBuilder()
Network details.
.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;
- Specified by:
getNetworkOrBuilder
in interfaceMachineDetailsOrBuilder
-
hasDisks
public boolean hasDisks()
Disk details.
.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;
- Specified by:
hasDisks
in interfaceMachineDetailsOrBuilder
- Returns:
- Whether the disks field is set.
-
getDisks
public MachineDiskDetails getDisks()
Disk details.
.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;
- Specified by:
getDisks
in interfaceMachineDetailsOrBuilder
- Returns:
- The disks.
-
getDisksOrBuilder
public MachineDiskDetailsOrBuilder getDisksOrBuilder()
Disk details.
.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;
- Specified by:
getDisksOrBuilder
in interfaceMachineDetailsOrBuilder
-
hasPlatform
public boolean hasPlatform()
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;
- Specified by:
hasPlatform
in interfaceMachineDetailsOrBuilder
- Returns:
- Whether the platform field is set.
-
getPlatform
public PlatformDetails getPlatform()
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;
- Specified by:
getPlatform
in interfaceMachineDetailsOrBuilder
- Returns:
- The platform.
-
getPlatformOrBuilder
public PlatformDetailsOrBuilder getPlatformOrBuilder()
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;
- Specified by:
getPlatformOrBuilder
in interfaceMachineDetailsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MachineDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineDetails parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MachineDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MachineDetails parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MachineDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MachineDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MachineDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MachineDetails.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MachineDetails.Builder newBuilder()
-
newBuilder
public static MachineDetails.Builder newBuilder(MachineDetails prototype)
-
toBuilder
public MachineDetails.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MachineDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MachineDetails getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MachineDetails> parser()
-
getParserForType
public com.google.protobuf.Parser<MachineDetails> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MachineDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-