- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TranslationConfigDetails.BuilderImplements
TranslationConfigDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTargetTypes(Iterable<String> values)
public TranslationConfigDetails.Builder addAllTargetTypes(Iterable<String> values)
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The targetTypes to add. |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TranslationConfigDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
addTargetTypes(String value)
public TranslationConfigDetails.Builder addTargetTypes(String value)
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;
Parameter | |
---|---|
Name | Description |
value |
String The targetTypes to add. |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
This builder for chaining. |
addTargetTypesBytes(ByteString value)
public TranslationConfigDetails.Builder addTargetTypesBytes(ByteString value)
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the targetTypes to add. |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
This builder for chaining. |
build()
public TranslationConfigDetails build()
Returns | |
---|---|
Type | Description |
TranslationConfigDetails |
buildPartial()
public TranslationConfigDetails buildPartial()
Returns | |
---|---|
Type | Description |
TranslationConfigDetails |
clear()
public TranslationConfigDetails.Builder clear()
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public TranslationConfigDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TranslationConfigDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
clearOutputNameMapping()
public TranslationConfigDetails.Builder clearOutputNameMapping()
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
clearRequestSource()
public TranslationConfigDetails.Builder clearRequestSource()
The indicator to show translation request initiator.
string request_source = 8;
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
This builder for chaining. |
clearSourceDialect()
public TranslationConfigDetails.Builder clearSourceDialect()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
clearSourceLocation()
public TranslationConfigDetails.Builder clearSourceLocation()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
clearTargetLocation()
public TranslationConfigDetails.Builder clearTargetLocation()
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
clearTargetTypes()
public TranslationConfigDetails.Builder clearTargetTypes()
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
This builder for chaining. |
clone()
public TranslationConfigDetails.Builder clone()
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
getDefaultInstanceForType()
public TranslationConfigDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TranslationConfigDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGcsSourcePath()
public String getGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ObjectNameMappingListOrBuilder |
getOutputNameMappingCase()
public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.OutputNameMappingCase |
getRequestSource()
public String getRequestSource()
The indicator to show translation request initiator.
string request_source = 8;
Returns | |
---|---|
Type | Description |
String |
The requestSource. |
getRequestSourceBytes()
public ByteString getRequestSourceBytes()
The indicator to show translation request initiator.
string request_source = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestSource. |
getSourceDialect()
public Dialect getSourceDialect()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
Returns | |
---|---|
Type | Description |
Dialect |
The sourceDialect. |
getSourceDialectBuilder()
public Dialect.Builder getSourceDialectBuilder()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
Returns | |
---|---|
Type | Description |
Dialect.Builder |
getSourceDialectOrBuilder()
public DialectOrBuilder getSourceDialectOrBuilder()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
Returns | |
---|---|
Type | Description |
DialectOrBuilder |
getSourceEnv()
public SourceEnv getSourceEnv()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
SourceEnv.Builder |
getSourceEnvOrBuilder()
public SourceEnvOrBuilder getSourceEnvOrBuilder()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
Returns | |
---|---|
Type | Description |
SourceEnvOrBuilder |
getSourceLocationCase()
public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
DialectOrBuilder |
getTargetLocationCase()
public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.TargetLocationCase |
getTargetTypes(int index)
public String getTargetTypes(int index)
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The targetTypes at the given index. |
getTargetTypesBytes(int index)
public ByteString getTargetTypesBytes(int index)
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the targetTypes at the given index. |
getTargetTypesCount()
public int getTargetTypesCount()
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;
Returns | |
---|---|
Type | Description |
int |
The count of targetTypes. |
getTargetTypesList()
public ProtocolStringList getTargetTypesList()
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the targetTypes. |
hasGcsSourcePath()
public boolean hasGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the targetDialect field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TranslationConfigDetails other)
public TranslationConfigDetails.Builder mergeFrom(TranslationConfigDetails other)
Parameter | |
---|---|
Name | Description |
other |
TranslationConfigDetails |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TranslationConfigDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TranslationConfigDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
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 | |
---|---|
Name | Description |
value |
ObjectNameMappingList |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Dialect |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
SourceEnv |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Dialect |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TranslationConfigDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TranslationConfigDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
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 | |
---|---|
Name | Description |
value |
String The gcsSourcePath to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for gcsSourcePath to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The gcsTargetPath to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for gcsTargetPath to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ObjectNameMappingList |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
ObjectNameMappingList.Builder |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TranslationConfigDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
setRequestSource(String value)
public TranslationConfigDetails.Builder setRequestSource(String value)
The indicator to show translation request initiator.
string request_source = 8;
Parameter | |
---|---|
Name | Description |
value |
String The requestSource to set. |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
This builder for chaining. |
setRequestSourceBytes(ByteString value)
public TranslationConfigDetails.Builder setRequestSourceBytes(ByteString value)
The indicator to show translation request initiator.
string request_source = 8;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestSource to set. |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
This builder for chaining. |
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 | |
---|---|
Name | Description |
value |
Dialect |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Dialect.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
SourceEnv |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
SourceEnv.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Dialect |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Dialect.Builder |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
setTargetTypes(int index, String value)
public TranslationConfigDetails.Builder setTargetTypes(int index, String value)
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
repeated string target_types = 9;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The targetTypes to set. |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TranslationConfigDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TranslationConfigDetails.Builder |