public static final class BteqOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder> implements BteqOptionsOrBuilder
BTEQ translation task related settings.Protobuf type
google.cloud.bigquery.migration.v2alpha.BteqOptions| Modifier and Type | Method and Description |
|---|---|
BteqOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BteqOptions |
build() |
BteqOptions |
buildPartial() |
BteqOptions.Builder |
clear() |
BteqOptions.Builder |
clearDefaultPathUri()
The Cloud Storage location to be used as the default path for files that
are not otherwise specified in the file replacement map.
|
BteqOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BteqOptions.Builder |
clearFileReplacementMap() |
BteqOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BteqOptions.Builder |
clearProjectDataset()
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
|
BteqOptions.Builder |
clone() |
boolean |
containsFileReplacementMap(String key)
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).
|
BteqOptions |
getDefaultInstanceForType() |
String |
getDefaultPathUri()
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.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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getFileReplacementMap()
Deprecated.
|
int |
getFileReplacementMapCount()
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> |
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).
|
String |
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).
|
String |
getFileReplacementMapOrThrow(String key)
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> |
getMutableFileReplacementMap()
Deprecated.
|
DatasetReference |
getProjectDataset()
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
|
DatasetReference.Builder |
getProjectDatasetBuilder()
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
|
DatasetReferenceOrBuilder |
getProjectDatasetOrBuilder()
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
|
boolean |
hasProjectDataset()
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
BteqOptions.Builder |
mergeFrom(BteqOptions other) |
BteqOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BteqOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
BteqOptions.Builder |
mergeProjectDataset(DatasetReference value)
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
|
BteqOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BteqOptions.Builder |
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).
|
BteqOptions.Builder |
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).
|
BteqOptions.Builder |
removeFileReplacementMap(String key)
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).
|
BteqOptions.Builder |
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.
|
BteqOptions.Builder |
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.
|
BteqOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BteqOptions.Builder |
setProjectDataset(DatasetReference.Builder builderForValue)
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
|
BteqOptions.Builder |
setProjectDataset(DatasetReference value)
Specifies the project and dataset in BigQuery that will be used for
external table creation during the translation.
|
BteqOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BteqOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public BteqOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public BteqOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BteqOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BteqOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BteqOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public BteqOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public BteqOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public BteqOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public BteqOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public BteqOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public BteqOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BteqOptions.Builder>public BteqOptions.Builder mergeFrom(BteqOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public BteqOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BteqOptions.Builder>IOExceptionpublic 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;hasProjectDataset in interface BteqOptionsOrBuilderpublic DatasetReference 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;getProjectDataset in interface BteqOptionsOrBuilderpublic BteqOptions.Builder setProjectDataset(DatasetReference value)
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;public BteqOptions.Builder setProjectDataset(DatasetReference.Builder builderForValue)
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;public BteqOptions.Builder mergeProjectDataset(DatasetReference value)
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;public BteqOptions.Builder 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;public DatasetReference.Builder 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;public DatasetReferenceOrBuilder 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;getProjectDatasetOrBuilder in interface BteqOptionsOrBuilderpublic String 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;getDefaultPathUri in interface BteqOptionsOrBuilderpublic 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;getDefaultPathUriBytes in interface BteqOptionsOrBuilderpublic BteqOptions.Builder 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.
string default_path_uri = 2;value - The defaultPathUri to set.public BteqOptions.Builder 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;public BteqOptions.Builder 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.
string default_path_uri = 2;value - The bytes for defaultPathUri to set.public int getFileReplacementMapCount()
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;getFileReplacementMapCount in interface BteqOptionsOrBuilderpublic boolean containsFileReplacementMap(String key)
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;containsFileReplacementMap in interface BteqOptionsOrBuilder@Deprecated public Map<String,String> getFileReplacementMap()
getFileReplacementMapMap() instead.getFileReplacementMap in interface BteqOptionsOrBuilderpublic Map<String,String> 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;getFileReplacementMapMap in interface BteqOptionsOrBuilderpublic String 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).
map<string, string> file_replacement_map = 3;getFileReplacementMapOrDefault in interface BteqOptionsOrBuilderpublic String getFileReplacementMapOrThrow(String key)
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;getFileReplacementMapOrThrow in interface BteqOptionsOrBuilderpublic BteqOptions.Builder clearFileReplacementMap()
public BteqOptions.Builder removeFileReplacementMap(String key)
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;@Deprecated public Map<String,String> getMutableFileReplacementMap()
public BteqOptions.Builder 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).
map<string, string> file_replacement_map = 3;public BteqOptions.Builder 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).
map<string, string> file_replacement_map = 3;public final BteqOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>public final BteqOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BteqOptions.Builder>Copyright © 2024 Google LLC. All rights reserved.