Class IntelligenceFinding.CrossRegionEgressSpike.Builder (2.69.0)

public static final class IntelligenceFinding.CrossRegionEgressSpike.Builder extends GeneratedMessage.Builder<IntelligenceFinding.CrossRegionEgressSpike.Builder> implements IntelligenceFinding.CrossRegionEgressSpikeOrBuilder

Represents a finding about a spike in cross-region egress from Cloud Storage. This corresponds to the CROSS_REGION_EGRESS_SPIKE finding type.

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

Static Methods

getDescriptor()

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

Methods

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

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

addTopBuckets(IntelligenceFinding.CrossRegionEgressSpike.BucketContribution value)

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

addTopBuckets(IntelligenceFinding.CrossRegionEgressSpike.BucketContribution.Builder builderForValue)

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

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

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

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

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

addTopBucketsBuilder()

public IntelligenceFinding.CrossRegionEgressSpike.BucketContribution.Builder addTopBucketsBuilder()

Output only. A list of top buckets driving the increase in cross-region egress.

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

Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpike.BucketContribution.Builder

addTopBucketsBuilder(int index)

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

build()

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

buildPartial()

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

clear()

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

clearPercentageIncrease()

public IntelligenceFinding.CrossRegionEgressSpike.Builder clearPercentageIncrease()

Output only. The percentage increase in cross-region egress across the project.

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

Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpike.Builder

This builder for chaining.

clearTopBuckets()

public IntelligenceFinding.CrossRegionEgressSpike.Builder clearTopBuckets()

Output only. A list of top buckets driving the increase in cross-region egress.

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

Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpike.Builder

clearTotalEgressBytes()

public IntelligenceFinding.CrossRegionEgressSpike.Builder clearTotalEgressBytes()

Output only. The total cross-region egress volume in bytes across the project.

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

Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpike.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPercentageIncrease()

public double getPercentageIncrease()

Output only. The percentage increase in cross-region egress across the project.

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

Returns
Type Description
double

The percentageIncrease.

getTopBuckets(int index)

public IntelligenceFinding.CrossRegionEgressSpike.BucketContribution getTopBuckets(int index)

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

getTopBucketsBuilder(int index)

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

getTopBucketsBuilderList()

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

Output only. A list of top buckets driving the increase in cross-region egress.

repeated .google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike.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 cross-region egress.

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

Returns
Type Description
int

getTopBucketsList()

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

Returns
Type Description
List<BucketContribution>

getTopBucketsOrBuilder(int index)

public IntelligenceFinding.CrossRegionEgressSpike.BucketContributionOrBuilder getTopBucketsOrBuilder(int index)

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

getTopBucketsOrBuilderList()

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

getTotalEgressBytes()

public long getTotalEgressBytes()

Output only. The total cross-region egress volume in bytes across the project.

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

Returns
Type Description
long

The totalEgressBytes.

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.CrossRegionEgressSpike.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpike.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(IntelligenceFinding.CrossRegionEgressSpike other)

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

removeTopBuckets(int index)

public IntelligenceFinding.CrossRegionEgressSpike.Builder removeTopBuckets(int index)

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

setPercentageIncrease(double value)

public IntelligenceFinding.CrossRegionEgressSpike.Builder setPercentageIncrease(double value)

Output only. The percentage increase in cross-region egress across the project.

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

Parameter
Name Description
value double

The percentageIncrease to set.

Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpike.Builder

This builder for chaining.

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

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

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

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

Output only. A list of top buckets driving the increase in cross-region egress.

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

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

setTotalEgressBytes(long value)

public IntelligenceFinding.CrossRegionEgressSpike.Builder setTotalEgressBytes(long value)

Output only. The total cross-region egress volume in bytes across the project.

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

Parameter
Name Description
value long

The totalEgressBytes to set.

Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpike.Builder

This builder for chaining.