Class DiskUsageSample (0.9.0)

public final class DiskUsageSample extends GeneratedMessageV3 implements DiskUsageSampleOrBuilder

Disk usage sample. Values are across all disks.

Protobuf type google.cloud.migrationcenter.v1.DiskUsageSample

Static Fields

AVERAGE_IOPS_FIELD_NUMBER

public static final int AVERAGE_IOPS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiskUsageSample getDefaultInstance()
Returns
TypeDescription
DiskUsageSample

getDescriptor()

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

newBuilder()

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

newBuilder(DiskUsageSample prototype)

public static DiskUsageSample.Builder newBuilder(DiskUsageSample prototype)
Parameter
NameDescription
prototypeDiskUsageSample
Returns
TypeDescription
DiskUsageSample.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAverageIops()

public float getAverageIops()

Average IOPS sampled over a short window. Must be non-negative.

float average_iops = 1;

Returns
TypeDescription
float

The averageIops.

getDefaultInstanceForType()

public DiskUsageSample getDefaultInstanceForType()
Returns
TypeDescription
DiskUsageSample

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 DiskUsageSample.Builder newBuilderForType()
Returns
TypeDescription
DiskUsageSample.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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