Interface QueryParameterOrBuilder (0.21.0)

public interface QueryParameterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataType()

public abstract String getDataType()

Required. The data type of the parameter, e.g. "STRING", "INT64", "DATE", etc. For valid values, see the BigQuery documentation. This will be used to populate google.cloud.bigquery.v2.QueryParameterType.type.

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

Returns
Type Description
String

The dataType.

getDataTypeBytes()

public abstract ByteString getDataTypeBytes()

Required. The data type of the parameter, e.g. "STRING", "INT64", "DATE", etc. For valid values, see the BigQuery documentation. This will be used to populate google.cloud.bigquery.v2.QueryParameterType.type.

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

Returns
Type Description
ByteString

The bytes for dataType.

getDescription()

public abstract String getDescription()

Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getName()

public abstract String getName()

Required. The name of the parameter reference in the SQL query.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the parameter reference in the SQL query.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.