public final class BteqOptions extends GeneratedMessageV3 implements BteqOptionsOrBuilder
BTEQ translation task related settings.
Protobuf type google.cloud.bigquery.migration.v2alpha.BteqOptions
Static Fields
DEFAULT_PATH_URI_FIELD_NUMBER
public static final int DEFAULT_PATH_URI_FIELD_NUMBER
Field Value
FILE_REPLACEMENT_MAP_FIELD_NUMBER
public static final int FILE_REPLACEMENT_MAP_FIELD_NUMBER
Field Value
PROJECT_DATASET_FIELD_NUMBER
public static final int PROJECT_DATASET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BteqOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BteqOptions.Builder newBuilder()
Returns
newBuilder(BteqOptions prototype)
public static BteqOptions.Builder newBuilder(BteqOptions prototype)
Parameter
Returns
public static BteqOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BteqOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BteqOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BteqOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BteqOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BteqOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BteqOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BteqOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BteqOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BteqOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BteqOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BteqOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BteqOptions> parser()
Returns
Methods
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
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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.
|
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
getParserForType()
public Parser<BteqOptions> getParserForType()
Returns
Overrides
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BteqOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BteqOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BteqOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions