Class IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder (2.69.0)

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

Represents the storage growth details for a bucket.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearBucket()

public IntelligenceFinding.StorageGrowthAboveTrend.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.StorageGrowthAboveTrend.BucketContribution.Builder

This builder for chaining.

clearDetails()

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

clearError()

public IntelligenceFinding.StorageGrowthAboveTrend.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.StorageGrowthAboveTrend.BucketContribution.Builder

clearPercentageIncrease()

public IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder clearPercentageIncrease()

Output only. The percentage increase in storage growth for the bucket.

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

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder

This builder for chaining.

clearTotalStorageGrowthBytes()

public IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder clearTotalStorageGrowthBytes()

Output only. The total storage growth in bytes for the bucket.

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

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.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.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getDetailsCase()

public IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.DetailsCase getDetailsCase()
Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.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 storage growth for the bucket.

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

Returns
Type Description
double

The percentageIncrease.

getTotalStorageGrowthBytes()

public long getTotalStorageGrowthBytes()

Output only. The total storage growth in bytes for the bucket.

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

Returns
Type Description
long

The totalStorageGrowthBytes.

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

mergeError(Status value)

public IntelligenceFinding.StorageGrowthAboveTrend.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.StorageGrowthAboveTrend.BucketContribution.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution other)

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

setBucket(String value)

public IntelligenceFinding.StorageGrowthAboveTrend.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.StorageGrowthAboveTrend.BucketContribution.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public IntelligenceFinding.StorageGrowthAboveTrend.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.StorageGrowthAboveTrend.BucketContribution.Builder

This builder for chaining.

setError(Status value)

public IntelligenceFinding.StorageGrowthAboveTrend.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.StorageGrowthAboveTrend.BucketContribution.Builder

setError(Status.Builder builderForValue)

public IntelligenceFinding.StorageGrowthAboveTrend.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.StorageGrowthAboveTrend.BucketContribution.Builder

setPercentageIncrease(double value)

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

Output only. The percentage increase in storage growth 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.StorageGrowthAboveTrend.BucketContribution.Builder

This builder for chaining.

setTotalStorageGrowthBytes(long value)

public IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder setTotalStorageGrowthBytes(long value)

Output only. The total storage growth in bytes for the bucket.

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

Parameter
Name Description
value long

The totalStorageGrowthBytes to set.

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.BucketContribution.Builder

This builder for chaining.