- 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 TranslateQueryResponse.Builder extends GeneratedMessageV3.Builder<TranslateQueryResponse.Builder> implements TranslateQueryResponseOrBuilder
The response of translating a SQL query to Standard SQL.
Protobuf type google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TranslateQueryResponse.BuilderImplements
TranslateQueryResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllErrors(Iterable<? extends SqlTranslationError> values)
public TranslateQueryResponse.Builder addAllErrors(Iterable<? extends SqlTranslationError> values)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.migration.v2alpha.SqlTranslationError> |
Type | Description |
TranslateQueryResponse.Builder |
addAllWarnings(Iterable<? extends SqlTranslationWarning> values)
public TranslateQueryResponse.Builder addAllWarnings(Iterable<? extends SqlTranslationWarning> values)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning> |
Type | Description |
TranslateQueryResponse.Builder |
addErrors(SqlTranslationError value)
public TranslateQueryResponse.Builder addErrors(SqlTranslationError value)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
value | SqlTranslationError |
Type | Description |
TranslateQueryResponse.Builder |
addErrors(SqlTranslationError.Builder builderForValue)
public TranslateQueryResponse.Builder addErrors(SqlTranslationError.Builder builderForValue)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
builderForValue | SqlTranslationError.Builder |
Type | Description |
TranslateQueryResponse.Builder |
addErrors(int index, SqlTranslationError value)
public TranslateQueryResponse.Builder addErrors(int index, SqlTranslationError value)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
index | int |
value | SqlTranslationError |
Type | Description |
TranslateQueryResponse.Builder |
addErrors(int index, SqlTranslationError.Builder builderForValue)
public TranslateQueryResponse.Builder addErrors(int index, SqlTranslationError.Builder builderForValue)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
index | int |
builderForValue | SqlTranslationError.Builder |
Type | Description |
TranslateQueryResponse.Builder |
addErrorsBuilder()
public SqlTranslationError.Builder addErrorsBuilder()
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Type | Description |
SqlTranslationError.Builder |
addErrorsBuilder(int index)
public SqlTranslationError.Builder addErrorsBuilder(int index)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
index | int |
Type | Description |
SqlTranslationError.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TranslateQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TranslateQueryResponse.Builder |
addWarnings(SqlTranslationWarning value)
public TranslateQueryResponse.Builder addWarnings(SqlTranslationWarning value)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
value | SqlTranslationWarning |
Type | Description |
TranslateQueryResponse.Builder |
addWarnings(SqlTranslationWarning.Builder builderForValue)
public TranslateQueryResponse.Builder addWarnings(SqlTranslationWarning.Builder builderForValue)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
builderForValue | SqlTranslationWarning.Builder |
Type | Description |
TranslateQueryResponse.Builder |
addWarnings(int index, SqlTranslationWarning value)
public TranslateQueryResponse.Builder addWarnings(int index, SqlTranslationWarning value)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
index | int |
value | SqlTranslationWarning |
Type | Description |
TranslateQueryResponse.Builder |
addWarnings(int index, SqlTranslationWarning.Builder builderForValue)
public TranslateQueryResponse.Builder addWarnings(int index, SqlTranslationWarning.Builder builderForValue)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
index | int |
builderForValue | SqlTranslationWarning.Builder |
Type | Description |
TranslateQueryResponse.Builder |
addWarningsBuilder()
public SqlTranslationWarning.Builder addWarningsBuilder()
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Type | Description |
SqlTranslationWarning.Builder |
addWarningsBuilder(int index)
public SqlTranslationWarning.Builder addWarningsBuilder(int index)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
index | int |
Type | Description |
SqlTranslationWarning.Builder |
build()
public TranslateQueryResponse build()
Type | Description |
TranslateQueryResponse |
buildPartial()
public TranslateQueryResponse buildPartial()
Type | Description |
TranslateQueryResponse |
clear()
public TranslateQueryResponse.Builder clear()
Type | Description |
TranslateQueryResponse.Builder |
clearErrors()
public TranslateQueryResponse.Builder clearErrors()
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Type | Description |
TranslateQueryResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public TranslateQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TranslateQueryResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TranslateQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TranslateQueryResponse.Builder |
clearTranslatedQuery()
public TranslateQueryResponse.Builder clearTranslatedQuery()
The translated result. This will be empty if the translation fails.
string translated_query = 1;
Type | Description |
TranslateQueryResponse.Builder | This builder for chaining. |
clearTranslationJob()
public TranslateQueryResponse.Builder clearTranslationJob()
Output only. Immutable. The unique identifier for the SQL translation job.
Example: projects/123/locations/us/translation/1234
string translation_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
TranslateQueryResponse.Builder | This builder for chaining. |
clearWarnings()
public TranslateQueryResponse.Builder clearWarnings()
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Type | Description |
TranslateQueryResponse.Builder |
clone()
public TranslateQueryResponse.Builder clone()
Type | Description |
TranslateQueryResponse.Builder |
getDefaultInstanceForType()
public TranslateQueryResponse getDefaultInstanceForType()
Type | Description |
TranslateQueryResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getErrors(int index)
public SqlTranslationError getErrors(int index)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
index | int |
Type | Description |
SqlTranslationError |
getErrorsBuilder(int index)
public SqlTranslationError.Builder getErrorsBuilder(int index)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
index | int |
Type | Description |
SqlTranslationError.Builder |
getErrorsBuilderList()
public List<SqlTranslationError.Builder> getErrorsBuilderList()
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Type | Description |
List<Builder> |
getErrorsCount()
public int getErrorsCount()
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Type | Description |
int |
getErrorsList()
public List<SqlTranslationError> getErrorsList()
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Type | Description |
List<SqlTranslationError> |
getErrorsOrBuilder(int index)
public SqlTranslationErrorOrBuilder getErrorsOrBuilder(int index)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
index | int |
Type | Description |
SqlTranslationErrorOrBuilder |
getErrorsOrBuilderList()
public List<? extends SqlTranslationErrorOrBuilder> getErrorsOrBuilderList()
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorOrBuilder> |
getTranslatedQuery()
public String getTranslatedQuery()
The translated result. This will be empty if the translation fails.
string translated_query = 1;
Type | Description |
String | The translatedQuery. |
getTranslatedQueryBytes()
public ByteString getTranslatedQueryBytes()
The translated result. This will be empty if the translation fails.
string translated_query = 1;
Type | Description |
ByteString | The bytes for translatedQuery. |
getTranslationJob()
public String getTranslationJob()
Output only. Immutable. The unique identifier for the SQL translation job.
Example: projects/123/locations/us/translation/1234
string translation_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
String | The translationJob. |
getTranslationJobBytes()
public ByteString getTranslationJobBytes()
Output only. Immutable. The unique identifier for the SQL translation job.
Example: projects/123/locations/us/translation/1234
string translation_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
ByteString | The bytes for translationJob. |
getWarnings(int index)
public SqlTranslationWarning getWarnings(int index)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
index | int |
Type | Description |
SqlTranslationWarning |
getWarningsBuilder(int index)
public SqlTranslationWarning.Builder getWarningsBuilder(int index)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
index | int |
Type | Description |
SqlTranslationWarning.Builder |
getWarningsBuilderList()
public List<SqlTranslationWarning.Builder> getWarningsBuilderList()
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Type | Description |
List<Builder> |
getWarningsCount()
public int getWarningsCount()
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Type | Description |
int |
getWarningsList()
public List<SqlTranslationWarning> getWarningsList()
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Type | Description |
List<SqlTranslationWarning> |
getWarningsOrBuilder(int index)
public SqlTranslationWarningOrBuilder getWarningsOrBuilder(int index)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
index | int |
Type | Description |
SqlTranslationWarningOrBuilder |
getWarningsOrBuilderList()
public List<? extends SqlTranslationWarningOrBuilder> getWarningsOrBuilderList()
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2alpha.SqlTranslationWarningOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TranslateQueryResponse other)
public TranslateQueryResponse.Builder mergeFrom(TranslateQueryResponse other)
Name | Description |
other | TranslateQueryResponse |
Type | Description |
TranslateQueryResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TranslateQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TranslateQueryResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TranslateQueryResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TranslateQueryResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TranslateQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TranslateQueryResponse.Builder |
removeErrors(int index)
public TranslateQueryResponse.Builder removeErrors(int index)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
index | int |
Type | Description |
TranslateQueryResponse.Builder |
removeWarnings(int index)
public TranslateQueryResponse.Builder removeWarnings(int index)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
index | int |
Type | Description |
TranslateQueryResponse.Builder |
setErrors(int index, SqlTranslationError value)
public TranslateQueryResponse.Builder setErrors(int index, SqlTranslationError value)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
index | int |
value | SqlTranslationError |
Type | Description |
TranslateQueryResponse.Builder |
setErrors(int index, SqlTranslationError.Builder builderForValue)
public TranslateQueryResponse.Builder setErrors(int index, SqlTranslationError.Builder builderForValue)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
Name | Description |
index | int |
builderForValue | SqlTranslationError.Builder |
Type | Description |
TranslateQueryResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TranslateQueryResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TranslateQueryResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TranslateQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TranslateQueryResponse.Builder |
setTranslatedQuery(String value)
public TranslateQueryResponse.Builder setTranslatedQuery(String value)
The translated result. This will be empty if the translation fails.
string translated_query = 1;
Name | Description |
value | String The translatedQuery to set. |
Type | Description |
TranslateQueryResponse.Builder | This builder for chaining. |
setTranslatedQueryBytes(ByteString value)
public TranslateQueryResponse.Builder setTranslatedQueryBytes(ByteString value)
The translated result. This will be empty if the translation fails.
string translated_query = 1;
Name | Description |
value | ByteString The bytes for translatedQuery to set. |
Type | Description |
TranslateQueryResponse.Builder | This builder for chaining. |
setTranslationJob(String value)
public TranslateQueryResponse.Builder setTranslationJob(String value)
Output only. Immutable. The unique identifier for the SQL translation job.
Example: projects/123/locations/us/translation/1234
string translation_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | String The translationJob to set. |
Type | Description |
TranslateQueryResponse.Builder | This builder for chaining. |
setTranslationJobBytes(ByteString value)
public TranslateQueryResponse.Builder setTranslationJobBytes(ByteString value)
Output only. Immutable. The unique identifier for the SQL translation job.
Example: projects/123/locations/us/translation/1234
string translation_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | ByteString The bytes for translationJob to set. |
Type | Description |
TranslateQueryResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TranslateQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TranslateQueryResponse.Builder |
setWarnings(int index, SqlTranslationWarning value)
public TranslateQueryResponse.Builder setWarnings(int index, SqlTranslationWarning value)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
index | int |
value | SqlTranslationWarning |
Type | Description |
TranslateQueryResponse.Builder |
setWarnings(int index, SqlTranslationWarning.Builder builderForValue)
public TranslateQueryResponse.Builder setWarnings(int index, SqlTranslationWarning.Builder builderForValue)
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
Name | Description |
index | int |
builderForValue | SqlTranslationWarning.Builder |
Type | Description |
TranslateQueryResponse.Builder |