Class MachineDetails
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class MachineDetails
extends com.google.protobuf.GeneratedMessage
implements MachineDetailsOrBuilder
Details of a machine.Protobuf type
google.cloud.migrationcenter.v1.MachineDetails- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails of a machine.static enumMachine power state.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanArchitecture details (vendor, CPU architecture).Architecture details (vendor, CPU architecture).intNumber of CPU cores in the machine.com.google.protobuf.TimestampMachine creation time.com.google.protobuf.TimestampOrBuilderMachine creation time.static MachineDetailsstatic final com.google.protobuf.Descriptors.DescriptorgetDisks()Disk details.Disk details.Guest OS information.Guest OS information.Machine name.com.google.protobuf.ByteStringMachine name.intThe amount of memory in the machine.Network details.Network details.com.google.protobuf.Parser<MachineDetails>Platform specific information.Platform specific information.Power state of the machine.intPower state of the machine.intgetUuid()Machine unique identifier.com.google.protobuf.ByteStringMachine unique identifier.booleanArchitecture details (vendor, CPU architecture).booleanMachine creation time.booleanhasDisks()Disk details.booleanGuest OS information.inthashCode()booleanNetwork details.booleanPlatform specific information.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic MachineDetails.Builderstatic MachineDetails.BuildernewBuilder(MachineDetails prototype) protected MachineDetails.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER- See Also:
-
MACHINE_NAME_FIELD_NUMBER
public static final int MACHINE_NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
CORE_COUNT_FIELD_NUMBER
public static final int CORE_COUNT_FIELD_NUMBER- See Also:
-
MEMORY_MB_FIELD_NUMBER
public static final int MEMORY_MB_FIELD_NUMBER- See Also:
-
POWER_STATE_FIELD_NUMBER
public static final int POWER_STATE_FIELD_NUMBER- See Also:
-
ARCHITECTURE_FIELD_NUMBER
public static final int ARCHITECTURE_FIELD_NUMBER- See Also:
-
GUEST_OS_FIELD_NUMBER
public static final int GUEST_OS_FIELD_NUMBER- See Also:
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER- See Also:
-
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER- See Also:
-
PLATFORM_FIELD_NUMBER
public static final int PLATFORM_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
Architecture details (vendor, CPU architecture).
.google.cloud.migrationcenter.v1.MachineArchitectureDetails architecture = 7;- Specified by:
getArchitecturein interfaceMachineDetailsOrBuilder- Returns:
- The architecture.
-
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
Guest OS information.
.google.cloud.migrationcenter.v1.GuestOsDetails guest_os = 8;- Specified by:
getGuestOsin interfaceMachineDetailsOrBuilder- Returns:
- The guestOs.
-
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
Network details.
.google.cloud.migrationcenter.v1.MachineNetworkDetails network = 9;- Specified by:
getNetworkin interfaceMachineDetailsOrBuilder- Returns:
- The network.
-
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
Disk details.
.google.cloud.migrationcenter.v1.MachineDiskDetails disks = 10;- Specified by:
getDisksin interfaceMachineDetailsOrBuilder- Returns:
- The disks.
-
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
Platform specific information.
.google.cloud.migrationcenter.v1.PlatformDetails platform = 11;- Specified by:
getPlatformin interfaceMachineDetailsOrBuilder- Returns:
- The platform.
-
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static MachineDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MachineDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-