Class SqlDatabaseSystemSpec (1.48.0)

public final class SqlDatabaseSystemSpec extends GeneratedMessageV3 implements SqlDatabaseSystemSpecOrBuilder

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

Protobuf type google.cloud.datacatalog.v1.SqlDatabaseSystemSpec

Static Fields

DATABASE_VERSION_FIELD_NUMBER

public static final int DATABASE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_HOST_FIELD_NUMBER

public static final int INSTANCE_HOST_FIELD_NUMBER
Field Value
Type Description
int

SQL_ENGINE_FIELD_NUMBER

public static final int SQL_ENGINE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SqlDatabaseSystemSpec getDefaultInstance()
Returns
Type Description
SqlDatabaseSystemSpec

getDescriptor()

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

newBuilder()

public static SqlDatabaseSystemSpec.Builder newBuilder()
Returns
Type Description
SqlDatabaseSystemSpec.Builder

newBuilder(SqlDatabaseSystemSpec prototype)

public static SqlDatabaseSystemSpec.Builder newBuilder(SqlDatabaseSystemSpec prototype)
Parameter
Name Description
prototype SqlDatabaseSystemSpec
Returns
Type Description
SqlDatabaseSystemSpec.Builder

parseDelimitedFrom(InputStream input)

public static SqlDatabaseSystemSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SqlDatabaseSystemSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SqlDatabaseSystemSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SqlDatabaseSystemSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SqlDatabaseSystemSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SqlDatabaseSystemSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlDatabaseSystemSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SqlDatabaseSystemSpec> parser()
Returns
Type Description
Parser<SqlDatabaseSystemSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<SqlDatabaseSystemSpec> getParserForType()
Returns
Type Description
Parser<SqlDatabaseSystemSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SqlDatabaseSystemSpec.Builder newBuilderForType()
Returns
Type Description
SqlDatabaseSystemSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SqlDatabaseSystemSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SqlDatabaseSystemSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SqlDatabaseSystemSpec.Builder toBuilder()
Returns
Type Description
SqlDatabaseSystemSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException