Class BteqOptions (0.48.0)

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
Type Description
int

FILE_REPLACEMENT_MAP_FIELD_NUMBER

public static final int FILE_REPLACEMENT_MAP_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_DATASET_FIELD_NUMBER

public static final int PROJECT_DATASET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BteqOptions getDefaultInstance()
Returns
Type Description
BteqOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BteqOptions.Builder newBuilder()
Returns
Type Description
BteqOptions.Builder

newBuilder(BteqOptions prototype)

public static BteqOptions.Builder newBuilder(BteqOptions prototype)
Parameter
Name Description
prototype BteqOptions
Returns
Type Description
BteqOptions.Builder

parseDelimitedFrom(InputStream input)

public static BteqOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BteqOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BteqOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BteqOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BteqOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BteqOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BteqOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BteqOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BteqOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BteqOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BteqOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BteqOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BteqOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BteqOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BteqOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BteqOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BteqOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BteqOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BteqOptions> parser()
Returns
Type Description
Parser<BteqOptions>

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
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BteqOptions getDefaultInstanceForType()
Returns
Type Description
BteqOptions

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() (deprecated)

public Map<String,String> getFileReplacementMap()
Returns
Type Description
Map<String,String>

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;

Returns
Type Description
Map<String,String>

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
Name Description
key String
defaultValue String
Returns
Type Description
String

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
Returns
Type Description
String

getParserForType()

public Parser<BteqOptions> getParserForType()
Returns
Type Description
Parser<BteqOptions>
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
Type Description
DatasetReference

The projectDataset.

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
Type Description
DatasetReferenceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BteqOptions.Builder newBuilderForType()
Returns
Type Description
BteqOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BteqOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BteqOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BteqOptions.Builder toBuilder()
Returns
Type Description
BteqOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException