Interface TranslateQueryRequestOrBuilder (0.33.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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The query.

getQueryBytes()

public abstract ByteString getQueryBytes()

Required. The query to be translated.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for sourceDialect.