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 class
DiskEntry.Builder
Single disk entry.static class
DiskEntry.InterfaceType
Disks interface type.static class
DiskEntry.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 int
CAPACITY_BYTES_FIELD_NUMBER
static int
DISK_LABEL_FIELD_NUMBER
static int
DISK_LABEL_TYPE_FIELD_NUMBER
static int
FREE_BYTES_FIELD_NUMBER
static int
HW_ADDRESS_FIELD_NUMBER
static int
INTERFACE_TYPE_FIELD_NUMBER
static int
PARTITIONS_FIELD_NUMBER
static int
VMWARE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
long
getCapacityBytes()
Disk capacity.static DiskEntry
getDefaultInstance()
DiskEntry
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDiskLabel()
Disk label.com.google.protobuf.ByteString
getDiskLabelBytes()
Disk label.String
getDiskLabelType()
Disk label type (e.g.com.google.protobuf.ByteString
getDiskLabelTypeBytes()
Disk label type (e.g.long
getFreeBytes()
Disk free space.String
getHwAddress()
Disk hardware address (e.g.com.google.protobuf.ByteString
getHwAddressBytes()
Disk hardware address (e.g.DiskEntry.InterfaceType
getInterfaceType()
Disks interface type.int
getInterfaceTypeValue()
Disks interface type.com.google.protobuf.Parser<DiskEntry>
getParserForType()
DiskPartitionList
getPartitions()
Partition layout.DiskPartitionListOrBuilder
getPartitionsOrBuilder()
Partition layout.DiskEntry.PlatformSpecificCase
getPlatformSpecificCase()
int
getSerializedSize()
VmwareDiskConfig
getVmware()
VMware disk details.VmwareDiskConfigOrBuilder
getVmwareOrBuilder()
VMware disk details.int
hashCode()
boolean
hasPartitions()
Partition layout.boolean
hasVmware()
VMware disk details.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DiskEntry.Builder
newBuilder()
static DiskEntry.Builder
newBuilder(DiskEntry prototype)
DiskEntry.Builder
newBuilderForType()
protected DiskEntry.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DiskEntry
parseDelimitedFrom(InputStream input)
static DiskEntry
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiskEntry
parseFrom(byte[] data)
static DiskEntry
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiskEntry
parseFrom(com.google.protobuf.ByteString data)
static DiskEntry
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiskEntry
parseFrom(com.google.protobuf.CodedInputStream input)
static DiskEntry
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiskEntry
parseFrom(InputStream input)
static DiskEntry
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiskEntry
parseFrom(ByteBuffer data)
static DiskEntry
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DiskEntry>
parser()
DiskEntry.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
-
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:
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
-
getPlatformSpecificCase
public DiskEntry.PlatformSpecificCase getPlatformSpecificCase()
- Specified by:
getPlatformSpecificCase
in interfaceDiskEntryOrBuilder
-
getCapacityBytes
public long getCapacityBytes()
Disk capacity.
int64 capacity_bytes = 1;
- Specified by:
getCapacityBytes
in interfaceDiskEntryOrBuilder
- Returns:
- The capacityBytes.
-
getFreeBytes
public long getFreeBytes()
Disk free space.
int64 free_bytes = 2;
- Specified by:
getFreeBytes
in interfaceDiskEntryOrBuilder
- Returns:
- The freeBytes.
-
getDiskLabel
public String getDiskLabel()
Disk label.
string disk_label = 3;
- Specified by:
getDiskLabel
in interfaceDiskEntryOrBuilder
- Returns:
- The diskLabel.
-
getDiskLabelBytes
public com.google.protobuf.ByteString getDiskLabelBytes()
Disk label.
string disk_label = 3;
- Specified by:
getDiskLabelBytes
in interfaceDiskEntryOrBuilder
- Returns:
- The bytes for diskLabel.
-
getDiskLabelType
public String getDiskLabelType()
Disk label type (e.g. BIOS/GPT)
string disk_label_type = 4;
- Specified by:
getDiskLabelType
in 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:
getDiskLabelTypeBytes
in interfaceDiskEntryOrBuilder
- Returns:
- The bytes for diskLabelType.
-
getInterfaceTypeValue
public int getInterfaceTypeValue()
Disks interface type.
.google.cloud.migrationcenter.v1.DiskEntry.InterfaceType interface_type = 5;
- Specified by:
getInterfaceTypeValue
in 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:
getInterfaceType
in interfaceDiskEntryOrBuilder
- Returns:
- The interfaceType.
-
hasPartitions
public boolean hasPartitions()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
- Specified by:
hasPartitions
in interfaceDiskEntryOrBuilder
- Returns:
- Whether the partitions field is set.
-
getPartitions
public DiskPartitionList getPartitions()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
- Specified by:
getPartitions
in interfaceDiskEntryOrBuilder
- Returns:
- The partitions.
-
getPartitionsOrBuilder
public DiskPartitionListOrBuilder getPartitionsOrBuilder()
Partition layout.
.google.cloud.migrationcenter.v1.DiskPartitionList partitions = 6;
- Specified by:
getPartitionsOrBuilder
in interfaceDiskEntryOrBuilder
-
getHwAddress
public String getHwAddress()
Disk hardware address (e.g. 0:1 for SCSI).
string hw_address = 7;
- Specified by:
getHwAddress
in 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:
getHwAddressBytes
in interfaceDiskEntryOrBuilder
- Returns:
- The bytes for hwAddress.
-
hasVmware
public boolean hasVmware()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
- Specified by:
hasVmware
in interfaceDiskEntryOrBuilder
- Returns:
- Whether the vmware field is set.
-
getVmware
public VmwareDiskConfig getVmware()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
- Specified by:
getVmware
in interfaceDiskEntryOrBuilder
- Returns:
- The vmware.
-
getVmwareOrBuilder
public VmwareDiskConfigOrBuilder getVmwareOrBuilder()
VMware disk details.
.google.cloud.migrationcenter.v1.VmwareDiskConfig vmware = 20;
- Specified by:
getVmwareOrBuilder
in interfaceDiskEntryOrBuilder
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiskEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DiskEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-