Class WorkflowInvocationAction.BigQueryUnitTestAction.Builder (0.102.0)

public static final class WorkflowInvocationAction.BigQueryUnitTestAction.Builder extends GeneratedMessage.Builder<WorkflowInvocationAction.BigQueryUnitTestAction.Builder> implements WorkflowInvocationAction.BigQueryUnitTestActionOrBuilder

Represents a workflow action that will run a BigQuery unit test.

Protobuf type google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryUnitTestAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public WorkflowInvocationAction.BigQueryUnitTestAction build()
Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction

buildPartial()

public WorkflowInvocationAction.BigQueryUnitTestAction buildPartial()
Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction

clear()

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder clear()
Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder
Overrides

clearActualResultsJobId()

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder clearActualResultsJobId()

Output only. Job ID for the actual results.

string actual_results_job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

clearActualResultsSqlScript()

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder clearActualResultsSqlScript()

Output only. SQL script for the actual results.

string actual_results_sql_script = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

clearExpectedResultsJobId()

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder clearExpectedResultsJobId()

Output only. Job ID for the expected results.

string expected_results_job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

clearExpectedResultsSqlScript()

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder clearExpectedResultsSqlScript()

Output only. SQL script for the expected results.

string expected_results_sql_script = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

clearTotalBilledBytes()

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder clearTotalBilledBytes()

Output only. Total bytes billed for this action. Combined total for actual and expected jobs.

int64 total_billed_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

clearTotalProcessedBytes()

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder clearTotalProcessedBytes()

Output only. Total bytes processed for this action. Combined total for actual and expected jobs.

int64 total_processed_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

getActualResultsJobId()

public String getActualResultsJobId()

Output only. Job ID for the actual results.

string actual_results_job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The actualResultsJobId.

getActualResultsJobIdBytes()

public ByteString getActualResultsJobIdBytes()

Output only. Job ID for the actual results.

string actual_results_job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for actualResultsJobId.

getActualResultsSqlScript()

public String getActualResultsSqlScript()

Output only. SQL script for the actual results.

string actual_results_sql_script = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The actualResultsSqlScript.

getActualResultsSqlScriptBytes()

public ByteString getActualResultsSqlScriptBytes()

Output only. SQL script for the actual results.

string actual_results_sql_script = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for actualResultsSqlScript.

getDefaultInstanceForType()

public WorkflowInvocationAction.BigQueryUnitTestAction getDefaultInstanceForType()
Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpectedResultsJobId()

public String getExpectedResultsJobId()

Output only. Job ID for the expected results.

string expected_results_job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The expectedResultsJobId.

getExpectedResultsJobIdBytes()

public ByteString getExpectedResultsJobIdBytes()

Output only. Job ID for the expected results.

string expected_results_job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for expectedResultsJobId.

getExpectedResultsSqlScript()

public String getExpectedResultsSqlScript()

Output only. SQL script for the expected results.

string expected_results_sql_script = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The expectedResultsSqlScript.

getExpectedResultsSqlScriptBytes()

public ByteString getExpectedResultsSqlScriptBytes()

Output only. SQL script for the expected results.

string expected_results_sql_script = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for expectedResultsSqlScript.

getTotalBilledBytes()

public long getTotalBilledBytes()

Output only. Total bytes billed for this action. Combined total for actual and expected jobs.

int64 total_billed_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalBilledBytes.

getTotalProcessedBytes()

public long getTotalProcessedBytes()

Output only. Total bytes processed for this action. Combined total for actual and expected jobs.

int64 total_processed_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalProcessedBytes.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkflowInvocationAction.BigQueryUnitTestAction other)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder mergeFrom(WorkflowInvocationAction.BigQueryUnitTestAction other)
Parameter
Name Description
other WorkflowInvocationAction.BigQueryUnitTestAction
Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder
Overrides

setActualResultsJobId(String value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setActualResultsJobId(String value)

Output only. Job ID for the actual results.

string actual_results_job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The actualResultsJobId to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

setActualResultsJobIdBytes(ByteString value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setActualResultsJobIdBytes(ByteString value)

Output only. Job ID for the actual results.

string actual_results_job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for actualResultsJobId to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

setActualResultsSqlScript(String value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setActualResultsSqlScript(String value)

Output only. SQL script for the actual results.

string actual_results_sql_script = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The actualResultsSqlScript to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

setActualResultsSqlScriptBytes(ByteString value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setActualResultsSqlScriptBytes(ByteString value)

Output only. SQL script for the actual results.

string actual_results_sql_script = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for actualResultsSqlScript to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

setExpectedResultsJobId(String value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setExpectedResultsJobId(String value)

Output only. Job ID for the expected results.

string expected_results_job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The expectedResultsJobId to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

setExpectedResultsJobIdBytes(ByteString value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setExpectedResultsJobIdBytes(ByteString value)

Output only. Job ID for the expected results.

string expected_results_job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for expectedResultsJobId to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

setExpectedResultsSqlScript(String value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setExpectedResultsSqlScript(String value)

Output only. SQL script for the expected results.

string expected_results_sql_script = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The expectedResultsSqlScript to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

setExpectedResultsSqlScriptBytes(ByteString value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setExpectedResultsSqlScriptBytes(ByteString value)

Output only. SQL script for the expected results.

string expected_results_sql_script = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for expectedResultsSqlScript to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

setTotalBilledBytes(long value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setTotalBilledBytes(long value)

Output only. Total bytes billed for this action. Combined total for actual and expected jobs.

int64 total_billed_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The totalBilledBytes to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.

setTotalProcessedBytes(long value)

public WorkflowInvocationAction.BigQueryUnitTestAction.Builder setTotalProcessedBytes(long value)

Output only. Total bytes processed for this action. Combined total for actual and expected jobs.

int64 total_processed_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The totalProcessedBytes to set.

Returns
Type Description
WorkflowInvocationAction.BigQueryUnitTestAction.Builder

This builder for chaining.