Class AssessmentTaskDetails.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AssessmentTaskDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AssessmentTaskDetails.Builder
Overrides

build()

public AssessmentTaskDetails build()
Returns
TypeDescription
AssessmentTaskDetails

buildPartial()

public AssessmentTaskDetails buildPartial()
Returns
TypeDescription
AssessmentTaskDetails

clear()

public AssessmentTaskDetails.Builder clear()
Returns
TypeDescription
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
TypeDescription
AssessmentTaskDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AssessmentTaskDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AssessmentTaskDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AssessmentTaskDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AssessmentTaskDetails.Builder
Overrides

clearOutputDataset()

public AssessmentTaskDetails.Builder clearOutputDataset()

Required. The BigQuery dataset for output.

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

Returns
TypeDescription
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
TypeDescription
AssessmentTaskDetails.Builder

This builder for chaining.

clone()

public AssessmentTaskDetails.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataSource.

getDefaultInstanceForType()

public AssessmentTaskDetails getDefaultInstanceForType()
Returns
TypeDescription
AssessmentTaskDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The outputDataset.

getOutputDatasetBytes()

public ByteString getOutputDatasetBytes()

Required. The BigQuery dataset for output.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for querylogsPath.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AssessmentTaskDetails other)

public AssessmentTaskDetails.Builder mergeFrom(AssessmentTaskDetails other)
Parameter
NameDescription
otherAssessmentTaskDetails
Returns
TypeDescription
AssessmentTaskDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AssessmentTaskDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AssessmentTaskDetails.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AssessmentTaskDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AssessmentTaskDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssessmentTaskDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dataSource to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataSource to set.

Returns
TypeDescription
AssessmentTaskDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AssessmentTaskDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The inputPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for inputPath to set.

Returns
TypeDescription
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
NameDescription
valueString

The outputDataset to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for outputDataset to set.

Returns
TypeDescription
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
NameDescription
valueString

The querylogsPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for querylogsPath to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AssessmentTaskDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AssessmentTaskDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AssessmentTaskDetails.Builder
Overrides