Class TranslationConfigDetails.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
- com.google.cloud.bigquery.migration.v2.TranslationConfigDetails.Builder
-
- All Implemented Interfaces:
TranslationConfigDetailsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TranslationConfigDetails
public static final class TranslationConfigDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder> implements TranslationConfigDetailsOrBuilder
The translation config to capture necessary settings for a translation task and subtask.
Protobuf typegoogle.cloud.bigquery.migration.v2.TranslationConfigDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TranslationConfigDetails.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TranslationConfigDetails
build()
TranslationConfigDetails
buildPartial()
TranslationConfigDetails.Builder
clear()
TranslationConfigDetails.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TranslationConfigDetails.Builder
clearGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.TranslationConfigDetails.Builder
clearGcsTargetPath()
The Cloud Storage path to write back the corresponding input files to.TranslationConfigDetails.Builder
clearNameMappingList()
The mapping of objects to their desired output names in list form.TranslationConfigDetails.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TranslationConfigDetails.Builder
clearOutputNameMapping()
TranslationConfigDetails.Builder
clearRequestSource()
The indicator to show translation request initiator.TranslationConfigDetails.Builder
clearSourceDialect()
The dialect of the input files.TranslationConfigDetails.Builder
clearSourceEnv()
The default source environment values for the translation.TranslationConfigDetails.Builder
clearSourceLocation()
TranslationConfigDetails.Builder
clearTargetDialect()
The target dialect for the engine to translate the input to.TranslationConfigDetails.Builder
clearTargetLocation()
TranslationConfigDetails.Builder
clone()
TranslationConfigDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.com.google.protobuf.ByteString
getGcsSourcePathBytes()
The Cloud Storage path for a directory of files to translate in a task.String
getGcsTargetPath()
The Cloud Storage path to write back the corresponding input files to.com.google.protobuf.ByteString
getGcsTargetPathBytes()
The Cloud Storage path to write back the corresponding input files to.ObjectNameMappingList
getNameMappingList()
The mapping of objects to their desired output names in list form.ObjectNameMappingList.Builder
getNameMappingListBuilder()
The mapping of objects to their desired output names in list form.ObjectNameMappingListOrBuilder
getNameMappingListOrBuilder()
The mapping of objects to their desired output names in list form.TranslationConfigDetails.OutputNameMappingCase
getOutputNameMappingCase()
String
getRequestSource()
The indicator to show translation request initiator.com.google.protobuf.ByteString
getRequestSourceBytes()
The indicator to show translation request initiator.Dialect
getSourceDialect()
The dialect of the input files.Dialect.Builder
getSourceDialectBuilder()
The dialect of the input files.DialectOrBuilder
getSourceDialectOrBuilder()
The dialect of the input files.SourceEnv
getSourceEnv()
The default source environment values for the translation.SourceEnv.Builder
getSourceEnvBuilder()
The default source environment values for the translation.SourceEnvOrBuilder
getSourceEnvOrBuilder()
The default source environment values for the translation.TranslationConfigDetails.SourceLocationCase
getSourceLocationCase()
Dialect
getTargetDialect()
The target dialect for the engine to translate the input to.Dialect.Builder
getTargetDialectBuilder()
The target dialect for the engine to translate the input to.DialectOrBuilder
getTargetDialectOrBuilder()
The target dialect for the engine to translate the input to.TranslationConfigDetails.TargetLocationCase
getTargetLocationCase()
boolean
hasGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.boolean
hasGcsTargetPath()
The Cloud Storage path to write back the corresponding input files to.boolean
hasNameMappingList()
The mapping of objects to their desired output names in list form.boolean
hasSourceDialect()
The dialect of the input files.boolean
hasSourceEnv()
The default source environment values for the translation.boolean
hasTargetDialect()
The target dialect for the engine to translate the input to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TranslationConfigDetails.Builder
mergeFrom(TranslationConfigDetails other)
TranslationConfigDetails.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TranslationConfigDetails.Builder
mergeFrom(com.google.protobuf.Message other)
TranslationConfigDetails.Builder
mergeNameMappingList(ObjectNameMappingList value)
The mapping of objects to their desired output names in list form.TranslationConfigDetails.Builder
mergeSourceDialect(Dialect value)
The dialect of the input files.TranslationConfigDetails.Builder
mergeSourceEnv(SourceEnv value)
The default source environment values for the translation.TranslationConfigDetails.Builder
mergeTargetDialect(Dialect value)
The target dialect for the engine to translate the input to.TranslationConfigDetails.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TranslationConfigDetails.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TranslationConfigDetails.Builder
setGcsSourcePath(String value)
The Cloud Storage path for a directory of files to translate in a task.TranslationConfigDetails.Builder
setGcsSourcePathBytes(com.google.protobuf.ByteString value)
The Cloud Storage path for a directory of files to translate in a task.TranslationConfigDetails.Builder
setGcsTargetPath(String value)
The Cloud Storage path to write back the corresponding input files to.TranslationConfigDetails.Builder
setGcsTargetPathBytes(com.google.protobuf.ByteString value)
The Cloud Storage path to write back the corresponding input files to.TranslationConfigDetails.Builder
setNameMappingList(ObjectNameMappingList value)
The mapping of objects to their desired output names in list form.TranslationConfigDetails.Builder
setNameMappingList(ObjectNameMappingList.Builder builderForValue)
The mapping of objects to their desired output names in list form.TranslationConfigDetails.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TranslationConfigDetails.Builder
setRequestSource(String value)
The indicator to show translation request initiator.TranslationConfigDetails.Builder
setRequestSourceBytes(com.google.protobuf.ByteString value)
The indicator to show translation request initiator.TranslationConfigDetails.Builder
setSourceDialect(Dialect value)
The dialect of the input files.TranslationConfigDetails.Builder
setSourceDialect(Dialect.Builder builderForValue)
The dialect of the input files.TranslationConfigDetails.Builder
setSourceEnv(SourceEnv value)
The default source environment values for the translation.TranslationConfigDetails.Builder
setSourceEnv(SourceEnv.Builder builderForValue)
The default source environment values for the translation.TranslationConfigDetails.Builder
setTargetDialect(Dialect value)
The target dialect for the engine to translate the input to.TranslationConfigDetails.Builder
setTargetDialect(Dialect.Builder builderForValue)
The target dialect for the engine to translate the input to.TranslationConfigDetails.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
clear
public TranslationConfigDetails.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
getDefaultInstanceForType
public TranslationConfigDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TranslationConfigDetails build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TranslationConfigDetails buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TranslationConfigDetails.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
setField
public TranslationConfigDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
clearField
public TranslationConfigDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
clearOneof
public TranslationConfigDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
setRepeatedField
public TranslationConfigDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
addRepeatedField
public TranslationConfigDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
mergeFrom
public TranslationConfigDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TranslationConfigDetails.Builder>
-
mergeFrom
public TranslationConfigDetails.Builder mergeFrom(TranslationConfigDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
mergeFrom
public TranslationConfigDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TranslationConfigDetails.Builder>
- Throws:
IOException
-
getSourceLocationCase
public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
- Specified by:
getSourceLocationCase
in interfaceTranslationConfigDetailsOrBuilder
-
clearSourceLocation
public TranslationConfigDetails.Builder clearSourceLocation()
-
getTargetLocationCase
public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
- Specified by:
getTargetLocationCase
in interfaceTranslationConfigDetailsOrBuilder
-
clearTargetLocation
public TranslationConfigDetails.Builder clearTargetLocation()
-
getOutputNameMappingCase
public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
- Specified by:
getOutputNameMappingCase
in interfaceTranslationConfigDetailsOrBuilder
-
clearOutputNameMapping
public TranslationConfigDetails.Builder clearOutputNameMapping()
-
hasGcsSourcePath
public boolean hasGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
- Specified by:
hasGcsSourcePath
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the gcsSourcePath field is set.
-
getGcsSourcePath
public String getGcsSourcePath()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
- Specified by:
getGcsSourcePath
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The gcsSourcePath.
-
getGcsSourcePathBytes
public com.google.protobuf.ByteString getGcsSourcePathBytes()
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
- Specified by:
getGcsSourcePathBytes
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The bytes for gcsSourcePath.
-
setGcsSourcePath
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;
- Parameters:
value
- The gcsSourcePath to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setGcsSourcePathBytes
public TranslationConfigDetails.Builder setGcsSourcePathBytes(com.google.protobuf.ByteString value)
The Cloud Storage path for a directory of files to translate in a task.
string gcs_source_path = 1;
- Parameters:
value
- The bytes for gcsSourcePath to set.- Returns:
- This builder for chaining.
-
hasGcsTargetPath
public boolean hasGcsTargetPath()
The Cloud Storage path to write back the corresponding input files to.
string gcs_target_path = 2;
- Specified by:
hasGcsTargetPath
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the gcsTargetPath field is set.
-
getGcsTargetPath
public String getGcsTargetPath()
The Cloud Storage path to write back the corresponding input files to.
string gcs_target_path = 2;
- Specified by:
getGcsTargetPath
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The gcsTargetPath.
-
getGcsTargetPathBytes
public com.google.protobuf.ByteString getGcsTargetPathBytes()
The Cloud Storage path to write back the corresponding input files to.
string gcs_target_path = 2;
- Specified by:
getGcsTargetPathBytes
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The bytes for gcsTargetPath.
-
setGcsTargetPath
public TranslationConfigDetails.Builder setGcsTargetPath(String value)
The Cloud Storage path to write back the corresponding input files to.
string gcs_target_path = 2;
- Parameters:
value
- The gcsTargetPath to set.- Returns:
- 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:
- This builder for chaining.
-
setGcsTargetPathBytes
public TranslationConfigDetails.Builder setGcsTargetPathBytes(com.google.protobuf.ByteString value)
The Cloud Storage path to write back the corresponding input files to.
string gcs_target_path = 2;
- Parameters:
value
- The bytes for gcsTargetPath to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasNameMappingList
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the nameMappingList field is set.
-
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;
- Specified by:
getNameMappingList
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The nameMappingList.
-
setNameMappingList
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;
-
setNameMappingList
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;
-
mergeNameMappingList
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;
-
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;
-
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;
-
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;
- Specified by:
getNameMappingListOrBuilder
in interfaceTranslationConfigDetailsOrBuilder
-
hasSourceDialect
public boolean hasSourceDialect()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
- Specified by:
hasSourceDialect
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the sourceDialect field is set.
-
getSourceDialect
public Dialect getSourceDialect()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
- Specified by:
getSourceDialect
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The sourceDialect.
-
setSourceDialect
public TranslationConfigDetails.Builder setSourceDialect(Dialect value)
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
-
setSourceDialect
public TranslationConfigDetails.Builder setSourceDialect(Dialect.Builder builderForValue)
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
-
mergeSourceDialect
public TranslationConfigDetails.Builder mergeSourceDialect(Dialect value)
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
-
clearSourceDialect
public TranslationConfigDetails.Builder clearSourceDialect()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
-
getSourceDialectBuilder
public Dialect.Builder getSourceDialectBuilder()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
-
getSourceDialectOrBuilder
public DialectOrBuilder getSourceDialectOrBuilder()
The dialect of the input files.
.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;
- Specified by:
getSourceDialectOrBuilder
in interfaceTranslationConfigDetailsOrBuilder
-
hasTargetDialect
public boolean hasTargetDialect()
The target dialect for the engine to translate the input to.
.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;
- Specified by:
hasTargetDialect
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the targetDialect field is set.
-
getTargetDialect
public Dialect getTargetDialect()
The target dialect for the engine to translate the input to.
.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;
- Specified by:
getTargetDialect
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The targetDialect.
-
setTargetDialect
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;
-
setTargetDialect
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;
-
mergeTargetDialect
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;
-
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;
-
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;
-
getTargetDialectOrBuilder
public DialectOrBuilder getTargetDialectOrBuilder()
The target dialect for the engine to translate the input to.
.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;
- Specified by:
getTargetDialectOrBuilder
in interfaceTranslationConfigDetailsOrBuilder
-
hasSourceEnv
public boolean hasSourceEnv()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
- Specified by:
hasSourceEnv
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- Whether the sourceEnv field is set.
-
getSourceEnv
public SourceEnv getSourceEnv()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
- Specified by:
getSourceEnv
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The sourceEnv.
-
setSourceEnv
public TranslationConfigDetails.Builder setSourceEnv(SourceEnv value)
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
-
setSourceEnv
public TranslationConfigDetails.Builder setSourceEnv(SourceEnv.Builder builderForValue)
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
-
mergeSourceEnv
public TranslationConfigDetails.Builder mergeSourceEnv(SourceEnv value)
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
-
clearSourceEnv
public TranslationConfigDetails.Builder clearSourceEnv()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
-
getSourceEnvBuilder
public SourceEnv.Builder getSourceEnvBuilder()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
-
getSourceEnvOrBuilder
public SourceEnvOrBuilder getSourceEnvOrBuilder()
The default source environment values for the translation.
.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;
- Specified by:
getSourceEnvOrBuilder
in interfaceTranslationConfigDetailsOrBuilder
-
getRequestSource
public String getRequestSource()
The indicator to show translation request initiator.
string request_source = 8;
- Specified by:
getRequestSource
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The requestSource.
-
getRequestSourceBytes
public com.google.protobuf.ByteString getRequestSourceBytes()
The indicator to show translation request initiator.
string request_source = 8;
- Specified by:
getRequestSourceBytes
in interfaceTranslationConfigDetailsOrBuilder
- Returns:
- The bytes for requestSource.
-
setRequestSource
public TranslationConfigDetails.Builder setRequestSource(String value)
The indicator to show translation request initiator.
string request_source = 8;
- Parameters:
value
- The requestSource to set.- Returns:
- This builder for chaining.
-
clearRequestSource
public TranslationConfigDetails.Builder clearRequestSource()
The indicator to show translation request initiator.
string request_source = 8;
- Returns:
- This builder for chaining.
-
setRequestSourceBytes
public TranslationConfigDetails.Builder setRequestSourceBytes(com.google.protobuf.ByteString value)
The indicator to show translation request initiator.
string request_source = 8;
- Parameters:
value
- The bytes for requestSource to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TranslationConfigDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
mergeUnknownFields
public final TranslationConfigDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TranslationConfigDetails.Builder>
-
-