Interface CloudSqlDatabaseReferenceOrBuilder (0.9.0)

public interface CloudSqlDatabaseReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabaseId()

public abstract String getDatabaseId()

Required. The database id.

string database_id = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The databaseId.

getDatabaseIdBytes()

public abstract ByteString getDatabaseIdBytes()

Required. The database id.

string database_id = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for databaseId.

getEngine()

public abstract CloudSqlDatabaseReference.Engine getEngine()

Required. The engine of the Cloud SQL instance.

.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference.Engine engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudSqlDatabaseReference.Engine

The engine.

getEngineValue()

public abstract int getEngineValue()

Required. The engine of the Cloud SQL instance.

.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference.Engine engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for engine.

getInstanceId()

public abstract String getInstanceId()

Required. The instance id.

string instance_id = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Required. The instance id.

string instance_id = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instanceId.

getProjectId()

public abstract String getProjectId()

Required. The project the instance belongs to.

string project_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Required. The project the instance belongs to.

string project_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

getRegion()

public abstract String getRegion()

Required. The region of the instance.

string region = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

Required. The region of the instance.

string region = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

getTableIds(int index)

public abstract String getTableIds(int index)

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tableIds at the given index.

getTableIdsBytes(int index)

public abstract ByteString getTableIdsBytes(int index)

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tableIds at the given index.

getTableIdsCount()

public abstract int getTableIdsCount()

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of tableIds.

getTableIdsList()

public abstract List<String> getTableIdsList()

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the tableIds.