Class DiskEntry
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.migrationcenter.v1.DiskEntry
- All Implemented Interfaces:
DiskEntryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DiskEntry
extends com.google.protobuf.GeneratedMessage
implements DiskEntryOrBuilder
Single disk entry.Protobuf type
google.cloud.migrationcenter.v1.DiskEntry- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSingle disk entry.static enumDisks interface type.static enumNested 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 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 TypeMethodDescriptionbooleanlongDisk capacity.static DiskEntrystatic final com.google.protobuf.Descriptors.DescriptorDisk label.com.google.protobuf.ByteStringDisk label.Disk label type (e.g.com.google.protobuf.ByteStringDisk label type (e.g.longDisk free space.Disk hardware address (e.g. 0:1 for SCSI).com.google.protobuf.ByteStringDisk hardware address (e.g. 0:1 for SCSI).Disks interface type.intDisks interface type.com.google.protobuf.Parser<DiskEntry>Partition layout.Partition layout.intVMware disk details.VMware disk details.inthashCode()booleanPartition layout.booleanVMware disk details.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DiskEntry.Builderstatic DiskEntry.BuildernewBuilder(DiskEntry prototype) protected DiskEntry.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DiskEntryparseDelimitedFrom(InputStream input) static DiskEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiskEntryparseFrom(byte[] data) static DiskEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiskEntryparseFrom(com.google.protobuf.ByteString data) static DiskEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiskEntryparseFrom(com.google.protobuf.CodedInputStream input) static DiskEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiskEntryparseFrom(InputStream input) static DiskEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiskEntryparseFrom(ByteBuffer data) static DiskEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DiskEntry>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
-
CAPACITY_BYTES_FIELD_NUMBER
public static final int CAPACITY_BYTES_FIELD_NUMBER- See Also:
-
FREE_BYTES_FIELD_NUMBER
public static final int FREE_BYTES_FIELD_NUMBER- See Also:
-
DISK_LABEL_FIELD_NUMBER
public static final int DISK_LABEL_FIELD_NUMBER- See Also:
-
DISK_LABEL_TYPE_FIELD_NUMBER
public static final int DISK_LABEL_TYPE_FIELD_NUMBER- See Also:
-
INTERFACE_TYPE_FIELD_NUMBER
public static final int INTERFACE_TYPE_FIELD_NUMBER- See Also:
-
PARTITIONS_FIELD_NUMBER
public static final int PARTITIONS_FIELD_NUMBER- See Also:
-
HW_ADDRESS_FIELD_NUMBER
public static final int HW_ADDRESS_FIELD_NUMBER- See Also:
-
VMWARE_FIELD_NUMBER
public static final int VMWARE_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
-
getPlatformSpecificCase
- Specified by:
getPlatformSpecificCasein interfaceDiskEntryOrBuilder
-
getCapacityBytes
public long getCapacityBytes()Disk capacity.
int64 capacity_bytes = 1;- Specified by:
getCapacityBytesin interfaceDiskEntryOrBuilder- Returns:
- The capacityBytes.
-
getFreeBytes
public long getFreeBytes()Disk free space.
int64 free_bytes = 2;- Specified by:
getFreeBytesin interfaceDiskEntryOrBuilder- Returns:
- The freeBytes.
-
getDiskLabel
Disk label.
string disk_label = 3;- Specified by:
getDiskLabelin interfaceDiskEntryOrBuilder- Returns:
- The diskLabel.
-
getDiskLabelBytes
public com.google.protobuf.ByteString getDiskLabelBytes()Disk label.
string disk_label = 3;- Specified by:
getDiskLabelBytesin interfaceDiskEntryOrBuilder- Returns:
- The bytes for diskLabel.
-
getDiskLabelType
Disk label type (e.g. BIOS/GPT)
string disk_label_type = 4;- Specified by:
getDiskLabelTypein interfaceDiskEntryOrBuilder- Returns:
- The diskLabelType.
-
getDiskLabelTypeBytes
public com.google.protobuf.ByteString getDiskLabelTypeBytes()Disk label type (e.g. BIOS/GPT)
string disk_label_type = 4;- Specified by:
getDiskLabelTypeBytesin interfaceDiskEntryOrBuilder- Returns:
- The bytes for diskLabelType.
-
getInterfaceTypeValue
public int getInterfaceTypeValue()Disks interface type.
.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;- Specified by:
getInterfaceTypeValuein interfaceDiskEntryOrBuilder- Returns:
- The enum numeric value on the wire for interfaceType.
-
getInterfaceType
Disks interface type.
.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;- Specified by:
getInterfaceTypein interfaceDiskEntryOrBuilder- Returns:
- The interfaceType.
-
hasPartitions
public boolean hasPartitions()Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;- Specified by:
hasPartitionsin interfaceDiskEntryOrBuilder- Returns:
- Whether the partitions field is set.
-
getPartitions
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;- Specified by:
getPartitionsin interfaceDiskEntryOrBuilder- Returns:
- The partitions.
-
getPartitionsOrBuilder
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;- Specified by:
getPartitionsOrBuilderin interfaceDiskEntryOrBuilder
-
getHwAddress
Disk hardware address (e.g. 0:1 for SCSI).
string hw_address = 7;- Specified by:
getHwAddressin interfaceDiskEntryOrBuilder- Returns:
- The hwAddress.
-
getHwAddressBytes
public com.google.protobuf.ByteString getHwAddressBytes()Disk hardware address (e.g. 0:1 for SCSI).
string hw_address = 7;- Specified by:
getHwAddressBytesin interfaceDiskEntryOrBuilder- Returns:
- The bytes for hwAddress.
-
hasVmware
public boolean hasVmware()VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;- Specified by:
hasVmwarein interfaceDiskEntryOrBuilder- Returns:
- Whether the vmware field is set.
-
getVmware
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;- Specified by:
getVmwarein interfaceDiskEntryOrBuilder- Returns:
- The vmware.
-
getVmwareOrBuilder
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;- Specified by:
getVmwareOrBuilderin interfaceDiskEntryOrBuilder
-
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 DiskEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiskEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiskEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiskEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiskEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiskEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DiskEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DiskEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DiskEntry 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 DiskEntry.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
-