public final class DiskPartition extends GeneratedMessageV3 implements DiskPartitionOrBuilder
Disk Partition details.
Protobuf type google.cloud.migrationcenter.v1.DiskPartition
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CAPACITY_BYTES_FIELD_NUMBER
public static final int CAPACITY_BYTES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FILE_SYSTEM_FIELD_NUMBER
public static final int FILE_SYSTEM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FREE_BYTES_FIELD_NUMBER
public static final int FREE_BYTES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MOUNT_POINT_FIELD_NUMBER
public static final int MOUNT_POINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUB_PARTITIONS_FIELD_NUMBER
public static final int SUB_PARTITIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DiskPartition getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiskPartition.Builder newBuilder()
newBuilder(DiskPartition prototype)
public static DiskPartition.Builder newBuilder(DiskPartition prototype)
public static DiskPartition parseDelimitedFrom(InputStream input)
public static DiskPartition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiskPartition parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiskPartition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(CodedInputStream input)
public static DiskPartition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(InputStream input)
public static DiskPartition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiskPartition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiskPartition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCapacityBytes()
public long getCapacityBytes()
Partition capacity.
int64 capacity_bytes = 4;
Returns |
---|
Type | Description |
long | The capacityBytes.
|
getDefaultInstanceForType()
public DiskPartition getDefaultInstanceForType()
getFileSystem()
public String getFileSystem()
Partition file system.
string file_system = 2;
Returns |
---|
Type | Description |
String | The fileSystem.
|
getFileSystemBytes()
public ByteString getFileSystemBytes()
Partition file system.
string file_system = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for fileSystem.
|
getFreeBytes()
public long getFreeBytes()
Partition free space.
int64 free_bytes = 5;
Returns |
---|
Type | Description |
long | The freeBytes.
|
getMountPoint()
public String getMountPoint()
Mount pount (Linux/Windows) or drive letter (Windows).
string mount_point = 3;
Returns |
---|
Type | Description |
String | The mountPoint.
|
getMountPointBytes()
public ByteString getMountPointBytes()
Mount pount (Linux/Windows) or drive letter (Windows).
string mount_point = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for mountPoint.
|
getParserForType()
public Parser<DiskPartition> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSubPartitions()
public DiskPartitionList getSubPartitions()
Sub-partitions.
.google.cloud.migrationcenter.v1.DiskPartitionList sub_partitions = 7;
getSubPartitionsOrBuilder()
public DiskPartitionListOrBuilder getSubPartitionsOrBuilder()
Sub-partitions.
.google.cloud.migrationcenter.v1.DiskPartitionList sub_partitions = 7;
getType()
Partition type.
string type = 1;
Returns |
---|
Type | Description |
String | The type.
|
getTypeBytes()
public ByteString getTypeBytes()
Partition type.
string type = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for type.
|
getUuid()
Partition UUID.
string uuid = 6;
Returns |
---|
Type | Description |
String | The uuid.
|
getUuidBytes()
public ByteString getUuidBytes()
Partition UUID.
string uuid = 6;
Returns |
---|
Type | Description |
ByteString | The bytes for uuid.
|
hasSubPartitions()
public boolean hasSubPartitions()
Sub-partitions.
.google.cloud.migrationcenter.v1.DiskPartitionList sub_partitions = 7;
Returns |
---|
Type | Description |
boolean | Whether the subPartitions field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiskPartition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskPartition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DiskPartition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides