Class DbVersion.Builder (0.32.0)

public static final class DbVersion.Builder extends GeneratedMessage.Builder<DbVersion.Builder> implements DbVersionOrBuilder

A valid Oracle Database version.

Protobuf type google.cloud.oracledatabase.v1.DbVersion

Implements

DbVersionOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public DbVersion build()
Returns
Type Description
DbVersion

buildPartial()

public DbVersion buildPartial()
Returns
Type Description
DbVersion

clear()

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

clearName()

public DbVersion.Builder clearName()

Output only. The name of the DbVersion resource in the following format: projects/{project}/locations/{region}/dbVersions/{db_version}

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

Returns
Type Description
DbVersion.Builder

This builder for chaining.

clearProperties()

public DbVersion.Builder clearProperties()

Output only. The properties of the DbVersion.

.google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DbVersion.Builder

getDefaultInstanceForType()

public DbVersion getDefaultInstanceForType()
Returns
Type Description
DbVersion

getDescriptorForType()

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

getName()

public String getName()

Output only. The name of the DbVersion resource in the following format: projects/{project}/locations/{region}/dbVersions/{db_version}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the DbVersion resource in the following format: projects/{project}/locations/{region}/dbVersions/{db_version}

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

Returns
Type Description
ByteString

The bytes for name.

getProperties()

public DbVersionProperties getProperties()

Output only. The properties of the DbVersion.

.google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DbVersionProperties

The properties.

getPropertiesBuilder()

public DbVersionProperties.Builder getPropertiesBuilder()

Output only. The properties of the DbVersion.

.google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DbVersionProperties.Builder

getPropertiesOrBuilder()

public DbVersionPropertiesOrBuilder getPropertiesOrBuilder()

Output only. The properties of the DbVersion.

.google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DbVersionPropertiesOrBuilder

hasProperties()

public boolean hasProperties()

Output only. The properties of the DbVersion.

.google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DbVersion other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(DbVersionProperties value)

public DbVersion.Builder mergeProperties(DbVersionProperties value)

Output only. The properties of the DbVersion.

.google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DbVersionProperties
Returns
Type Description
DbVersion.Builder

setName(String value)

public DbVersion.Builder setName(String value)

Output only. The name of the DbVersion resource in the following format: projects/{project}/locations/{region}/dbVersions/{db_version}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DbVersion.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DbVersion.Builder setNameBytes(ByteString value)

Output only. The name of the DbVersion resource in the following format: projects/{project}/locations/{region}/dbVersions/{db_version}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DbVersion.Builder

This builder for chaining.

setProperties(DbVersionProperties value)

public DbVersion.Builder setProperties(DbVersionProperties value)

Output only. The properties of the DbVersion.

.google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DbVersionProperties
Returns
Type Description
DbVersion.Builder

setProperties(DbVersionProperties.Builder builderForValue)

public DbVersion.Builder setProperties(DbVersionProperties.Builder builderForValue)

Output only. The properties of the DbVersion.

.google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DbVersionProperties.Builder
Returns
Type Description
DbVersion.Builder