Class AutonomousDbVersion.Builder (0.1.0)

public static final class AutonomousDbVersion.Builder extends GeneratedMessageV3.Builder<AutonomousDbVersion.Builder> implements AutonomousDbVersionOrBuilder

Details of the Autonomous Database version. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDbVersionSummary/

Protobuf type google.cloud.oracledatabase.v1.AutonomousDbVersion

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutonomousDbVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutonomousDbVersion.Builder
Overrides

build()

public AutonomousDbVersion build()
Returns
Type Description
AutonomousDbVersion

buildPartial()

public AutonomousDbVersion buildPartial()
Returns
Type Description
AutonomousDbVersion

clear()

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

clearDbWorkload()

public AutonomousDbVersion.Builder clearDbWorkload()

Output only. The Autonomous Database workload type.

.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutonomousDbVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutonomousDbVersion.Builder
Overrides

clearName()

public AutonomousDbVersion.Builder clearName()

Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}

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

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AutonomousDbVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutonomousDbVersion.Builder
Overrides

clearVersion()

public AutonomousDbVersion.Builder clearVersion()

Output only. An Oracle Database version for Autonomous Database.

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

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

clearWorkloadUri()

public AutonomousDbVersion.Builder clearWorkloadUri()

Output only. A URL that points to a detailed description of the Autonomous Database version.

string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

clone()

public AutonomousDbVersion.Builder clone()
Returns
Type Description
AutonomousDbVersion.Builder
Overrides

getDbWorkload()

public DBWorkload getDbWorkload()

Output only. The Autonomous Database workload type.

.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DBWorkload

The dbWorkload.

getDbWorkloadValue()

public int getDbWorkloadValue()

Output only. The Autonomous Database workload type.

.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for dbWorkload.

getDefaultInstanceForType()

public AutonomousDbVersion getDefaultInstanceForType()
Returns
Type Description
AutonomousDbVersion

getDescriptorForType()

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

getName()

public String getName()

Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}

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

Returns
Type Description
ByteString

The bytes for name.

getVersion()

public String getVersion()

Output only. An Oracle Database version for Autonomous Database.

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

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Output only. An Oracle Database version for Autonomous Database.

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

Returns
Type Description
ByteString

The bytes for version.

getWorkloadUri()

public String getWorkloadUri()

Output only. A URL that points to a detailed description of the Autonomous Database version.

string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The workloadUri.

getWorkloadUriBytes()

public ByteString getWorkloadUriBytes()

Output only. A URL that points to a detailed description of the Autonomous Database version.

string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for workloadUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutonomousDbVersion other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutonomousDbVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutonomousDbVersion.Builder
Overrides

setDbWorkload(DBWorkload value)

public AutonomousDbVersion.Builder setDbWorkload(DBWorkload value)

Output only. The Autonomous Database workload type.

.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DBWorkload

The dbWorkload to set.

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

setDbWorkloadValue(int value)

public AutonomousDbVersion.Builder setDbWorkloadValue(int value)

Output only. The Autonomous Database workload type.

.google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for dbWorkload to set.

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutonomousDbVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutonomousDbVersion.Builder
Overrides

setName(String value)

public AutonomousDbVersion.Builder setName(String value)

Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AutonomousDbVersion.Builder setNameBytes(ByteString value)

Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutonomousDbVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutonomousDbVersion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutonomousDbVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutonomousDbVersion.Builder
Overrides

setVersion(String value)

public AutonomousDbVersion.Builder setVersion(String value)

Output only. An Oracle Database version for Autonomous Database.

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

Parameter
Name Description
value String

The version to set.

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public AutonomousDbVersion.Builder setVersionBytes(ByteString value)

Output only. An Oracle Database version for Autonomous Database.

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

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

setWorkloadUri(String value)

public AutonomousDbVersion.Builder setWorkloadUri(String value)

Output only. A URL that points to a detailed description of the Autonomous Database version.

string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The workloadUri to set.

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.

setWorkloadUriBytes(ByteString value)

public AutonomousDbVersion.Builder setWorkloadUriBytes(ByteString value)

Output only. A URL that points to a detailed description of the Autonomous Database version.

string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for workloadUri to set.

Returns
Type Description
AutonomousDbVersion.Builder

This builder for chaining.