- 0.54.0 (latest)
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
public static final class TranslateQueryRequest.Builder extends GeneratedMessageV3.Builder<TranslateQueryRequest.Builder> implements TranslateQueryRequestOrBuilder
The request of translating a SQL query to Standard SQL.
Protobuf type google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TranslateQueryRequest.BuilderImplements
TranslateQueryRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TranslateQueryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TranslateQueryRequest.Builder |
build()
public TranslateQueryRequest build()
Type | Description |
TranslateQueryRequest |
buildPartial()
public TranslateQueryRequest buildPartial()
Type | Description |
TranslateQueryRequest |
clear()
public TranslateQueryRequest.Builder clear()
Type | Description |
TranslateQueryRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public TranslateQueryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TranslateQueryRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TranslateQueryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TranslateQueryRequest.Builder |
clearParent()
public TranslateQueryRequest.Builder clearParent()
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) = { ... }
Type | Description |
TranslateQueryRequest.Builder | This builder for chaining. |
clearQuery()
public TranslateQueryRequest.Builder clearQuery()
Required. The query to be translated.
string query = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TranslateQueryRequest.Builder | This builder for chaining. |
clearSourceDialect()
public TranslateQueryRequest.Builder clearSourceDialect()
Required. The source SQL dialect of queries
.
.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.SqlTranslationSourceDialect source_dialect = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TranslateQueryRequest.Builder | This builder for chaining. |
clone()
public TranslateQueryRequest.Builder clone()
Type | Description |
TranslateQueryRequest.Builder |
getDefaultInstanceForType()
public TranslateQueryRequest getDefaultInstanceForType()
Type | Description |
TranslateQueryRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public 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) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getQuery()
public String getQuery()
Required. The query to be translated.
string query = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The query. |
getQueryBytes()
public ByteString getQueryBytes()
Required. The query to be translated.
string query = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for query. |
getSourceDialect()
public 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];
Type | Description |
TranslateQueryRequest.SqlTranslationSourceDialect | The sourceDialect. |
getSourceDialectValue()
public int getSourceDialectValue()
Required. The source SQL dialect of queries
.
.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.SqlTranslationSourceDialect source_dialect = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for sourceDialect. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TranslateQueryRequest other)
public TranslateQueryRequest.Builder mergeFrom(TranslateQueryRequest other)
Name | Description |
other | TranslateQueryRequest |
Type | Description |
TranslateQueryRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TranslateQueryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TranslateQueryRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TranslateQueryRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TranslateQueryRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TranslateQueryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TranslateQueryRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TranslateQueryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TranslateQueryRequest.Builder |
setParent(String value)
public TranslateQueryRequest.Builder setParent(String value)
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) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
TranslateQueryRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public TranslateQueryRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
TranslateQueryRequest.Builder | This builder for chaining. |
setQuery(String value)
public TranslateQueryRequest.Builder setQuery(String value)
Required. The query to be translated.
string query = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The query to set. |
Type | Description |
TranslateQueryRequest.Builder | This builder for chaining. |
setQueryBytes(ByteString value)
public TranslateQueryRequest.Builder setQueryBytes(ByteString value)
Required. The query to be translated.
string query = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for query to set. |
Type | Description |
TranslateQueryRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TranslateQueryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TranslateQueryRequest.Builder |
setSourceDialect(TranslateQueryRequest.SqlTranslationSourceDialect value)
public TranslateQueryRequest.Builder setSourceDialect(TranslateQueryRequest.SqlTranslationSourceDialect value)
Required. The source SQL dialect of queries
.
.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.SqlTranslationSourceDialect source_dialect = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | TranslateQueryRequest.SqlTranslationSourceDialect The sourceDialect to set. |
Type | Description |
TranslateQueryRequest.Builder | This builder for chaining. |
setSourceDialectValue(int value)
public TranslateQueryRequest.Builder setSourceDialectValue(int value)
Required. The source SQL dialect of queries
.
.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.SqlTranslationSourceDialect source_dialect = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The enum numeric value on the wire for sourceDialect to set. |
Type | Description |
TranslateQueryRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TranslateQueryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TranslateQueryRequest.Builder |