Interface ExecuteSqlRequestOrBuilder (0.52.0)

public interface ExecuteSqlRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The name of the DatabaseConnection in the following format: projects/{project}/locations/{location}/databaseConnections/{database_connection}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the DatabaseConnection in the following format: projects/{project}/locations/{location}/databaseConnections/{database_connection}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParams(int index)

public abstract SqlParameter getParams(int index)

Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2).

repeated .google.cloud.oracledatabase.v1.SqlParameter params = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SqlParameter

getParamsCount()

public abstract int getParamsCount()

Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2).

repeated .google.cloud.oracledatabase.v1.SqlParameter params = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParamsList()

public abstract List<SqlParameter> getParamsList()

Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2).

repeated .google.cloud.oracledatabase.v1.SqlParameter params = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SqlParameter>

getParamsOrBuilder(int index)

public abstract SqlParameterOrBuilder getParamsOrBuilder(int index)

Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2).

repeated .google.cloud.oracledatabase.v1.SqlParameter params = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SqlParameterOrBuilder

getParamsOrBuilderList()

public abstract List<? extends SqlParameterOrBuilder> getParamsOrBuilderList()

Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2).

repeated .google.cloud.oracledatabase.v1.SqlParameter params = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.oracledatabase.v1.SqlParameterOrBuilder>

getSqlStatement()

public abstract String getSqlStatement()

Required. The SQL statement to execute.

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

Returns
Type Description
String

The sqlStatement.

getSqlStatementBytes()

public abstract ByteString getSqlStatementBytes()

Required. The SQL statement to execute.

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

Returns
Type Description
ByteString

The bytes for sqlStatement.