Class SqlDatabaseSystemSpec (1.34.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
TypeDescription
int

INSTANCE_HOST_FIELD_NUMBER

public static final int INSTANCE_HOST_FIELD_NUMBER
Field Value
TypeDescription
int

SQL_ENGINE_FIELD_NUMBER

public static final int SQL_ENGINE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SqlDatabaseSystemSpec getDefaultInstance()
Returns
TypeDescription
SqlDatabaseSystemSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SqlDatabaseSystemSpec.Builder newBuilder()
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder

newBuilder(SqlDatabaseSystemSpec prototype)

public static SqlDatabaseSystemSpec.Builder newBuilder(SqlDatabaseSystemSpec prototype)
Parameter
NameDescription
prototypeSqlDatabaseSystemSpec
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder

parseDelimitedFrom(InputStream input)

public static SqlDatabaseSystemSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SqlDatabaseSystemSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SqlDatabaseSystemSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SqlDatabaseSystemSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SqlDatabaseSystemSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SqlDatabaseSystemSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SqlDatabaseSystemSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlDatabaseSystemSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SqlDatabaseSystemSpec> parser()
Returns
TypeDescription
Parser<SqlDatabaseSystemSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<SqlDatabaseSystemSpec> getParserForType()
Returns
TypeDescription
Parser<SqlDatabaseSystemSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SqlDatabaseSystemSpec.Builder newBuilderForType()
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SqlDatabaseSystemSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SqlDatabaseSystemSpec.Builder toBuilder()
Returns
TypeDescription
SqlDatabaseSystemSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException