Interface TranslationDetailsOrBuilder (0.50.0)

public interface TranslationDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSourceEnvironment()

public abstract SourceEnvironment getSourceEnvironment()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;

Returns
Type Description
SourceEnvironment

The sourceEnvironment.

getSourceEnvironmentOrBuilder()

public abstract SourceEnvironmentOrBuilder getSourceEnvironmentOrBuilder()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;

Returns
Type Description
SourceEnvironmentOrBuilder

getSourceTargetMapping(int index)

public abstract SourceTargetMapping getSourceTargetMapping(int index)

The mapping from source to target SQL.

repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;

Parameter
Name Description
index int
Returns
Type Description
SourceTargetMapping

getSourceTargetMappingCount()

public abstract int getSourceTargetMappingCount()

The mapping from source to target SQL.

repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;

Returns
Type Description
int

getSourceTargetMappingList()

public abstract List<SourceTargetMapping> getSourceTargetMappingList()

The mapping from source to target SQL.

repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;

Returns
Type Description
List<SourceTargetMapping>

getSourceTargetMappingOrBuilder(int index)

public abstract SourceTargetMappingOrBuilder getSourceTargetMappingOrBuilder(int index)

The mapping from source to target SQL.

repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;

Parameter
Name Description
index int
Returns
Type Description
SourceTargetMappingOrBuilder

getSourceTargetMappingOrBuilderList()

public abstract List<? extends SourceTargetMappingOrBuilder> getSourceTargetMappingOrBuilderList()

The mapping from source to target SQL.

repeated .google.cloud.bigquery.migration.v2.SourceTargetMapping source_target_mapping = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.migration.v2.SourceTargetMappingOrBuilder>

getTargetBaseUri()

public abstract String getTargetBaseUri()

The base URI for all writes to persistent storage.

string target_base_uri = 2;

Returns
Type Description
String

The targetBaseUri.

getTargetBaseUriBytes()

public abstract ByteString getTargetBaseUriBytes()

The base URI for all writes to persistent storage.

string target_base_uri = 2;

Returns
Type Description
ByteString

The bytes for targetBaseUri.

getTargetReturnLiterals(int index)

public abstract String getTargetReturnLiterals(int index)

The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.

repeated string target_return_literals = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The targetReturnLiterals at the given index.

getTargetReturnLiteralsBytes(int index)

public abstract ByteString getTargetReturnLiteralsBytes(int index)

The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.

repeated string target_return_literals = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the targetReturnLiterals at the given index.

getTargetReturnLiteralsCount()

public abstract int getTargetReturnLiteralsCount()

The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.

repeated string target_return_literals = 4;

Returns
Type Description
int

The count of targetReturnLiterals.

getTargetReturnLiteralsList()

public abstract List<String> getTargetReturnLiteralsList()

The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.

repeated string target_return_literals = 4;

Returns
Type Description
List<String>

A list containing the targetReturnLiterals.

getTargetTypes(int index)

public abstract String getTargetTypes(int index)

The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.

repeated string target_types = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The targetTypes at the given index.

getTargetTypesBytes(int index)

public abstract ByteString getTargetTypesBytes(int index)

The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.

repeated string target_types = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the targetTypes at the given index.

getTargetTypesCount()

public abstract int getTargetTypesCount()

The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.

repeated string target_types = 5;

Returns
Type Description
int

The count of targetTypes.

getTargetTypesList()

public abstract List<String> getTargetTypesList()

The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.

repeated string target_types = 5;

Returns
Type Description
List<String>

A list containing the targetTypes.

hasSourceEnvironment()

public abstract boolean hasSourceEnvironment()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnvironment source_environment = 3;

Returns
Type Description
boolean

Whether the sourceEnvironment field is set.