Class IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder (2.69.0)

public static final class IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder extends GeneratedMessage.Builder<IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder> implements IntelligenceFinding.ThrottledRequestSpike.BucketContributionOrBuilder

Represents the throttled requests details for a bucket.

Protobuf type google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

Static Methods

getDescriptor()

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

Methods

build()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution build()
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution

buildPartial()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution buildPartial()
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution

clear()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder clear()
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder
Overrides

clearBucket()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder clearBucket()

Output only. The name of the bucket.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

This builder for chaining.

clearContribution()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder clearContribution()

Output only. The details about the contribution of the bucket.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution contribution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

clearDetails()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder clearDetails()
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

clearError()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder clearError()

Output only. The error related to accessing the details about the contribution of the bucket.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

clearPercentageIncrease()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder clearPercentageIncrease()

Output only. The percentage increase in throttled requests for the bucket.

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

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

This builder for chaining.

clearThrottledRequests()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder clearThrottledRequests()

Output only. The count of throttled requests for the bucket.

int64 throttled_requests = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

This builder for chaining.

getBucket()

public String getBucket()

Output only. The name of the bucket.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Output only. The name of the bucket.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for bucket.

getContribution()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution getContribution()

Output only. The details about the contribution of the bucket.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution contribution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution

The contribution.

getContributionBuilder()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution.Builder getContributionBuilder()

Output only. The details about the contribution of the bucket.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution contribution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution.Builder

getContributionOrBuilder()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.ContributionOrBuilder getContributionOrBuilder()

Output only. The details about the contribution of the bucket.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution contribution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.ContributionOrBuilder

getDefaultInstanceForType()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution getDefaultInstanceForType()
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution

getDescriptorForType()

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

getDetailsCase()

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.DetailsCase getDetailsCase()
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.DetailsCase

getError()

public Status getError()

Output only. The error related to accessing the details about the contribution of the bucket.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Output only. The error related to accessing the details about the contribution of the bucket.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. The error related to accessing the details about the contribution of the bucket.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getPercentageIncrease()

public double getPercentageIncrease()

Output only. The percentage increase in throttled requests for the bucket.

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

Returns
Type Description
double

The percentageIncrease.

getThrottledRequests()

public long getThrottledRequests()

Output only. The count of throttled requests for the bucket.

int64 throttled_requests = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The throttledRequests.

hasContribution()

public boolean hasContribution()

Output only. The details about the contribution of the bucket.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution contribution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the contribution field is set.

hasError()

public boolean hasError()

Output only. The error related to accessing the details about the contribution of the bucket.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeContribution(IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution value)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder mergeContribution(IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution value)

Output only. The details about the contribution of the bucket.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution contribution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

mergeError(Status value)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder mergeError(Status value)

Output only. The error related to accessing the details about the contribution of the bucket.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(IntelligenceFinding.ThrottledRequestSpike.BucketContribution other)

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

setBucket(String value)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder setBucket(String value)

Output only. The name of the bucket.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The bucket to set.

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder setBucketBytes(ByteString value)

Output only. The name of the bucket.

string bucket = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for bucket to set.

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

This builder for chaining.

setContribution(IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution value)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder setContribution(IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution value)

Output only. The details about the contribution of the bucket.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution contribution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

setContribution(IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution.Builder builderForValue)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder setContribution(IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution.Builder builderForValue)

Output only. The details about the contribution of the bucket.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution contribution = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Contribution.Builder
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

setError(Status value)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder setError(Status value)

Output only. The error related to accessing the details about the contribution of the bucket.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

setError(Status.Builder builderForValue)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder setError(Status.Builder builderForValue)

Output only. The error related to accessing the details about the contribution of the bucket.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

setPercentageIncrease(double value)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder setPercentageIncrease(double value)

Output only. The percentage increase in throttled requests for the bucket.

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

Parameter
Name Description
value double

The percentageIncrease to set.

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

This builder for chaining.

setThrottledRequests(long value)

public IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder setThrottledRequests(long value)

Output only. The count of throttled requests for the bucket.

int64 throttled_requests = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The throttledRequests to set.

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.BucketContribution.Builder

This builder for chaining.