Class SqlDatabaseSystemSpec.Builder (1.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SqlDatabaseSystemSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder
Overrides

build()

public SqlDatabaseSystemSpec build()
Returns
TypeDescription
SqlDatabaseSystemSpec

buildPartial()

public SqlDatabaseSystemSpec buildPartial()
Returns
TypeDescription
SqlDatabaseSystemSpec

clear()

public SqlDatabaseSystemSpec.Builder clear()
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder
Overrides

clearDatabaseVersion()

public SqlDatabaseSystemSpec.Builder clearDatabaseVersion()

Version of the database engine.

string database_version = 2;

Returns
TypeDescription
SqlDatabaseSystemSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SqlDatabaseSystemSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SqlDatabaseSystemSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SqlDatabaseSystemSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SqlDatabaseSystemSpec.Builder

This builder for chaining.

clone()

public SqlDatabaseSystemSpec.Builder clone()
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder
Overrides

getDatabaseVersion()

public String getDatabaseVersion()

Version of the database engine.

string database_version = 2;

Returns
TypeDescription
String

The databaseVersion.

getDatabaseVersionBytes()

public ByteString getDatabaseVersionBytes()

Version of the database engine.

string database_version = 2;

Returns
TypeDescription
ByteString

The bytes for databaseVersion.

getDefaultInstanceForType()

public SqlDatabaseSystemSpec getDefaultInstanceForType()
Returns
TypeDescription
SqlDatabaseSystemSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sqlEngine.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SqlDatabaseSystemSpec other)

public SqlDatabaseSystemSpec.Builder mergeFrom(SqlDatabaseSystemSpec other)
Parameter
NameDescription
otherSqlDatabaseSystemSpec
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SqlDatabaseSystemSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SqlDatabaseSystemSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SqlDatabaseSystemSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder
Overrides

setDatabaseVersion(String value)

public SqlDatabaseSystemSpec.Builder setDatabaseVersion(String value)

Version of the database engine.

string database_version = 2;

Parameter
NameDescription
valueString

The databaseVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for databaseVersion to set.

Returns
TypeDescription
SqlDatabaseSystemSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SqlDatabaseSystemSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instanceHost to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceHost to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sqlEngine to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sqlEngine to set.

Returns
TypeDescription
SqlDatabaseSystemSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SqlDatabaseSystemSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder
Overrides