Class SqlDatabaseSystemSpec.Builder (1.53.0)

public static final class SqlDatabaseSystemSpec.Builder extends GeneratedMessageV3.Builder<SqlDatabaseSystemSpec.Builder> implements SqlDatabaseSystemSpecOrBuilder

Specification that applies to entries that are part SQL_DATABASE system (user_specified_type)

Protobuf type google.cloud.datacatalog.v1.SqlDatabaseSystemSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SqlDatabaseSystemSpec build()
Returns
Type Description
SqlDatabaseSystemSpec

buildPartial()

public SqlDatabaseSystemSpec buildPartial()
Returns
Type Description
SqlDatabaseSystemSpec

clear()

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

clearDatabaseVersion()

public SqlDatabaseSystemSpec.Builder clearDatabaseVersion()

Version of the database engine.

string database_version = 2;

Returns
Type Description
SqlDatabaseSystemSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceHost()

public SqlDatabaseSystemSpec.Builder clearInstanceHost()

Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.

string instance_host = 3;

Returns
Type Description
SqlDatabaseSystemSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSqlEngine()

public SqlDatabaseSystemSpec.Builder clearSqlEngine()

SQL Database Engine. enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.

string sql_engine = 1;

Returns
Type Description
SqlDatabaseSystemSpec.Builder

This builder for chaining.

clone()

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

getDatabaseVersion()

public String getDatabaseVersion()

Version of the database engine.

string database_version = 2;

Returns
Type Description
String

The databaseVersion.

getDatabaseVersionBytes()

public ByteString getDatabaseVersionBytes()

Version of the database engine.

string database_version = 2;

Returns
Type Description
ByteString

The bytes for databaseVersion.

getDefaultInstanceForType()

public SqlDatabaseSystemSpec getDefaultInstanceForType()
Returns
Type Description
SqlDatabaseSystemSpec

getDescriptorForType()

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

getInstanceHost()

public String getInstanceHost()

Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.

string instance_host = 3;

Returns
Type Description
String

The instanceHost.

getInstanceHostBytes()

public ByteString getInstanceHostBytes()

Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.

string instance_host = 3;

Returns
Type Description
ByteString

The bytes for instanceHost.

getSqlEngine()

public String getSqlEngine()

SQL Database Engine. enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.

string sql_engine = 1;

Returns
Type Description
String

The sqlEngine.

getSqlEngineBytes()

public ByteString getSqlEngineBytes()

SQL Database Engine. enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.

string sql_engine = 1;

Returns
Type Description
ByteString

The bytes for sqlEngine.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SqlDatabaseSystemSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatabaseVersion(String value)

public SqlDatabaseSystemSpec.Builder setDatabaseVersion(String value)

Version of the database engine.

string database_version = 2;

Parameter
Name Description
value String

The databaseVersion to set.

Returns
Type Description
SqlDatabaseSystemSpec.Builder

This builder for chaining.

setDatabaseVersionBytes(ByteString value)

public SqlDatabaseSystemSpec.Builder setDatabaseVersionBytes(ByteString value)

Version of the database engine.

string database_version = 2;

Parameter
Name Description
value ByteString

The bytes for databaseVersion to set.

Returns
Type Description
SqlDatabaseSystemSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceHost(String value)

public SqlDatabaseSystemSpec.Builder setInstanceHost(String value)

Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.

string instance_host = 3;

Parameter
Name Description
value String

The instanceHost to set.

Returns
Type Description
SqlDatabaseSystemSpec.Builder

This builder for chaining.

setInstanceHostBytes(ByteString value)

public SqlDatabaseSystemSpec.Builder setInstanceHostBytes(ByteString value)

Host of the SQL database enum InstanceHost { UNDEFINED = 0; SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the enclousing database instance.

string instance_host = 3;

Parameter
Name Description
value ByteString

The bytes for instanceHost to set.

Returns
Type Description
SqlDatabaseSystemSpec.Builder

This builder for chaining.

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

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

setSqlEngine(String value)

public SqlDatabaseSystemSpec.Builder setSqlEngine(String value)

SQL Database Engine. enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.

string sql_engine = 1;

Parameter
Name Description
value String

The sqlEngine to set.

Returns
Type Description
SqlDatabaseSystemSpec.Builder

This builder for chaining.

setSqlEngineBytes(ByteString value)

public SqlDatabaseSystemSpec.Builder setSqlEngineBytes(ByteString value)

SQL Database Engine. enum SqlEngine { UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database instance.

string sql_engine = 1;

Parameter
Name Description
value ByteString

The bytes for sqlEngine to set.

Returns
Type Description
SqlDatabaseSystemSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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