Interface QueryAssetsOutputConfig.BigQueryDestinationOrBuilder (3.48.0)

public static interface QueryAssetsOutputConfig.BigQueryDestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataset()

public abstract String getDataset()

Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".

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

Returns
Type Description
String

The dataset.

getDatasetBytes()

public abstract ByteString getDatasetBytes()

Required. The BigQuery dataset where the query results will be saved. It has the format of "projects/{projectId}/datasets/{datasetId}".

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

Returns
Type Description
ByteString

The bytes for dataset.

getTable()

public abstract String getTable()

Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.

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

Returns
Type Description
String

The table.

getTableBytes()

public abstract ByteString getTableBytes()

Required. The BigQuery table where the query results will be saved. If this table does not exist, a new table with the given name will be created.

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

Returns
Type Description
ByteString

The bytes for table.

getWriteDisposition()

public abstract String getWriteDisposition()

Specifies the action that occurs if the destination table or partition already exists. The following values are supported:

  • WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
  • WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
  • WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.

    The default value is WRITE_EMPTY.

string write_disposition = 3;

Returns
Type Description
String

The writeDisposition.

getWriteDispositionBytes()

public abstract ByteString getWriteDispositionBytes()

Specifies the action that occurs if the destination table or partition already exists. The following values are supported:

  • WRITE_TRUNCATE: If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.
  • WRITE_APPEND: If the table or partition already exists, BigQuery appends the data to the table or the latest partition.
  • WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.

    The default value is WRITE_EMPTY.

string write_disposition = 3;

Returns
Type Description
ByteString

The bytes for writeDisposition.