Interface SpannerDatabaseReferenceOrBuilder (0.21.0)

public interface SpannerDatabaseReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDatabaseId()

public abstract String getDatabaseId()

Required. The database id.

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

Returns
Type Description
String

The databaseId.

getDatabaseIdBytes()

public abstract ByteString getDatabaseIdBytes()

Required. The database id.

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

Returns
Type Description
ByteString

The bytes for databaseId.

getDatabaseTableReferences(int index)

public abstract DatabaseTableReference getDatabaseTableReferences(int index)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DatabaseTableReference

getDatabaseTableReferencesCount()

public abstract int getDatabaseTableReferencesCount()

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getDatabaseTableReferencesList()

public abstract List<DatabaseTableReference> getDatabaseTableReferencesList()

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<DatabaseTableReference>

getDatabaseTableReferencesOrBuilder(int index)

public abstract DatabaseTableReferenceOrBuilder getDatabaseTableReferencesOrBuilder(int index)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DatabaseTableReferenceOrBuilder

getDatabaseTableReferencesOrBuilderList()

public abstract List<? extends DatabaseTableReferenceOrBuilder> getDatabaseTableReferencesOrBuilderList()

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>

getEngine()

public abstract SpannerDatabaseReference.Engine getEngine()

Required. The engine of the Spanner instance.

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

Returns
Type Description
SpannerDatabaseReference.Engine

The engine.

getEngineValue()

public abstract int getEngineValue()

Required. The engine of the Spanner instance.

.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference.Engine engine = 6 [(.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 = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract ByteString getInstanceIdBytes()

Required. The instance id.

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

Returns
Type Description
ByteString

The bytes for instanceId.

getPriority()

public abstract String getPriority()

Optional. Priority for the queries to Spanner. Should be a value supported by Cloud Spanner e.g.: LOW, MEDIUM, HIGH. Unsupported values will be ignored. See https://docs.cloud.google.com/spanner/docs/reference/rest/v1/RequestOptions#Priority for complete list.

string priority = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The priority.

getPriorityBytes()

public abstract ByteString getPriorityBytes()

Optional. Priority for the queries to Spanner. Should be a value supported by Cloud Spanner e.g.: LOW, MEDIUM, HIGH. Unsupported values will be ignored. See https://docs.cloud.google.com/spanner/docs/reference/rest/v1/RequestOptions#Priority for complete list.

string priority = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for priority.

getProjectId()

public abstract String getProjectId()

Required. The project the instance belongs to.

string project_id = 1 [(.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 = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

getRequestTag()

public abstract String getRequestTag()

Tag to be attached to all queries to Spanner. Allows to identify and monitor queries sent to Spanner by the GDA service.

string request_tag = 9;

Returns
Type Description
String

The requestTag.

getRequestTagBytes()

public abstract ByteString getRequestTagBytes()

Tag to be attached to all queries to Spanner. Allows to identify and monitor queries sent to Spanner by the GDA service.

string request_tag = 9;

Returns
Type Description
ByteString

The bytes for requestTag.

getTableIds(int index)

public abstract String getTableIds(int index)

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

repeated string table_ids = 5 [(.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 = 5 [(.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the tableIds.