Class DbSystemComputePerformance.Builder (0.52.0)

public static final class DbSystemComputePerformance.Builder extends GeneratedMessage.Builder<DbSystemComputePerformance.Builder> implements DbSystemComputePerformanceOrBuilder

Details of the DbSystem compute performance resource.

Protobuf type google.cloud.oracledatabase.v1.DbSystemComputePerformance

Static Methods

getDescriptor()

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

Methods

addAllComputePerformances(Iterable<? extends ComputePerformance> values)

public DbSystemComputePerformance.Builder addAllComputePerformances(Iterable<? extends ComputePerformance> values)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.oracledatabase.v1.ComputePerformance>
Returns
Type Description
DbSystemComputePerformance.Builder

addComputePerformances(ComputePerformance value)

public DbSystemComputePerformance.Builder addComputePerformances(ComputePerformance value)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ComputePerformance
Returns
Type Description
DbSystemComputePerformance.Builder

addComputePerformances(ComputePerformance.Builder builderForValue)

public DbSystemComputePerformance.Builder addComputePerformances(ComputePerformance.Builder builderForValue)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ComputePerformance.Builder
Returns
Type Description
DbSystemComputePerformance.Builder

addComputePerformances(int index, ComputePerformance value)

public DbSystemComputePerformance.Builder addComputePerformances(int index, ComputePerformance value)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ComputePerformance
Returns
Type Description
DbSystemComputePerformance.Builder

addComputePerformances(int index, ComputePerformance.Builder builderForValue)

public DbSystemComputePerformance.Builder addComputePerformances(int index, ComputePerformance.Builder builderForValue)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ComputePerformance.Builder
Returns
Type Description
DbSystemComputePerformance.Builder

addComputePerformancesBuilder()

public ComputePerformance.Builder addComputePerformancesBuilder()

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputePerformance.Builder

addComputePerformancesBuilder(int index)

public ComputePerformance.Builder addComputePerformancesBuilder(int index)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComputePerformance.Builder

build()

public DbSystemComputePerformance build()
Returns
Type Description
DbSystemComputePerformance

buildPartial()

public DbSystemComputePerformance buildPartial()
Returns
Type Description
DbSystemComputePerformance

clear()

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

clearComputePerformances()

public DbSystemComputePerformance.Builder clearComputePerformances()

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DbSystemComputePerformance.Builder

clearName()

public DbSystemComputePerformance.Builder clearName()

Identifier. The name of the DbSystemComputePerformance resource with the format: projects/{project}/locations/{location}/dbSystemComputePerformances/{db_system_compute_performance}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
DbSystemComputePerformance.Builder

This builder for chaining.

clearShape()

public DbSystemComputePerformance.Builder clearShape()

Output only. The shape of the DB system.

string shape = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DbSystemComputePerformance.Builder

This builder for chaining.

getComputePerformances(int index)

public ComputePerformance getComputePerformances(int index)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComputePerformance

getComputePerformancesBuilder(int index)

public ComputePerformance.Builder getComputePerformancesBuilder(int index)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComputePerformance.Builder

getComputePerformancesBuilderList()

public List<ComputePerformance.Builder> getComputePerformancesBuilderList()

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getComputePerformancesCount()

public int getComputePerformancesCount()

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getComputePerformancesList()

public List<ComputePerformance> getComputePerformancesList()

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ComputePerformance>

getComputePerformancesOrBuilder(int index)

public ComputePerformanceOrBuilder getComputePerformancesOrBuilder(int index)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ComputePerformanceOrBuilder

getComputePerformancesOrBuilderList()

public List<? extends ComputePerformanceOrBuilder> getComputePerformancesOrBuilderList()

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.oracledatabase.v1.ComputePerformanceOrBuilder>

getDefaultInstanceForType()

public DbSystemComputePerformance getDefaultInstanceForType()
Returns
Type Description
DbSystemComputePerformance

getDescriptorForType()

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

getName()

public String getName()

Identifier. The name of the DbSystemComputePerformance resource with the format: projects/{project}/locations/{location}/dbSystemComputePerformances/{db_system_compute_performance}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the DbSystemComputePerformance resource with the format: projects/{project}/locations/{location}/dbSystemComputePerformances/{db_system_compute_performance}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getShape()

public String getShape()

Output only. The shape of the DB system.

string shape = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The shape.

getShapeBytes()

public ByteString getShapeBytes()

Output only. The shape of the DB system.

string shape = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for shape.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DbSystemComputePerformance other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeComputePerformances(int index)

public DbSystemComputePerformance.Builder removeComputePerformances(int index)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DbSystemComputePerformance.Builder

setComputePerformances(int index, ComputePerformance value)

public DbSystemComputePerformance.Builder setComputePerformances(int index, ComputePerformance value)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ComputePerformance
Returns
Type Description
DbSystemComputePerformance.Builder

setComputePerformances(int index, ComputePerformance.Builder builderForValue)

public DbSystemComputePerformance.Builder setComputePerformances(int index, ComputePerformance.Builder builderForValue)

Output only. List of Compute performance details for the specified DB system shape.

repeated .google.cloud.oracledatabase.v1.ComputePerformance compute_performances = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ComputePerformance.Builder
Returns
Type Description
DbSystemComputePerformance.Builder

setName(String value)

public DbSystemComputePerformance.Builder setName(String value)

Identifier. The name of the DbSystemComputePerformance resource with the format: projects/{project}/locations/{location}/dbSystemComputePerformances/{db_system_compute_performance}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DbSystemComputePerformance.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DbSystemComputePerformance.Builder setNameBytes(ByteString value)

Identifier. The name of the DbSystemComputePerformance resource with the format: projects/{project}/locations/{location}/dbSystemComputePerformances/{db_system_compute_performance}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DbSystemComputePerformance.Builder

This builder for chaining.

setShape(String value)

public DbSystemComputePerformance.Builder setShape(String value)

Output only. The shape of the DB system.

string shape = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The shape to set.

Returns
Type Description
DbSystemComputePerformance.Builder

This builder for chaining.

setShapeBytes(ByteString value)

public DbSystemComputePerformance.Builder setShapeBytes(ByteString value)

Output only. The shape of the DB system.

string shape = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for shape to set.

Returns
Type Description
DbSystemComputePerformance.Builder

This builder for chaining.