Interface TranslateQueryRequestOrBuilder (0.48.0)

public interface TranslateQueryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The name of the project to which this translation request belongs. Example: projects/foo/locations/bar

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the project to which this translation request belongs. Example: projects/foo/locations/bar

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getQuery()

public abstract String getQuery()

Required. The query to be translated.

string query = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The query.

getQueryBytes()

public abstract ByteString getQueryBytes()

Required. The query to be translated.

string query = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for query.

getSourceDialect()

public abstract TranslateQueryRequest.SqlTranslationSourceDialect getSourceDialect()

Required. The source SQL dialect of queries.

.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.SqlTranslationSourceDialect source_dialect = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TranslateQueryRequest.SqlTranslationSourceDialect

The sourceDialect.

getSourceDialectValue()

public abstract int getSourceDialectValue()

Required. The source SQL dialect of queries.

.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.SqlTranslationSourceDialect source_dialect = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for sourceDialect.