Class DailyResourceUsageAggregation.Stats (0.6.0)

public static final class DailyResourceUsageAggregation.Stats extends GeneratedMessageV3 implements DailyResourceUsageAggregation.StatsOrBuilder

Statistical aggregation of samples for a single resource usage.

Protobuf type google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DailyResourceUsageAggregation.Stats

Static Fields

AVERAGE_FIELD_NUMBER

public static final int AVERAGE_FIELD_NUMBER
Field Value
TypeDescription
int

MEDIAN_FIELD_NUMBER

public static final int MEDIAN_FIELD_NUMBER
Field Value
TypeDescription
int

NINTEY_FIFTH_PERCENTILE_FIELD_NUMBER

public static final int NINTEY_FIFTH_PERCENTILE_FIELD_NUMBER
Field Value
TypeDescription
int

PEAK_FIELD_NUMBER

public static final int PEAK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DailyResourceUsageAggregation.Stats getDefaultInstance()
Returns
TypeDescription
DailyResourceUsageAggregation.Stats

getDescriptor()

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

newBuilder()

public static DailyResourceUsageAggregation.Stats.Builder newBuilder()
Returns
TypeDescription
DailyResourceUsageAggregation.Stats.Builder

newBuilder(DailyResourceUsageAggregation.Stats prototype)

public static DailyResourceUsageAggregation.Stats.Builder newBuilder(DailyResourceUsageAggregation.Stats prototype)
Parameter
NameDescription
prototypeDailyResourceUsageAggregation.Stats
Returns
TypeDescription
DailyResourceUsageAggregation.Stats.Builder

parseDelimitedFrom(InputStream input)

public static DailyResourceUsageAggregation.Stats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DailyResourceUsageAggregation.Stats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DailyResourceUsageAggregation.Stats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DailyResourceUsageAggregation.Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DailyResourceUsageAggregation.Stats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DailyResourceUsageAggregation.Stats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DailyResourceUsageAggregation.Stats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DailyResourceUsageAggregation.Stats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DailyResourceUsageAggregation.Stats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DailyResourceUsageAggregation.Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DailyResourceUsageAggregation.Stats> parser()
Returns
TypeDescription
Parser<Stats>

Methods

equals(Object obj)

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

getAverage()

public float getAverage()

Average usage value.

float average = 1;

Returns
TypeDescription
float

The average.

getDefaultInstanceForType()

public DailyResourceUsageAggregation.Stats getDefaultInstanceForType()
Returns
TypeDescription
DailyResourceUsageAggregation.Stats

getMedian()

public float getMedian()

Median usage value.

float median = 2;

Returns
TypeDescription
float

The median.

getNinteyFifthPercentile()

public float getNinteyFifthPercentile()

95th percentile usage value.

float nintey_fifth_percentile = 3;

Returns
TypeDescription
float

The ninteyFifthPercentile.

getParserForType()

public Parser<DailyResourceUsageAggregation.Stats> getParserForType()
Returns
TypeDescription
Parser<Stats>
Overrides

getPeak()

public float getPeak()

Peak usage value.

float peak = 4;

Returns
TypeDescription
float

The peak.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DailyResourceUsageAggregation.Stats.Builder toBuilder()
Returns
TypeDescription
DailyResourceUsageAggregation.Stats.Builder

writeTo(CodedOutputStream output)

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