Class BteqOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BteqOptions.Builder>
com.google.cloud.bigquery.migration.v2alpha.BteqOptions.Builder
- All Implemented Interfaces:
BteqOptionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BteqOptions
public static final class BteqOptions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BteqOptions.Builder>
implements BteqOptionsOrBuilder
BTEQ translation task related settings.Protobuf type
google.cloud.bigquery.migration.v2alpha.BteqOptions-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.booleanMaps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.com.google.protobuf.ByteStringThe Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intMaps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).getFileReplacementMapOrDefault(String key, String defaultValue) Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).Deprecated.Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.booleanSpecifies the project and dataset in BigQuery that will be used for external table creation during the translation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(BteqOptions other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.putAllFileReplacementMap(Map<String, String> values) Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).putFileReplacementMap(String key, String value) Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).setDefaultPathUri(String value) The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.setDefaultPathUriBytes(com.google.protobuf.ByteString value) The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.setProjectDataset(DatasetReference.Builder builderForValue) Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BteqOptions.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<BteqOptions.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BteqOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BteqOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BteqOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BteqOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BteqOptions.Builder>
-
mergeFrom
public BteqOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BteqOptions.Builder>- Throws:
IOException
-
hasProjectDataset
public boolean hasProjectDataset()Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;- Specified by:
hasProjectDatasetin interfaceBteqOptionsOrBuilder- Returns:
- Whether the projectDataset field is set.
-
getProjectDataset
Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;- Specified by:
getProjectDatasetin interfaceBteqOptionsOrBuilder- Returns:
- The projectDataset.
-
setProjectDataset
Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; -
setProjectDataset
Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; -
mergeProjectDataset
Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; -
clearProjectDataset
Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; -
getProjectDatasetBuilder
Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1; -
getProjectDatasetOrBuilder
Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.
.google.cloud.bigquery.migration.v2alpha.DatasetReference project_dataset = 1;- Specified by:
getProjectDatasetOrBuilderin interfaceBteqOptionsOrBuilder
-
getDefaultPathUri
The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.
string default_path_uri = 2;- Specified by:
getDefaultPathUriin interfaceBteqOptionsOrBuilder- Returns:
- The defaultPathUri.
-
getDefaultPathUriBytes
public com.google.protobuf.ByteString getDefaultPathUriBytes()The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.
string default_path_uri = 2;- Specified by:
getDefaultPathUriBytesin interfaceBteqOptionsOrBuilder- Returns:
- The bytes for defaultPathUri.
-
setDefaultPathUri
The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.
string default_path_uri = 2;- Parameters:
value- The defaultPathUri to set.- Returns:
- This builder for chaining.
-
clearDefaultPathUri
The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.
string default_path_uri = 2;- Returns:
- This builder for chaining.
-
setDefaultPathUriBytes
The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.
string default_path_uri = 2;- Parameters:
value- The bytes for defaultPathUri to set.- Returns:
- This builder for chaining.
-
getFileReplacementMapCount
public int getFileReplacementMapCount()Description copied from interface:BteqOptionsOrBuilderMaps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).
map<string, string> file_replacement_map = 3;- Specified by:
getFileReplacementMapCountin interfaceBteqOptionsOrBuilder
-
containsFileReplacementMap
Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).
map<string, string> file_replacement_map = 3;- Specified by:
containsFileReplacementMapin interfaceBteqOptionsOrBuilder
-
getFileReplacementMap
Deprecated.UsegetFileReplacementMapMap()instead.- Specified by:
getFileReplacementMapin interfaceBteqOptionsOrBuilder
-
getFileReplacementMapMap
Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).
map<string, string> file_replacement_map = 3;- Specified by:
getFileReplacementMapMapin interfaceBteqOptionsOrBuilder
-
getFileReplacementMapOrDefault
Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).
map<string, string> file_replacement_map = 3;- Specified by:
getFileReplacementMapOrDefaultin interfaceBteqOptionsOrBuilder
-
getFileReplacementMapOrThrow
Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).
map<string, string> file_replacement_map = 3;- Specified by:
getFileReplacementMapOrThrowin interfaceBteqOptionsOrBuilder
-
clearFileReplacementMap
-
removeFileReplacementMap
Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).
map<string, string> file_replacement_map = 3; -
getMutableFileReplacementMap
Deprecated.Use alternate mutation accessors instead. -
putFileReplacementMap
Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).
map<string, string> file_replacement_map = 3; -
putAllFileReplacementMap
Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).
map<string, string> file_replacement_map = 3;
-