public static final class SqlTranslationError.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder> implements SqlTranslationErrorOrBuilder
The detailed error object if the SQL translation job fails.Protobuf type
google.cloud.bigquery.migration.v2alpha.SqlTranslationError| Modifier and Type | Method and Description |
|---|---|
SqlTranslationError.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SqlTranslationError |
build() |
SqlTranslationError |
buildPartial() |
SqlTranslationError.Builder |
clear() |
SqlTranslationError.Builder |
clearErrorDetail()
Specifies the details of the error, including the error message and
location from the source text.
|
SqlTranslationError.Builder |
clearErrorType()
The type of SQL translation error.
|
SqlTranslationError.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SqlTranslationError.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SqlTranslationError.Builder |
clone() |
SqlTranslationError |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
SqlTranslationErrorDetail |
getErrorDetail()
Specifies the details of the error, including the error message and
location from the source text.
|
SqlTranslationErrorDetail.Builder |
getErrorDetailBuilder()
Specifies the details of the error, including the error message and
location from the source text.
|
SqlTranslationErrorDetailOrBuilder |
getErrorDetailOrBuilder()
Specifies the details of the error, including the error message and
location from the source text.
|
SqlTranslationError.SqlTranslationErrorType |
getErrorType()
The type of SQL translation error.
|
int |
getErrorTypeValue()
The type of SQL translation error.
|
boolean |
hasErrorDetail()
Specifies the details of the error, including the error message and
location from the source text.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SqlTranslationError.Builder |
mergeErrorDetail(SqlTranslationErrorDetail value)
Specifies the details of the error, including the error message and
location from the source text.
|
SqlTranslationError.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SqlTranslationError.Builder |
mergeFrom(com.google.protobuf.Message other) |
SqlTranslationError.Builder |
mergeFrom(SqlTranslationError other) |
SqlTranslationError.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SqlTranslationError.Builder |
setErrorDetail(SqlTranslationErrorDetail.Builder builderForValue)
Specifies the details of the error, including the error message and
location from the source text.
|
SqlTranslationError.Builder |
setErrorDetail(SqlTranslationErrorDetail value)
Specifies the details of the error, including the error message and
location from the source text.
|
SqlTranslationError.Builder |
setErrorType(SqlTranslationError.SqlTranslationErrorType value)
The type of SQL translation error.
|
SqlTranslationError.Builder |
setErrorTypeValue(int value)
The type of SQL translation error.
|
SqlTranslationError.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SqlTranslationError.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SqlTranslationError.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public SqlTranslationError.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public SqlTranslationError getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SqlTranslationError build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SqlTranslationError buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SqlTranslationError.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public SqlTranslationError.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public SqlTranslationError.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public SqlTranslationError.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public SqlTranslationError.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public SqlTranslationError.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public SqlTranslationError.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SqlTranslationError.Builder>public SqlTranslationError.Builder mergeFrom(SqlTranslationError other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public SqlTranslationError.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SqlTranslationError.Builder>IOExceptionpublic int getErrorTypeValue()
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
getErrorTypeValue in interface SqlTranslationErrorOrBuilderpublic SqlTranslationError.Builder setErrorTypeValue(int value)
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
value - The enum numeric value on the wire for errorType to set.public SqlTranslationError.SqlTranslationErrorType getErrorType()
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
getErrorType in interface SqlTranslationErrorOrBuilderpublic SqlTranslationError.Builder setErrorType(SqlTranslationError.SqlTranslationErrorType value)
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
value - The errorType to set.public SqlTranslationError.Builder clearErrorType()
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
public boolean hasErrorDetail()
Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
hasErrorDetail in interface SqlTranslationErrorOrBuilderpublic SqlTranslationErrorDetail getErrorDetail()
Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
getErrorDetail in interface SqlTranslationErrorOrBuilderpublic SqlTranslationError.Builder setErrorDetail(SqlTranslationErrorDetail value)
Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
public SqlTranslationError.Builder setErrorDetail(SqlTranslationErrorDetail.Builder builderForValue)
Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
public SqlTranslationError.Builder mergeErrorDetail(SqlTranslationErrorDetail value)
Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
public SqlTranslationError.Builder clearErrorDetail()
Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
public SqlTranslationErrorDetail.Builder getErrorDetailBuilder()
Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
public SqlTranslationErrorDetailOrBuilder getErrorDetailOrBuilder()
Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
getErrorDetailOrBuilder in interface SqlTranslationErrorOrBuilderpublic final SqlTranslationError.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>public final SqlTranslationError.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationError.Builder>Copyright © 2024 Google LLC. All rights reserved.