public static final class DailyResourceUsageAggregation.Stats.Builder extends GeneratedMessageV3.Builder<DailyResourceUsageAggregation.Stats.Builder> implements DailyResourceUsageAggregation.StatsOrBuilder
Statistical aggregation of samples for a single resource usage.
Protobuf type google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DailyResourceUsageAggregation.Stats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DailyResourceUsageAggregation.Stats build()
buildPartial()
public DailyResourceUsageAggregation.Stats buildPartial()
clear()
public DailyResourceUsageAggregation.Stats.Builder clear()
Overrides
clearAverage()
public DailyResourceUsageAggregation.Stats.Builder clearAverage()
Average usage value.
float average = 1;
clearField(Descriptors.FieldDescriptor field)
public DailyResourceUsageAggregation.Stats.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public DailyResourceUsageAggregation.Stats.Builder clearMedian()
Median usage value.
float median = 2;
clearNinteyFifthPercentile()
public DailyResourceUsageAggregation.Stats.Builder clearNinteyFifthPercentile()
95th percentile usage value.
float nintey_fifth_percentile = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public DailyResourceUsageAggregation.Stats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPeak()
public DailyResourceUsageAggregation.Stats.Builder clearPeak()
Peak usage value.
float peak = 4;
clone()
public DailyResourceUsageAggregation.Stats.Builder clone()
Overrides
getAverage()
public float getAverage()
Average usage value.
float average = 1;
Returns |
---|
Type | Description |
float | The average.
|
getDefaultInstanceForType()
public DailyResourceUsageAggregation.Stats getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Median usage value.
float median = 2;
Returns |
---|
Type | Description |
float | The median.
|
getNinteyFifthPercentile()
public float getNinteyFifthPercentile()
95th percentile usage value.
float nintey_fifth_percentile = 3;
Returns |
---|
Type | Description |
float | The ninteyFifthPercentile.
|
getPeak()
Peak usage value.
float peak = 4;
Returns |
---|
Type | Description |
float | The peak.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DailyResourceUsageAggregation.Stats other)
public DailyResourceUsageAggregation.Stats.Builder mergeFrom(DailyResourceUsageAggregation.Stats other)
public DailyResourceUsageAggregation.Stats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DailyResourceUsageAggregation.Stats.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DailyResourceUsageAggregation.Stats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAverage(float value)
public DailyResourceUsageAggregation.Stats.Builder setAverage(float value)
Average usage value.
float average = 1;
Parameter |
---|
Name | Description |
value | float
The average to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DailyResourceUsageAggregation.Stats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DailyResourceUsageAggregation.Stats.Builder setMedian(float value)
Median usage value.
float median = 2;
Parameter |
---|
Name | Description |
value | float
The median to set.
|
setNinteyFifthPercentile(float value)
public DailyResourceUsageAggregation.Stats.Builder setNinteyFifthPercentile(float value)
95th percentile usage value.
float nintey_fifth_percentile = 3;
Parameter |
---|
Name | Description |
value | float
The ninteyFifthPercentile to set.
|
setPeak(float value)
public DailyResourceUsageAggregation.Stats.Builder setPeak(float value)
Peak usage value.
float peak = 4;
Parameter |
---|
Name | Description |
value | float
The peak to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DailyResourceUsageAggregation.Stats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DailyResourceUsageAggregation.Stats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides