Class MachineDiskDetails (0.15.0)

public final class MachineDiskDetails extends GeneratedMessageV3 implements MachineDiskDetailsOrBuilder

Details of machine disks.

Protobuf type google.cloud.migrationcenter.v1.MachineDiskDetails

Static Fields

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_CAPACITY_BYTES_FIELD_NUMBER

public static final int TOTAL_CAPACITY_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_FREE_BYTES_FIELD_NUMBER

public static final int TOTAL_FREE_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MachineDiskDetails getDefaultInstance()
Returns
TypeDescription
MachineDiskDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MachineDiskDetails.Builder newBuilder()
Returns
TypeDescription
MachineDiskDetails.Builder

newBuilder(MachineDiskDetails prototype)

public static MachineDiskDetails.Builder newBuilder(MachineDiskDetails prototype)
Parameter
NameDescription
prototypeMachineDiskDetails
Returns
TypeDescription
MachineDiskDetails.Builder

parseDelimitedFrom(InputStream input)

public static MachineDiskDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MachineDiskDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MachineDiskDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MachineDiskDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MachineDiskDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MachineDiskDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MachineDiskDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MachineDiskDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MachineDiskDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MachineDiskDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MachineDiskDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MachineDiskDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineDiskDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MachineDiskDetails> parser()
Returns
TypeDescription
Parser<MachineDiskDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MachineDiskDetails getDefaultInstanceForType()
Returns
TypeDescription
MachineDiskDetails

getDisks()

public DiskEntryList getDisks()

List of disks.

.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;

Returns
TypeDescription
DiskEntryList

The disks.

getDisksOrBuilder()

public DiskEntryListOrBuilder getDisksOrBuilder()

List of disks.

.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;

Returns
TypeDescription
DiskEntryListOrBuilder

getParserForType()

public Parser<MachineDiskDetails> getParserForType()
Returns
TypeDescription
Parser<MachineDiskDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalCapacityBytes()

public long getTotalCapacityBytes()

Disk total Capacity.

int64 total_capacity_bytes = 1;

Returns
TypeDescription
long

The totalCapacityBytes.

getTotalFreeBytes()

public long getTotalFreeBytes()

Total disk free space.

int64 total_free_bytes = 2;

Returns
TypeDescription
long

The totalFreeBytes.

hasDisks()

public boolean hasDisks()

List of disks.

.google.cloud.migrationcenter.v1.DiskEntryList disks = 3;

Returns
TypeDescription
boolean

Whether the disks field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MachineDiskDetails.Builder newBuilderForType()
Returns
TypeDescription
MachineDiskDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MachineDiskDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MachineDiskDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MachineDiskDetails.Builder toBuilder()
Returns
TypeDescription
MachineDiskDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException