Class ExascaleDbStorageDetails.Builder (0.32.0)

public static final class ExascaleDbStorageDetails.Builder extends GeneratedMessage.Builder<ExascaleDbStorageDetails.Builder> implements ExascaleDbStorageDetailsOrBuilder

The storage details of the ExascaleDbStorageVault.

Protobuf type google.cloud.oracledatabase.v1.ExascaleDbStorageDetails

Static Methods

getDescriptor()

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

Methods

build()

public ExascaleDbStorageDetails build()
Returns
Type Description
ExascaleDbStorageDetails

buildPartial()

public ExascaleDbStorageDetails buildPartial()
Returns
Type Description
ExascaleDbStorageDetails

clear()

public ExascaleDbStorageDetails.Builder clear()
Returns
Type Description
ExascaleDbStorageDetails.Builder
Overrides

clearAvailableSizeGbs()

public ExascaleDbStorageDetails.Builder clearAvailableSizeGbs()

Output only. The available storage capacity for the ExascaleDbStorageVault, in gigabytes (GB).

int32 available_size_gbs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ExascaleDbStorageDetails.Builder

This builder for chaining.

clearTotalSizeGbs()

public ExascaleDbStorageDetails.Builder clearTotalSizeGbs()

Required. The total storage allocation for the ExascaleDbStorageVault, in gigabytes (GB).

int32 total_size_gbs = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExascaleDbStorageDetails.Builder

This builder for chaining.

getAvailableSizeGbs()

public int getAvailableSizeGbs()

Output only. The available storage capacity for the ExascaleDbStorageVault, in gigabytes (GB).

int32 available_size_gbs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The availableSizeGbs.

getDefaultInstanceForType()

public ExascaleDbStorageDetails getDefaultInstanceForType()
Returns
Type Description
ExascaleDbStorageDetails

getDescriptorForType()

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

getTotalSizeGbs()

public int getTotalSizeGbs()

Required. The total storage allocation for the ExascaleDbStorageVault, in gigabytes (GB).

int32 total_size_gbs = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The totalSizeGbs.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExascaleDbStorageDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAvailableSizeGbs(int value)

public ExascaleDbStorageDetails.Builder setAvailableSizeGbs(int value)

Output only. The available storage capacity for the ExascaleDbStorageVault, in gigabytes (GB).

int32 available_size_gbs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The availableSizeGbs to set.

Returns
Type Description
ExascaleDbStorageDetails.Builder

This builder for chaining.

setTotalSizeGbs(int value)

public ExascaleDbStorageDetails.Builder setTotalSizeGbs(int value)

Required. The total storage allocation for the ExascaleDbStorageVault, in gigabytes (GB).

int32 total_size_gbs = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The totalSizeGbs to set.

Returns
Type Description
ExascaleDbStorageDetails.Builder

This builder for chaining.