public static final class SqlTranslationError.Builder extends GeneratedMessageV3.Builder<SqlTranslationError.Builder> implements SqlTranslationErrorOrBuilder
The detailed error object if the SQL translation job fails.
Protobuf type google.cloud.bigquery.migration.v2alpha.SqlTranslationError
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SqlTranslationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SqlTranslationError build()
Returns
buildPartial()
public SqlTranslationError buildPartial()
Returns
clear()
public SqlTranslationError.Builder clear()
Returns
Overrides
clearErrorDetail()
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;
Returns
clearErrorType()
public SqlTranslationError.Builder clearErrorType()
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public SqlTranslationError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SqlTranslationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SqlTranslationError.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SqlTranslationError getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getErrorDetail()
public 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;
Returns
getErrorDetailBuilder()
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;
Returns
getErrorDetailOrBuilder()
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;
Returns
getErrorType()
public SqlTranslationError.SqlTranslationErrorType getErrorType()
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
Returns
getErrorTypeValue()
public int getErrorTypeValue()
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for errorType.
|
hasErrorDetail()
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;
Returns
Type | Description |
boolean | Whether the errorDetail field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeErrorDetail(SqlTranslationErrorDetail value)
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;
Parameter
Returns
mergeFrom(SqlTranslationError other)
public SqlTranslationError.Builder mergeFrom(SqlTranslationError other)
Parameter
Returns
public SqlTranslationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SqlTranslationError.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SqlTranslationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setErrorDetail(SqlTranslationErrorDetail value)
public 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;
Parameter
Returns
setErrorDetail(SqlTranslationErrorDetail.Builder builderForValue)
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;
Parameter
Returns
setErrorType(SqlTranslationError.SqlTranslationErrorType value)
public SqlTranslationError.Builder setErrorType(SqlTranslationError.SqlTranslationErrorType value)
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
Parameter
Returns
setErrorTypeValue(int value)
public SqlTranslationError.Builder setErrorTypeValue(int value)
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for errorType to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SqlTranslationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SqlTranslationError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SqlTranslationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides