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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BteqOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BteqOptions build()
buildPartial()
public BteqOptions buildPartial()
clear()
public BteqOptions.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public BteqOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFileReplacementMap()
public BteqOptions.Builder clearFileReplacementMap()
clearOneof(Descriptors.OneofDescriptor oneof)
public BteqOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public BteqOptions.Builder clone()
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 |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public BteqOptions getDefaultInstanceForType()
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()
Overrides
getFileReplacementMap() (deprecated)
public Map<String,String> getFileReplacementMap()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
getMutableFileReplacementMap() (deprecated)
public Map<String,String> getMutableFileReplacementMap()
Use alternate mutation accessors instead.
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;
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;
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;
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()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BteqOptions other)
public BteqOptions.Builder mergeFrom(BteqOptions other)
public BteqOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BteqOptions.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BteqOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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 |
---|
Name | Description |
key | String
|
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public BteqOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BteqOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BteqOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides