public final class DiskPartition extends GeneratedMessageV3 implements DiskPartitionOrBuilder
Disk Partition details.
Protobuf type google.cloud.migrationcenter.v1.DiskPartition
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DiskPartitionImplements
DiskPartitionOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
DiskPartition |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static DiskPartition.Builder newBuilder()
Returns | |
---|---|
Type | Description |
DiskPartition.Builder |
newBuilder(DiskPartition prototype)
public static DiskPartition.Builder newBuilder(DiskPartition prototype)
Parameter | |
---|---|
Name | Description |
prototype | DiskPartition |
Returns | |
---|---|
Type | Description |
DiskPartition.Builder |
parseDelimitedFrom(InputStream input)
public static DiskPartition parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static DiskPartition parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DiskPartition parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DiskPartition parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static DiskPartition parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DiskPartition parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskPartition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskPartition |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DiskPartition> parser()
Returns | |
---|---|
Type | Description |
Parser<DiskPartition> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getCapacityBytes()
public long getCapacityBytes()
Partition capacity.
int64 capacity_bytes = 4;
Returns | |
---|---|
Type | Description |
long | The capacityBytes. |
getDefaultInstanceForType()
public DiskPartition getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiskPartition |
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()
Returns | |
---|---|
Type | Description |
Parser<DiskPartition> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSubPartitions()
public DiskPartitionList getSubPartitions()
Sub-partitions.
.google.cloud.migrationcenter.v1.DiskPartitionList sub_partitions = 7;
Returns | |
---|---|
Type | Description |
DiskPartitionList | The subPartitions. |
getSubPartitionsOrBuilder()
public DiskPartitionListOrBuilder getSubPartitionsOrBuilder()
Sub-partitions.
.google.cloud.migrationcenter.v1.DiskPartitionList sub_partitions = 7;
Returns | |
---|---|
Type | Description |
DiskPartitionListOrBuilder |
getType()
public String 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()
public String 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()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public DiskPartition.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
DiskPartition.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskPartition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
DiskPartition.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public DiskPartition.Builder toBuilder()
Returns | |
---|---|
Type | Description |
DiskPartition.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |