Interface TranslateQueryRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TranslateQueryRequest
,TranslateQueryRequest.Builder
public interface TranslateQueryRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.String
getQuery()
Required.com.google.protobuf.ByteString
getQueryBytes()
Required.TranslateQueryRequest.SqlTranslationSourceDialect
getSourceDialect()
Required.int
getSourceDialectValue()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getSourceDialectValue
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:
- The enum numeric value on the wire for sourceDialect.
-
getSourceDialect
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:
- The sourceDialect.
-
getQuery
String getQuery()
Required. The query to be translated.
string query = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()
Required. The query to be translated.
string query = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for query.
-
-