public static final class BteqOptions.Builder extends GeneratedMessageV3.Builder<BteqOptions.Builder> implements BteqOptionsOrBuilder
BTEQ translation task related settings.
Protobuf type google.cloud.bigquery.migration.v2alpha.BteqOptions
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BteqOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BteqOptions build()
Returns
buildPartial()
public BteqOptions buildPartial()
Returns
clear()
public BteqOptions.Builder clear()
Returns
Overrides
clearDefaultPathUri()
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public BteqOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFileReplacementMap()
public BteqOptions.Builder clearFileReplacementMap()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BteqOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProjectDataset()
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;
Returns
clone()
public BteqOptions.Builder clone()
Returns
Overrides
containsFileReplacementMap(String key)
public 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;
Parameter
Returns
getDefaultInstanceForType()
public BteqOptions getDefaultInstanceForType()
Returns
getDefaultPathUri()
public 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;
Returns
Type | Description |
String | The defaultPathUri.
|
getDefaultPathUriBytes()
public 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;
Returns
Type | Description |
ByteString | The bytes for defaultPathUri.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFileReplacementMap()
public Map<String,String> getFileReplacementMap()
Returns
getFileReplacementMapCount()
public 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> file_replacement_map = 3;
Returns
getFileReplacementMapMap()
public 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;
Returns
getFileReplacementMapOrDefault(String key, String defaultValue)
public 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;
Parameters
Returns
getFileReplacementMapOrThrow(String key)
public 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;
Parameter
Returns
getMutableFileReplacementMap()
public Map<String,String> getMutableFileReplacementMap()
Use alternate mutation accessors instead.
Returns
getProjectDataset()
public 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;
Returns
getProjectDatasetBuilder()
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;
Returns
getProjectDatasetOrBuilder()
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;
Returns
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;
Returns
Type | Description |
boolean | Whether the projectDataset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BteqOptions other)
public BteqOptions.Builder mergeFrom(BteqOptions other)
Parameter
Returns
public BteqOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BteqOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeProjectDataset(DatasetReference value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BteqOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllFileReplacementMap(Map<String,String> values)
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;
Parameter
Returns
putFileReplacementMap(String key, String value)
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;
Parameters
Returns
removeFileReplacementMap(String key)
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;
Parameter
Returns
setDefaultPathUri(String value)
public 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;
Parameter
Name | Description |
value | String
The defaultPathUri to set.
|
Returns
setDefaultPathUriBytes(ByteString value)
public BteqOptions.Builder setDefaultPathUriBytes(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;
Parameter
Name | Description |
value | ByteString
The bytes for defaultPathUri to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BteqOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setProjectDataset(DatasetReference value)
public 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;
Parameter
Returns
setProjectDataset(DatasetReference.Builder builderForValue)
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BteqOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BteqOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides