Class TranslationTaskResult.Builder (0.50.0)

public static final class TranslationTaskResult.Builder extends GeneratedMessageV3.Builder<TranslationTaskResult.Builder> implements TranslationTaskResultOrBuilder

Translation specific result details from the migration task.

Protobuf type google.cloud.bigquery.migration.v2.TranslationTaskResult

Static Methods

getDescriptor()

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

Methods

addAllReportLogMessages(Iterable<? extends GcsReportLogMessage> values)

public TranslationTaskResult.Builder addAllReportLogMessages(Iterable<? extends GcsReportLogMessage> values)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.migration.v2.GcsReportLogMessage>
Returns
Type Description
TranslationTaskResult.Builder

addAllTranslatedLiterals(Iterable<? extends Literal> values)

public TranslationTaskResult.Builder addAllTranslatedLiterals(Iterable<? extends Literal> values)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.migration.v2.Literal>
Returns
Type Description
TranslationTaskResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReportLogMessages(GcsReportLogMessage value)

public TranslationTaskResult.Builder addReportLogMessages(GcsReportLogMessage value)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameter
Name Description
value GcsReportLogMessage
Returns
Type Description
TranslationTaskResult.Builder

addReportLogMessages(GcsReportLogMessage.Builder builderForValue)

public TranslationTaskResult.Builder addReportLogMessages(GcsReportLogMessage.Builder builderForValue)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameter
Name Description
builderForValue GcsReportLogMessage.Builder
Returns
Type Description
TranslationTaskResult.Builder

addReportLogMessages(int index, GcsReportLogMessage value)

public TranslationTaskResult.Builder addReportLogMessages(int index, GcsReportLogMessage value)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameters
Name Description
index int
value GcsReportLogMessage
Returns
Type Description
TranslationTaskResult.Builder

addReportLogMessages(int index, GcsReportLogMessage.Builder builderForValue)

public TranslationTaskResult.Builder addReportLogMessages(int index, GcsReportLogMessage.Builder builderForValue)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameters
Name Description
index int
builderForValue GcsReportLogMessage.Builder
Returns
Type Description
TranslationTaskResult.Builder

addReportLogMessagesBuilder()

public GcsReportLogMessage.Builder addReportLogMessagesBuilder()

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Returns
Type Description
GcsReportLogMessage.Builder

addReportLogMessagesBuilder(int index)

public GcsReportLogMessage.Builder addReportLogMessagesBuilder(int index)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
GcsReportLogMessage.Builder

addTranslatedLiterals(Literal value)

public TranslationTaskResult.Builder addTranslatedLiterals(Literal value)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameter
Name Description
value Literal
Returns
Type Description
TranslationTaskResult.Builder

addTranslatedLiterals(Literal.Builder builderForValue)

public TranslationTaskResult.Builder addTranslatedLiterals(Literal.Builder builderForValue)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameter
Name Description
builderForValue Literal.Builder
Returns
Type Description
TranslationTaskResult.Builder

addTranslatedLiterals(int index, Literal value)

public TranslationTaskResult.Builder addTranslatedLiterals(int index, Literal value)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameters
Name Description
index int
value Literal
Returns
Type Description
TranslationTaskResult.Builder

addTranslatedLiterals(int index, Literal.Builder builderForValue)

public TranslationTaskResult.Builder addTranslatedLiterals(int index, Literal.Builder builderForValue)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameters
Name Description
index int
builderForValue Literal.Builder
Returns
Type Description
TranslationTaskResult.Builder

addTranslatedLiteralsBuilder()

public Literal.Builder addTranslatedLiteralsBuilder()

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Returns
Type Description
Literal.Builder

addTranslatedLiteralsBuilder(int index)

public Literal.Builder addTranslatedLiteralsBuilder(int index)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameter
Name Description
index int
Returns
Type Description
Literal.Builder

build()

public TranslationTaskResult build()
Returns
Type Description
TranslationTaskResult

buildPartial()

public TranslationTaskResult buildPartial()
Returns
Type Description
TranslationTaskResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReportLogMessages()

public TranslationTaskResult.Builder clearReportLogMessages()

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Returns
Type Description
TranslationTaskResult.Builder

clearTranslatedLiterals()

public TranslationTaskResult.Builder clearTranslatedLiterals()

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Returns
Type Description
TranslationTaskResult.Builder

