Class BteqOptions (0.26.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
TypeDescription
int

FILE_REPLACEMENT_MAP_FIELD_NUMBER

public static final int FILE_REPLACEMENT_MAP_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_DATASET_FIELD_NUMBER

public static final int PROJECT_DATASET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BteqOptions getDefaultInstance()
Returns
TypeDescription
BteqOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BteqOptions.Builder newBuilder()
Returns
TypeDescription
BteqOptions.Builder

newBuilder(BteqOptions prototype)

public static BteqOptions.Builder newBuilder(BteqOptions prototype)
Parameter
NameDescription
prototypeBteqOptions
Returns
TypeDescription
BteqOptions.Builder

parseDelimitedFrom(InputStream input)

public static BteqOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BteqOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BteqOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BteqOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BteqOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BteqOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BteqOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BteqOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BteqOptions> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BteqOptions getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for defaultPathUri.

getFileReplacementMap()

public Map<String,String> getFileReplacementMap()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getParserForType()

public Parser<BteqOptions> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DatasetReferenceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the projectDataset field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BteqOptions.Builder newBuilderForType()
Returns
TypeDescription
BteqOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BteqOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BteqOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BteqOptions.Builder toBuilder()
Returns
TypeDescription
BteqOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException