Class AssessmentTaskDetails.Builder (0.57.0)

public static final class AssessmentTaskDetails.Builder extends GeneratedMessageV3.Builder<AssessmentTaskDetails.Builder> implements AssessmentTaskDetailsOrBuilder

Assessment task config.

Protobuf type google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AssessmentTaskDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssessmentTaskDetails.Builder
Overrides

build()

public AssessmentTaskDetails build()
Returns
Type Description
AssessmentTaskDetails

buildPartial()

public AssessmentTaskDetails buildPartial()
Returns
Type Description
AssessmentTaskDetails

clear()

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

clearDataSource()

public AssessmentTaskDetails.Builder clearDataSource()

Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) from which the input data is extracted.

string data_source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AssessmentTaskDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AssessmentTaskDetails.Builder
Overrides

clearInputPath()

public AssessmentTaskDetails.Builder clearInputPath()

Required. The Cloud Storage path for assessment input files.

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

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AssessmentTaskDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AssessmentTaskDetails.Builder
Overrides

clearOutputDataset()

public AssessmentTaskDetails.Builder clearOutputDataset()

Required. The BigQuery dataset for output.

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

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

clearQuerylogsPath()

public AssessmentTaskDetails.Builder clearQuerylogsPath()

Optional. An optional Cloud Storage path to write the query logs (which is then used as an input path on the translation task)

string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

clone()

public AssessmentTaskDetails.Builder clone()
Returns
Type Description
AssessmentTaskDetails.Builder
Overrides

getDataSource()

public String getDataSource()

Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) from which the input data is extracted.

string data_source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dataSource.

getDataSourceBytes()

public ByteString getDataSourceBytes()

Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) from which the input data is extracted.

string data_source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dataSource.

getDefaultInstanceForType()

public AssessmentTaskDetails getDefaultInstanceForType()
Returns
Type Description
AssessmentTaskDetails

getDescriptorForType()

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

getInputPath()

public String getInputPath()

Required. The Cloud Storage path for assessment input files.

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

Returns
Type Description
String

The inputPath.

getInputPathBytes()

public ByteString getInputPathBytes()

Required. The Cloud Storage path for assessment input files.

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

Returns
Type Description
ByteString

The bytes for inputPath.

getOutputDataset()

public String getOutputDataset()

Required. The BigQuery dataset for output.

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

Returns
Type Description
String

The outputDataset.

getOutputDatasetBytes()

public ByteString getOutputDatasetBytes()

Required. The BigQuery dataset for output.

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

Returns
Type Description
ByteString

The bytes for outputDataset.

getQuerylogsPath()

public String getQuerylogsPath()

Optional. An optional Cloud Storage path to write the query logs (which is then used as an input path on the translation task)

string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The querylogsPath.

getQuerylogsPathBytes()

public ByteString getQuerylogsPathBytes()

Optional. An optional Cloud Storage path to write the query logs (which is then used as an input path on the translation task)

string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for querylogsPath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AssessmentTaskDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssessmentTaskDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssessmentTaskDetails.Builder
Overrides

setDataSource(String value)

public AssessmentTaskDetails.Builder setDataSource(String value)

Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) from which the input data is extracted.

string data_source = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The dataSource to set.

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

setDataSourceBytes(ByteString value)

public AssessmentTaskDetails.Builder setDataSourceBytes(ByteString value)

Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) from which the input data is extracted.

string data_source = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for dataSource to set.

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AssessmentTaskDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssessmentTaskDetails.Builder
Overrides

setInputPath(String value)

public AssessmentTaskDetails.Builder setInputPath(String value)

Required. The Cloud Storage path for assessment input files.

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

Parameter
Name Description
value String

The inputPath to set.

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

setInputPathBytes(ByteString value)

public AssessmentTaskDetails.Builder setInputPathBytes(ByteString value)

Required. The Cloud Storage path for assessment input files.

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

Parameter
Name Description
value ByteString

The bytes for inputPath to set.

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

setOutputDataset(String value)

public AssessmentTaskDetails.Builder setOutputDataset(String value)

Required. The BigQuery dataset for output.

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

Parameter
Name Description
value String

The outputDataset to set.

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

setOutputDatasetBytes(ByteString value)

public AssessmentTaskDetails.Builder setOutputDatasetBytes(ByteString value)

Required. The BigQuery dataset for output.

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

Parameter
Name Description
value ByteString

The bytes for outputDataset to set.

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

setQuerylogsPath(String value)

public AssessmentTaskDetails.Builder setQuerylogsPath(String value)

Optional. An optional Cloud Storage path to write the query logs (which is then used as an input path on the translation task)

string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The querylogsPath to set.

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

setQuerylogsPathBytes(ByteString value)

public AssessmentTaskDetails.Builder setQuerylogsPathBytes(ByteString value)

Optional. An optional Cloud Storage path to write the query logs (which is then used as an input path on the translation task)

string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for querylogsPath to set.

Returns
Type Description
AssessmentTaskDetails.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AssessmentTaskDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AssessmentTaskDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AssessmentTaskDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssessmentTaskDetails.Builder
Overrides