Class TranslationConfigDetails.Builder (0.9.0)

public static final class TranslationConfigDetails.Builder extends GeneratedMessageV3.Builder<TranslationConfigDetails.Builder> implements TranslationConfigDetailsOrBuilder

The translation config to capture necessary settings for a translation task and subtask.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranslationConfigDetails build()
Returns
TypeDescription
TranslationConfigDetails

buildPartial()

public TranslationConfigDetails buildPartial()
Returns
TypeDescription
TranslationConfigDetails

clear()

public TranslationConfigDetails.Builder clear()
Returns
TypeDescription
TranslationConfigDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TranslationConfigDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TranslationConfigDetails.Builder
Overrides

clearGcsSourcePath()

public TranslationConfigDetails.Builder clearGcsSourcePath()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
TypeDescription
TranslationConfigDetails.Builder

This builder for chaining.

clearGcsTargetPath()

public TranslationConfigDetails.Builder clearGcsTargetPath()

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Returns
TypeDescription
TranslationConfigDetails.Builder

This builder for chaining.

clearNameMappingList()

public TranslationConfigDetails.Builder clearNameMappingList()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
TypeDescription
TranslationConfigDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputNameMapping()

public TranslationConfigDetails.Builder clearOutputNameMapping()
Returns
TypeDescription
TranslationConfigDetails.Builder

clearSourceDialect()

public TranslationConfigDetails.Builder clearSourceDialect()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
TypeDescription
TranslationConfigDetails.Builder

clearSourceEnv()

public TranslationConfigDetails.Builder clearSourceEnv()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
TypeDescription
TranslationConfigDetails.Builder

clearSourceLocation()

public TranslationConfigDetails.Builder clearSourceLocation()
Returns
TypeDescription
TranslationConfigDetails.Builder

clearTargetDialect()

public TranslationConfigDetails.Builder clearTargetDialect()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
TypeDescription
TranslationConfigDetails.Builder

clearTargetLocation()

public TranslationConfigDetails.Builder clearTargetLocation()
Returns
TypeDescription
TranslationConfigDetails.Builder

clone()

public TranslationConfigDetails.Builder clone()
Returns
TypeDescription
TranslationConfigDetails.Builder
Overrides

getDefaultInstanceForType()

public TranslationConfigDetails getDefaultInstanceForType()
Returns
TypeDescription
TranslationConfigDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsSourcePath()

public String getGcsSourcePath()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
TypeDescription
String

The gcsSourcePath.

getGcsSourcePathBytes()

public ByteString getGcsSourcePathBytes()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
TypeDescription
ByteString

The bytes for gcsSourcePath.

getGcsTargetPath()

public String getGcsTargetPath()

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Returns
TypeDescription
String

The gcsTargetPath.

getGcsTargetPathBytes()

public ByteString getGcsTargetPathBytes()

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Returns
TypeDescription
ByteString

The bytes for gcsTargetPath.

getNameMappingList()

public ObjectNameMappingList getNameMappingList()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
TypeDescription
ObjectNameMappingList

The nameMappingList.

getNameMappingListBuilder()

public ObjectNameMappingList.Builder getNameMappingListBuilder()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
TypeDescription
ObjectNameMappingList.Builder

getNameMappingListOrBuilder()

public ObjectNameMappingListOrBuilder getNameMappingListOrBuilder()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
TypeDescription
ObjectNameMappingListOrBuilder

getOutputNameMappingCase()

public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
Returns
TypeDescription
TranslationConfigDetails.OutputNameMappingCase

getSourceDialect()

public Dialect getSourceDialect()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
TypeDescription
Dialect

The sourceDialect.

getSourceDialectBuilder()

public Dialect.Builder getSourceDialectBuilder()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
TypeDescription
Dialect.Builder

getSourceDialectOrBuilder()

public DialectOrBuilder getSourceDialectOrBuilder()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
TypeDescription
DialectOrBuilder

getSourceEnv()

public SourceEnv getSourceEnv()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
TypeDescription
SourceEnv

The sourceEnv.

getSourceEnvBuilder()

public SourceEnv.Builder getSourceEnvBuilder()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
TypeDescription
SourceEnv.Builder

getSourceEnvOrBuilder()

public SourceEnvOrBuilder getSourceEnvOrBuilder()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
TypeDescription
SourceEnvOrBuilder

getSourceLocationCase()

public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
Returns
TypeDescription
TranslationConfigDetails.SourceLocationCase

getTargetDialect()

public Dialect getTargetDialect()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
TypeDescription
Dialect

The targetDialect.

getTargetDialectBuilder()

public Dialect.Builder getTargetDialectBuilder()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
TypeDescription
Dialect.Builder

getTargetDialectOrBuilder()

public DialectOrBuilder getTargetDialectOrBuilder()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
TypeDescription
DialectOrBuilder

getTargetLocationCase()

public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
Returns
TypeDescription
TranslationConfigDetails.TargetLocationCase

hasGcsSourcePath()

public boolean hasGcsSourcePath()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
TypeDescription
boolean

Whether the gcsSourcePath field is set.

hasGcsTargetPath()

public boolean hasGcsTargetPath()

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Returns
TypeDescription
boolean

