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 classMachineDetails.BuilderDetails of a machine.static classMachineDetails.PowerStateMachine 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 intARCHITECTURE_FIELD_NUMBERstatic intCORE_COUNT_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDISKS_FIELD_NUMBERstatic intGUEST_OS_FIELD_NUMBERstatic intMACHINE_NAME_FIELD_NUMBERstatic intMEMORY_MB_FIELD_NUMBERstatic intNETWORK_FIELD_NUMBERstatic intPLATFORM_FIELD_NUMBERstatic intPOWER_STATE_FIELD_NUMBERstatic intUUID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)MachineArchitectureDetailsgetArchitecture()Architecture details (vendor, CPU architecture).MachineArchitectureDetailsOrBuildergetArchitectureOrBuilder()Architecture details (vendor, CPU architecture).intgetCoreCount()Number of CPU cores in the machine.com.google.protobuf.TimestampgetCreateTime()Machine creation time.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Machine creation time.static MachineDetailsgetDefaultInstance()MachineDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()MachineDiskDetailsgetDisks()Disk details.MachineDiskDetailsOrBuildergetDisksOrBuilder()Disk details.GuestOsDetailsgetGuestOs()Guest OS information.GuestOsDetailsOrBuildergetGuestOsOrBuilder()Guest OS information.StringgetMachineName()Machine name.com.google.protobuf.ByteStringgetMachineNameBytes()Machine name.intgetMemoryMb()The amount of memory in the machine.MachineNetworkDetailsgetNetwork()Network details.MachineNetworkDetailsOrBuildergetNetworkOrBuilder()Network details.com.google.protobuf.Parser<MachineDetails>getParserForType()PlatformDetailsgetPlatform()Platform specific information.PlatformDetailsOrBuildergetPlatformOrBuilder()Platform specific information.MachineDetails.PowerStategetPowerState()Power state of the machine.intgetPowerStateValue()Power state of the machine.intgetSerializedSize()StringgetUuid()Machine unique identifier.com.google.protobuf.ByteStringgetUuidBytes()Machine unique identifier.booleanhasArchitecture()Architecture details (vendor, CPU architecture).booleanhasCreateTime()Machine creation time.booleanhasDisks()Disk details.booleanhasGuestOs()Guest OS information.inthashCode()booleanhasNetwork()Network details.booleanhasPlatform()Platform specific information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MachineDetails.BuildernewBuilder()static MachineDetails.BuildernewBuilder(MachineDetails prototype)MachineDetails.BuildernewBuilderForType()protected MachineDetails.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MachineDetailsparseDelimitedFrom(InputStream input)static MachineDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineDetailsparseFrom(byte[] data)static MachineDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineDetailsparseFrom(com.google.protobuf.ByteString data)static MachineDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineDetailsparseFrom(com.google.protobuf.CodedInputStream input)static MachineDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineDetailsparseFrom(InputStream input)static MachineDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineDetailsparseFrom(ByteBuffer data)static MachineDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MachineDetails>parser()MachineDetails.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getUuid
public String getUuid()
Machine unique identifier.
string uuid = 1;- Specified by:
getUuidin interfaceMachineDetailsOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()
Machine unique identifier.
string uuid = 1;- Specified by:
getUuidBytesin interfaceMachineDetailsOrBuilder- Returns:
- The bytes for uuid.
-
getMachineName
public String getMachineName()
Machine name.
string machine_name = 2;- Specified by:
getMachineNamein interfaceMachineDetailsOrBuilder- Returns:
- The machineName.
-
getMachineNameBytes
public com.google.protobuf.ByteString getMachineNameBytes()
Machine name.
string machine_name = 2;- Specified by:
getMachineNameBytesin interfaceMachineDetailsOrBuilder- Returns:
- The bytes for machineName.
-
hasCreateTime
public boolean hasCreateTime()
Machine creation time.
.google.protobuf.Timestamp create_time = 3;- Specified by:
hasCreateTimein 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:
getCreateTimein interfaceMachineDetailsOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Machine creation time.
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimeOrBuilderin interfaceMachineDetailsOrBuilder
-
getCoreCount
public int getCoreCount()
Number of CPU cores in the machine. Must be non-negative.
int32 core_count = 4;- Specified by:
getCoreCountin 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:
getMemoryMbin interfaceMachineDetailsOrBuilder- Returns:
- The memoryMb.
-
getPowerStateValue
public int getPowerStateValue()
Power state of the machine.
.google.cloud.migrationcenter.v1.MachineDetails.PowerState power_state = 6;- Specified by:
getPowerStateValuein 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:
getPowerStatein interfaceMachineDetailsOrBuilder- Returns:
- The powerState.
-
hasArchitecture
public boolean hasArchitecture()
Architecture details (vendor, CPU architecture).
.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;- Specified by:
hasArchitecturein 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:
getArchitecturein interfaceMachineDetailsOrBuilder- Returns:
- The architecture.
-
getArchitectureOrBuilder
public MachineArchitectureDetailsOrBuilder getArchitectureOrBuilder()
Architecture details (vendor, CPU architecture).
.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;- Specified by:
getArchitectureOrBuilderin interfaceMachineDetailsOrBuilder
-
hasGuestOs
public boolean hasGuestOs()
Guest OS information.
.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;- Specified by:
hasGuestOsin 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:
getGuestOsin interfaceMachineDetailsOrBuilder- Returns:
- The guestOs.
-
getGuestOsOrBuilder
public GuestOsDetailsOrBuilder getGuestOsOrBuilder()
Guest OS information.
.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;- Specified by:
getGuestOsOrBuilderin interfaceMachineDetailsOrBuilder
-
hasNetwork
public boolean hasNetwork()
Network details.
.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;- Specified by:
hasNetworkin interfaceMachineDetailsOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public MachineNetworkDetails getNetwork()
Network details.
.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;- Specified by:
getNetworkin interfaceMachineDetailsOrBuilder- Returns:
- The network.
-
getNetworkOrBuilder
public MachineNetworkDetailsOrBuilder getNetworkOrBuilder()
Network details.
.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;- Specified by:
getNetworkOrBuilderin interfaceMachineDetailsOrBuilder
-
hasDisks
public boolean hasDisks()
Disk details.
.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;- Specified by:
hasDisksin interfaceMachineDetailsOrBuilder- Returns:
- Whether the disks field is set.
-
getDisks
public MachineDiskDetails getDisks()
Disk details.
.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;- Specified by:
getDisksin interfaceMachineDetailsOrBuilder- Returns:
- The disks.
-
getDisksOrBuilder
public MachineDiskDetailsOrBuilder getDisksOrBuilder()
Disk details.
.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;- Specified by:
getDisksOrBuilderin interfaceMachineDetailsOrBuilder
-
hasPlatform
public boolean hasPlatform()
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;- Specified by:
hasPlatformin interfaceMachineDetailsOrBuilder- Returns:
- Whether the platform field is set.
-
getPlatform
public PlatformDetails getPlatform()
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;- Specified by:
getPlatformin interfaceMachineDetailsOrBuilder- Returns:
- The platform.
-
getPlatformOrBuilder
public PlatformDetailsOrBuilder getPlatformOrBuilder()
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;- Specified by:
getPlatformOrBuilderin interfaceMachineDetailsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MachineDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MachineDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-