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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SqlDatabaseSystemSpec.Builder newBuilder()
newBuilder(SqlDatabaseSystemSpec prototype)
public static SqlDatabaseSystemSpec.Builder newBuilder(SqlDatabaseSystemSpec prototype)
public static SqlDatabaseSystemSpec parseDelimitedFrom(InputStream input)
public static SqlDatabaseSystemSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SqlDatabaseSystemSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlDatabaseSystemSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SqlDatabaseSystemSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlDatabaseSystemSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlDatabaseSystemSpec parseFrom(CodedInputStream input)
public static SqlDatabaseSystemSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlDatabaseSystemSpec parseFrom(InputStream input)
public static SqlDatabaseSystemSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SqlDatabaseSystemSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlDatabaseSystemSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SqlDatabaseSystemSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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()
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SqlDatabaseSystemSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlDatabaseSystemSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SqlDatabaseSystemSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides