Class DiskEntry
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class DiskEntry extends com.google.protobuf.GeneratedMessageV3 implements DiskEntryOrBuilder
Single disk entry.
Protobuf typegoogle.cloud.migrationcenter.v1.DiskEntry- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiskEntry.BuilderSingle disk entry.static classDiskEntry.InterfaceTypeDisks interface type.static classDiskEntry.PlatformSpecificCase-
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 intCAPACITY_BYTES_FIELD_NUMBERstatic intDISK_LABEL_FIELD_NUMBERstatic intDISK_LABEL_TYPE_FIELD_NUMBERstatic intFREE_BYTES_FIELD_NUMBERstatic intHW_ADDRESS_FIELD_NUMBERstatic intINTERFACE_TYPE_FIELD_NUMBERstatic intPARTITIONS_FIELD_NUMBERstatic intVMWARE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetCapacityBytes()Disk capacity.static DiskEntrygetDefaultInstance()DiskEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDiskLabel()Disk label.com.google.protobuf.ByteStringgetDiskLabelBytes()Disk label.StringgetDiskLabelType()Disk label type (e.g.com.google.protobuf.ByteStringgetDiskLabelTypeBytes()Disk label type (e.g.longgetFreeBytes()Disk free space.StringgetHwAddress()Disk hardware address (e.g.com.google.protobuf.ByteStringgetHwAddressBytes()Disk hardware address (e.g.DiskEntry.InterfaceTypegetInterfaceType()Disks interface type.intgetInterfaceTypeValue()Disks interface type.com.google.protobuf.Parser<DiskEntry>getParserForType()DiskPartitionListgetPartitions()Partition layout.DiskPartitionListOrBuildergetPartitionsOrBuilder()Partition layout.DiskEntry.PlatformSpecificCasegetPlatformSpecificCase()intgetSerializedSize()VmwareDiskConfiggetVmware()VMware disk details.VmwareDiskConfigOrBuildergetVmwareOrBuilder()VMware disk details.inthashCode()booleanhasPartitions()Partition layout.booleanhasVmware()VMware disk details.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DiskEntry.BuildernewBuilder()static DiskEntry.BuildernewBuilder(DiskEntry prototype)DiskEntry.BuildernewBuilderForType()protected DiskEntry.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()DiskEntry.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
-
CAPACITY_BYTES_FIELD_NUMBER
public static final int CAPACITY_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FREE_BYTES_FIELD_NUMBER
public static final int FREE_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISK_LABEL_FIELD_NUMBER
public static final int DISK_LABEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISK_LABEL_TYPE_FIELD_NUMBER
public static final int DISK_LABEL_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERFACE_TYPE_FIELD_NUMBER
public static final int INTERFACE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITIONS_FIELD_NUMBER
public static final int PARTITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HW_ADDRESS_FIELD_NUMBER
public static final int HW_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VMWARE_FIELD_NUMBER
public static final int VMWARE_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
-
getPlatformSpecificCase
public DiskEntry.PlatformSpecificCase 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
public String 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
public String 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
public DiskEntry.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
public DiskPartitionList getPartitions()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;- Specified by:
getPartitionsin interfaceDiskEntryOrBuilder- Returns:
- The partitions.
-
getPartitionsOrBuilder
public DiskPartitionListOrBuilder getPartitionsOrBuilder()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;- Specified by:
getPartitionsOrBuilderin interfaceDiskEntryOrBuilder
-
getHwAddress
public String 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
public VmwareDiskConfig getVmware()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;- Specified by:
getVmwarein interfaceDiskEntryOrBuilder- Returns:
- The vmware.
-
getVmwareOrBuilder
public VmwareDiskConfigOrBuilder 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.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 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
public static DiskEntry parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DiskEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DiskEntry parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DiskEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DiskEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DiskEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DiskEntry.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DiskEntry.Builder newBuilder()
-
newBuilder
public static DiskEntry.Builder newBuilder(DiskEntry prototype)
-
toBuilder
public DiskEntry.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiskEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DiskEntry getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DiskEntry> parser()
-
getParserForType
public com.google.protobuf.Parser<DiskEntry> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DiskEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-