Class DbServer.Builder (0.1.0)

public static final class DbServer.Builder extends GeneratedMessageV3.Builder<DbServer.Builder> implements DbServerOrBuilder

Details of the database server resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbServer/

Protobuf type google.cloud.oracledatabase.v1.DbServer

Implements

DbServerOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DbServer build()
Returns
Type Description
DbServer

buildPartial()

public DbServer buildPartial()
Returns
Type Description
DbServer

clear()

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

clearDisplayName()

public DbServer.Builder clearDisplayName()

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbServer.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DbServer.Builder clearName()

Identifier. The name of the database server resource with the format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}/dbServers/{db_server}

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

Returns
Type Description
DbServer.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperties()

public DbServer.Builder clearProperties()

Optional. Various properties of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbServer.Builder

clone()

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

getDefaultInstanceForType()

public DbServer getDefaultInstanceForType()
Returns
Type Description
DbServer

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Identifier. The name of the database server resource with the format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}/dbServers/{db_server}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the database server resource with the format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}/dbServers/{db_server}

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

Returns
Type Description
ByteString

The bytes for name.

getProperties()

public DbServerProperties getProperties()

Optional. Various properties of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbServerProperties

The properties.

getPropertiesBuilder()

public DbServerProperties.Builder getPropertiesBuilder()

Optional. Various properties of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbServerProperties.Builder

getPropertiesOrBuilder()

public DbServerPropertiesOrBuilder getPropertiesOrBuilder()

Optional. Various properties of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbServerPropertiesOrBuilder

hasProperties()

public boolean hasProperties()

Optional. Various properties of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties properties = 3 [(.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

mergeFrom(DbServer other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(DbServerProperties value)

public DbServer.Builder mergeProperties(DbServerProperties value)

Optional. Various properties of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DbServerProperties
Returns
Type Description
DbServer.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public DbServer.Builder setDisplayName(String value)

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
DbServer.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public DbServer.Builder setDisplayNameBytes(ByteString value)

Optional. User friendly name for this resource.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
DbServer.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DbServer.Builder setName(String value)

Identifier. The name of the database server resource with the format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}/dbServers/{db_server}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DbServer.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DbServer.Builder setNameBytes(ByteString value)

Identifier. The name of the database server resource with the format: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}/dbServers/{db_server}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DbServer.Builder

This builder for chaining.

setProperties(DbServerProperties value)

public DbServer.Builder setProperties(DbServerProperties value)

Optional. Various properties of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DbServerProperties
Returns
Type Description
DbServer.Builder

setProperties(DbServerProperties.Builder builderForValue)

public DbServer.Builder setProperties(DbServerProperties.Builder builderForValue)

Optional. Various properties of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties properties = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DbServerProperties.Builder
Returns
Type Description
DbServer.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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