Class PluggableDatabase.Builder (0.29.0)

public static final class PluggableDatabase.Builder extends GeneratedMessageV3.Builder<PluggableDatabase.Builder> implements PluggableDatabaseOrBuilder

The PluggableDatabase resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/PluggableDatabase/

Protobuf type google.cloud.oracledatabase.v1.PluggableDatabase

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PluggableDatabase build()
Returns
Type Description
PluggableDatabase

buildPartial()

public PluggableDatabase buildPartial()
Returns
Type Description
PluggableDatabase

clear()

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

clearCreateTime()

public PluggableDatabase.Builder clearCreateTime()

Output only. The date and time that the PluggableDatabase was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PluggableDatabase.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public PluggableDatabase.Builder clearName()

Identifier. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}

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

Returns
Type Description
PluggableDatabase.Builder

This builder for chaining.

clearOciUrl()

public PluggableDatabase.Builder clearOciUrl()

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PluggableDatabase.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperties()

public PluggableDatabase.Builder clearProperties()

Optional. The properties of the PluggableDatabase.

.google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PluggableDatabase.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. The date and time that the PluggableDatabase was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The date and time that the PluggableDatabase was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The date and time that the PluggableDatabase was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public PluggableDatabase getDefaultInstanceForType()
Returns
Type Description
PluggableDatabase

getDescriptorForType()

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

getName()

public String getName()

Identifier. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}

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

Returns
Type Description
ByteString

The bytes for name.

getOciUrl()

public String getOciUrl()

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The ociUrl.

getOciUrlBytes()

public ByteString getOciUrlBytes()

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for ociUrl.

getProperties()

public PluggableDatabaseProperties getProperties()

Optional. The properties of the PluggableDatabase.

.google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PluggableDatabaseProperties

The properties.

getPropertiesBuilder()

public PluggableDatabaseProperties.Builder getPropertiesBuilder()

Optional. The properties of the PluggableDatabase.

.google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PluggableDatabaseProperties.Builder

getPropertiesOrBuilder()

public PluggableDatabasePropertiesOrBuilder getPropertiesOrBuilder()

Optional. The properties of the PluggableDatabase.

.google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PluggableDatabasePropertiesOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The date and time that the PluggableDatabase was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasProperties()

public boolean hasProperties()

Optional. The properties of the PluggableDatabase.

.google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public PluggableDatabase.Builder mergeCreateTime(Timestamp value)

Output only. The date and time that the PluggableDatabase was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PluggableDatabase.Builder

mergeFrom(PluggableDatabase other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(PluggableDatabaseProperties value)

public PluggableDatabase.Builder mergeProperties(PluggableDatabaseProperties value)

Optional. The properties of the PluggableDatabase.

.google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PluggableDatabaseProperties
Returns
Type Description
PluggableDatabase.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCreateTime(Timestamp value)

public PluggableDatabase.Builder setCreateTime(Timestamp value)

Output only. The date and time that the PluggableDatabase was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
PluggableDatabase.Builder

setCreateTime(Timestamp.Builder builderForValue)

public PluggableDatabase.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The date and time that the PluggableDatabase was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PluggableDatabase.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public PluggableDatabase.Builder setName(String value)

Identifier. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PluggableDatabase.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PluggableDatabase.Builder setNameBytes(ByteString value)

Identifier. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PluggableDatabase.Builder

This builder for chaining.

setOciUrl(String value)

public PluggableDatabase.Builder setOciUrl(String value)

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The ociUrl to set.

Returns
Type Description
PluggableDatabase.Builder

This builder for chaining.

setOciUrlBytes(ByteString value)

public PluggableDatabase.Builder setOciUrlBytes(ByteString value)

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

string oci_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for ociUrl to set.

Returns
Type Description
PluggableDatabase.Builder

This builder for chaining.

setProperties(PluggableDatabaseProperties value)

public PluggableDatabase.Builder setProperties(PluggableDatabaseProperties value)

Optional. The properties of the PluggableDatabase.

.google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PluggableDatabaseProperties
Returns
Type Description
PluggableDatabase.Builder

setProperties(PluggableDatabaseProperties.Builder builderForValue)

public PluggableDatabase.Builder setProperties(PluggableDatabaseProperties.Builder builderForValue)

Optional. The properties of the PluggableDatabase.

.google.cloud.oracledatabase.v1.PluggableDatabaseProperties properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PluggableDatabaseProperties.Builder
Returns
Type Description
PluggableDatabase.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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