clone()

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

getDefaultInstanceForType()

public TranslationTaskResult getDefaultInstanceForType()
Returns
Type Description
TranslationTaskResult

getDescriptorForType()

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

getReportLogMessages(int index)

public GcsReportLogMessage getReportLogMessages(int index)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
GcsReportLogMessage

getReportLogMessagesBuilder(int index)

public GcsReportLogMessage.Builder getReportLogMessagesBuilder(int index)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
GcsReportLogMessage.Builder

getReportLogMessagesBuilderList()

public List<GcsReportLogMessage.Builder> getReportLogMessagesBuilderList()

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Returns
Type Description
List<Builder>

getReportLogMessagesCount()

public int getReportLogMessagesCount()

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Returns
Type Description
int

getReportLogMessagesList()

public List<GcsReportLogMessage> getReportLogMessagesList()

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Returns
Type Description
List<GcsReportLogMessage>

getReportLogMessagesOrBuilder(int index)

public GcsReportLogMessageOrBuilder getReportLogMessagesOrBuilder(int index)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
GcsReportLogMessageOrBuilder

getReportLogMessagesOrBuilderList()

public List<? extends GcsReportLogMessageOrBuilder> getReportLogMessagesOrBuilderList()

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Returns
Type Description
List<? extends com.google.cloud.bigquery.migration.v2.GcsReportLogMessageOrBuilder>

getTranslatedLiterals(int index)

public Literal getTranslatedLiterals(int index)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameter
Name Description
index int
Returns
Type Description
Literal

getTranslatedLiteralsBuilder(int index)

public Literal.Builder getTranslatedLiteralsBuilder(int index)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameter
Name Description
index int
Returns
Type Description
Literal.Builder

getTranslatedLiteralsBuilderList()

public List<Literal.Builder> getTranslatedLiteralsBuilderList()

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Returns
Type Description
List<Builder>

getTranslatedLiteralsCount()

public int getTranslatedLiteralsCount()

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Returns
Type Description
int

getTranslatedLiteralsList()

public List<Literal> getTranslatedLiteralsList()

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Returns
Type Description
List<Literal>

getTranslatedLiteralsOrBuilder(int index)

public LiteralOrBuilder getTranslatedLiteralsOrBuilder(int index)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameter
Name Description
index int
Returns
Type Description
LiteralOrBuilder

getTranslatedLiteralsOrBuilderList()

public List<? extends LiteralOrBuilder> getTranslatedLiteralsOrBuilderList()

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.migration.v2.LiteralOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TranslationTaskResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReportLogMessages(int index)

public TranslationTaskResult.Builder removeReportLogMessages(int index)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameter
Name Description
index int
Returns
Type Description
TranslationTaskResult.Builder

removeTranslatedLiterals(int index)

public TranslationTaskResult.Builder removeTranslatedLiterals(int index)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameter
Name Description
index int
Returns
Type Description
TranslationTaskResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setReportLogMessages(int index, GcsReportLogMessage value)

public TranslationTaskResult.Builder setReportLogMessages(int index, GcsReportLogMessage value)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameters
Name Description
index int
value GcsReportLogMessage
Returns
Type Description
TranslationTaskResult.Builder

setReportLogMessages(int index, GcsReportLogMessage.Builder builderForValue)

public TranslationTaskResult.Builder setReportLogMessages(int index, GcsReportLogMessage.Builder builderForValue)

The records from the aggregate CSV report for a migration workflow.

repeated .google.cloud.bigquery.migration.v2.GcsReportLogMessage report_log_messages = 2;

Parameters
Name Description
index int
builderForValue GcsReportLogMessage.Builder
Returns
Type Description
TranslationTaskResult.Builder

setTranslatedLiterals(int index, Literal value)

public TranslationTaskResult.Builder setTranslatedLiterals(int index, Literal value)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameters
Name Description
index int
value Literal
Returns
Type Description
TranslationTaskResult.Builder

setTranslatedLiterals(int index, Literal.Builder builderForValue)

public TranslationTaskResult.Builder setTranslatedLiterals(int index, Literal.Builder builderForValue)

The list of the translated literals.

repeated .google.cloud.bigquery.migration.v2.Literal translated_literals = 1;

Parameters
Name Description
index int
builderForValue Literal.Builder
Returns
Type Description
TranslationTaskResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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