Class BigQueryDestination.Builder (0.1.0)

public static final class BigQueryDestination.Builder extends GeneratedMessage.Builder<BigQueryDestination.Builder> implements BigQueryDestinationOrBuilder

BigQuery destination for evaluation results.

Protobuf type google.cloud.workloadmanager.v1.BigQueryDestination

Static Methods

getDescriptor()

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

Methods

build()

public BigQueryDestination build()
Returns
Type Description
BigQueryDestination

buildPartial()

public BigQueryDestination buildPartial()
Returns
Type Description
BigQueryDestination

clear()

public BigQueryDestination.Builder clear()
Returns
Type Description
BigQueryDestination.Builder
Overrides

clearCreateNewResultsTable()

public BigQueryDestination.Builder clearCreateNewResultsTable()

Optional. Determines if a new results table will be created when an Execution is created.

bool create_new_results_table = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BigQueryDestination.Builder

This builder for chaining.

clearDestinationDataset()

public BigQueryDestination.Builder clearDestinationDataset()

Optional. Destination dataset to save evaluation results.

string destination_dataset = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BigQueryDestination.Builder

This builder for chaining.

getCreateNewResultsTable()

public boolean getCreateNewResultsTable()

Optional. Determines if a new results table will be created when an Execution is created.

bool create_new_results_table = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The createNewResultsTable.

getDefaultInstanceForType()

public BigQueryDestination getDefaultInstanceForType()
Returns
Type Description
BigQueryDestination

getDescriptorForType()

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

getDestinationDataset()

public String getDestinationDataset()

Optional. Destination dataset to save evaluation results.

string destination_dataset = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The destinationDataset.

getDestinationDatasetBytes()

public ByteString getDestinationDatasetBytes()

Optional. Destination dataset to save evaluation results.

string destination_dataset = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for destinationDataset.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryDestination other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCreateNewResultsTable(boolean value)

public BigQueryDestination.Builder setCreateNewResultsTable(boolean value)

Optional. Determines if a new results table will be created when an Execution is created.

bool create_new_results_table = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The createNewResultsTable to set.

Returns
Type Description
BigQueryDestination.Builder

This builder for chaining.

setDestinationDataset(String value)

public BigQueryDestination.Builder setDestinationDataset(String value)

Optional. Destination dataset to save evaluation results.

string destination_dataset = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The destinationDataset to set.

Returns
Type Description
BigQueryDestination.Builder

This builder for chaining.

setDestinationDatasetBytes(ByteString value)

public BigQueryDestination.Builder setDestinationDatasetBytes(ByteString value)

Optional. Destination dataset to save evaluation results.

string destination_dataset = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for destinationDataset to set.

Returns
Type Description
BigQueryDestination.Builder

This builder for chaining.