Class IntelligenceFinding.StorageGrowthAboveTrend.Builder (2.69.0)

public static final class IntelligenceFinding.StorageGrowthAboveTrend.Builder extends GeneratedMessage.Builder<IntelligenceFinding.StorageGrowthAboveTrend.Builder> implements IntelligenceFinding.StorageGrowthAboveTrendOrBuilder

Represents a finding about a storage growth above the expected trend. This corresponds to the STORAGE_GROWTH_ABOVE_TREND finding type.

Protobuf type google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTopBuckets(Iterable<? extends IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution> values)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder addAllTopBuckets(Iterable<? extends IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution> values)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution>
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

addTopBuckets(IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution value)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder addTopBuckets(IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution value)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

addTopBuckets(IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder builderForValue)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder addTopBuckets(IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder builderForValue)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

addTopBuckets(int index, IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution value)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder addTopBuckets(int index, IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution value)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

addTopBuckets(int index, IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder builderForValue)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder addTopBuckets(int index, IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder builderForValue)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

addTopBucketsBuilder()

public IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder addTopBucketsBuilder()

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder

addTopBucketsBuilder(int index)

public IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder addTopBucketsBuilder(int index)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder

build()

public IntelligenceFinding.StorageGrowthAboveTrend build()
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend

buildPartial()

public IntelligenceFinding.StorageGrowthAboveTrend buildPartial()
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend

clear()

public IntelligenceFinding.StorageGrowthAboveTrend.Builder clear()
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder
Overrides

clearPercentageIncrease()

public IntelligenceFinding.StorageGrowthAboveTrend.Builder clearPercentageIncrease()

Output only. The percentage increase in storage growth.

double percentage_increase = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

This builder for chaining.

clearTopBuckets()

public IntelligenceFinding.StorageGrowthAboveTrend.Builder clearTopBuckets()

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

clearTotalStorageGrowthBytes()

public IntelligenceFinding.StorageGrowthAboveTrend.Builder clearTotalStorageGrowthBytes()

Output only. The total storage growth in bytes.

int64 total_storage_growth_bytes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

This builder for chaining.

getDefaultInstanceForType()

public IntelligenceFinding.StorageGrowthAboveTrend getDefaultInstanceForType()
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPercentageIncrease()

public double getPercentageIncrease()

Output only. The percentage increase in storage growth.

double percentage_increase = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The percentageIncrease.

getTopBuckets(int index)

public IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution getTopBuckets(int index)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution

getTopBucketsBuilder(int index)

public IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder getTopBucketsBuilder(int index)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder

getTopBucketsBuilderList()

public List<IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder> getTopBucketsBuilderList()

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getTopBucketsCount()

public int getTopBucketsCount()

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getTopBucketsList()

public List<IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution> getTopBucketsList()

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<BucketContribution>

getTopBucketsOrBuilder(int index)

public IntelligenceFinding.StorageGrowthAboveTrend.BucketContributionOrBuilder getTopBucketsOrBuilder(int index)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.BucketContributionOrBuilder

getTopBucketsOrBuilderList()

public List<? extends IntelligenceFinding.StorageGrowthAboveTrend.BucketContributionOrBuilder> getTopBucketsOrBuilderList()

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContributionOrBuilder>

getTotalStorageGrowthBytes()

public long getTotalStorageGrowthBytes()

Output only. The total storage growth in bytes.

int64 total_storage_growth_bytes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalStorageGrowthBytes.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder
Overrides

mergeFrom(IntelligenceFinding.StorageGrowthAboveTrend other)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder mergeFrom(IntelligenceFinding.StorageGrowthAboveTrend other)
Parameter
Name Description
other IntelligenceFinding.StorageGrowthAboveTrend
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

removeTopBuckets(int index)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder removeTopBuckets(int index)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

setPercentageIncrease(double value)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder setPercentageIncrease(double value)

Output only. The percentage increase in storage growth.

double percentage_increase = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value double

The percentageIncrease to set.

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

This builder for chaining.

setTopBuckets(int index, IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution value)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder setTopBuckets(int index, IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution value)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

setTopBuckets(int index, IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder builderForValue)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder setTopBuckets(int index, IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder builderForValue)

Output only. A list of top buckets driving the increase in storage growth.

repeated .google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution top_buckets = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

setTotalStorageGrowthBytes(long value)

public IntelligenceFinding.StorageGrowthAboveTrend.Builder setTotalStorageGrowthBytes(long value)

Output only. The total storage growth in bytes.

int64 total_storage_growth_bytes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The totalStorageGrowthBytes to set.

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

This builder for chaining.