Whether the gcsTargetPath field is set.

hasNameMappingList()

public boolean hasNameMappingList()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
TypeDescription
boolean

Whether the nameMappingList field is set.

hasSourceDialect()

public boolean hasSourceDialect()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
TypeDescription
boolean

Whether the sourceDialect field is set.

hasSourceEnv()

public boolean hasSourceEnv()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
TypeDescription
boolean

Whether the sourceEnv field is set.

hasTargetDialect()

public boolean hasTargetDialect()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
TypeDescription
boolean

Whether the targetDialect field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TranslationConfigDetails other)

public TranslationConfigDetails.Builder mergeFrom(TranslationConfigDetails other)
Parameter
NameDescription
otherTranslationConfigDetails
Returns
TypeDescription
TranslationConfigDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNameMappingList(ObjectNameMappingList value)

public TranslationConfigDetails.Builder mergeNameMappingList(ObjectNameMappingList value)

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Parameter
NameDescription
valueObjectNameMappingList
Returns
TypeDescription
TranslationConfigDetails.Builder

mergeSourceDialect(Dialect value)

public TranslationConfigDetails.Builder mergeSourceDialect(Dialect value)

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Parameter
NameDescription
valueDialect
Returns
TypeDescription
TranslationConfigDetails.Builder

mergeSourceEnv(SourceEnv value)

public TranslationConfigDetails.Builder mergeSourceEnv(SourceEnv value)

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Parameter
NameDescription
valueSourceEnv
Returns
TypeDescription
TranslationConfigDetails.Builder

mergeTargetDialect(Dialect value)

public TranslationConfigDetails.Builder mergeTargetDialect(Dialect value)

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Parameter
NameDescription
valueDialect
Returns
TypeDescription
TranslationConfigDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TranslationConfigDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TranslationConfigDetails.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSourcePath(String value)

public TranslationConfigDetails.Builder setGcsSourcePath(String value)

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Parameter
NameDescription
valueString

The gcsSourcePath to set.

Returns
TypeDescription
TranslationConfigDetails.Builder

This builder for chaining.

setGcsSourcePathBytes(ByteString value)

public TranslationConfigDetails.Builder setGcsSourcePathBytes(ByteString value)

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Parameter
NameDescription
valueByteString

The bytes for gcsSourcePath to set.

Returns
TypeDescription
TranslationConfigDetails.Builder

This builder for chaining.

setGcsTargetPath(String value)

public TranslationConfigDetails.Builder setGcsTargetPath(String value)

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Parameter
NameDescription
valueString

The gcsTargetPath to set.

Returns
TypeDescription
TranslationConfigDetails.Builder

This builder for chaining.

setGcsTargetPathBytes(ByteString value)

public TranslationConfigDetails.Builder setGcsTargetPathBytes(ByteString value)

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Parameter
NameDescription
valueByteString

The bytes for gcsTargetPath to set.

Returns
TypeDescription
TranslationConfigDetails.Builder

This builder for chaining.

setNameMappingList(ObjectNameMappingList value)

public TranslationConfigDetails.Builder setNameMappingList(ObjectNameMappingList value)

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Parameter
NameDescription
valueObjectNameMappingList
Returns
TypeDescription
TranslationConfigDetails.Builder

setNameMappingList(ObjectNameMappingList.Builder builderForValue)

public TranslationConfigDetails.Builder setNameMappingList(ObjectNameMappingList.Builder builderForValue)

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Parameter
NameDescription
builderForValueObjectNameMappingList.Builder
Returns
TypeDescription
TranslationConfigDetails.Builder

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

public TranslationConfigDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TranslationConfigDetails.Builder
Overrides

setSourceDialect(Dialect value)

public TranslationConfigDetails.Builder setSourceDialect(Dialect value)

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Parameter
NameDescription
valueDialect
Returns
TypeDescription
TranslationConfigDetails.Builder

setSourceDialect(Dialect.Builder builderForValue)

public TranslationConfigDetails.Builder setSourceDialect(Dialect.Builder builderForValue)

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Parameter
NameDescription
builderForValueDialect.Builder
Returns
TypeDescription
TranslationConfigDetails.Builder

setSourceEnv(SourceEnv value)

public TranslationConfigDetails.Builder setSourceEnv(SourceEnv value)

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Parameter
NameDescription
valueSourceEnv
Returns
TypeDescription
TranslationConfigDetails.Builder

setSourceEnv(SourceEnv.Builder builderForValue)

public TranslationConfigDetails.Builder setSourceEnv(SourceEnv.Builder builderForValue)

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Parameter
NameDescription
builderForValueSourceEnv.Builder
Returns
TypeDescription
TranslationConfigDetails.Builder

setTargetDialect(Dialect value)

public TranslationConfigDetails.Builder setTargetDialect(Dialect value)

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Parameter
NameDescription
valueDialect
Returns
TypeDescription
TranslationConfigDetails.Builder

setTargetDialect(Dialect.Builder builderForValue)

public TranslationConfigDetails.Builder setTargetDialect(Dialect.Builder builderForValue)

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Parameter
NameDescription
builderForValueDialect.Builder
Returns
TypeDescription
TranslationConfigDetails.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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