public final class DiskUsageSample extends GeneratedMessageV3 implements DiskUsageSampleOrBuilder
Disk usage sample. Values are across all disks.
Protobuf type google.cloud.migrationcenter.v1.DiskUsageSample
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DiskUsageSampleImplements
DiskUsageSampleOrBuilderStatic Fields
AVERAGE_IOPS_FIELD_NUMBER
public static final int AVERAGE_IOPS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DiskUsageSample getDefaultInstance()
Returns | |
---|---|
Type | Description |
DiskUsageSample |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static DiskUsageSample.Builder newBuilder()
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |
newBuilder(DiskUsageSample prototype)
public static DiskUsageSample.Builder newBuilder(DiskUsageSample prototype)
Parameter | |
---|---|
Name | Description |
prototype | DiskUsageSample |
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |
parseDelimitedFrom(InputStream input)
public static DiskUsageSample parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskUsageSample parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static DiskUsageSample parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskUsageSample parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DiskUsageSample parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskUsageSample parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DiskUsageSample parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskUsageSample parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static DiskUsageSample parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskUsageSample parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DiskUsageSample parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskUsageSample parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiskUsageSample |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DiskUsageSample> parser()
Returns | |
---|---|
Type | Description |
Parser<DiskUsageSample> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getAverageIops()
public float getAverageIops()
Average IOPS sampled over a short window. Must be non-negative.
float average_iops = 1;
Returns | |
---|---|
Type | Description |
float | The averageIops. |
getDefaultInstanceForType()
public DiskUsageSample getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiskUsageSample |
getParserForType()
public Parser<DiskUsageSample> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<DiskUsageSample> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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 DiskUsageSample.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskUsageSample.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public DiskUsageSample.Builder toBuilder()
Returns | |
---|---|
Type | Description |
DiskUsageSample.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |