Class SqlTranslationWarning.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SqlTranslationWarning.Builder>
com.google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning.Builder
All Implemented Interfaces:
SqlTranslationWarningOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SqlTranslationWarning

public static final class SqlTranslationWarning.Builder extends com.google.protobuf.GeneratedMessage.Builder<SqlTranslationWarning.Builder> implements SqlTranslationWarningOrBuilder
 The detailed warning object if the SQL translation job is completed but not
 semantically correct.
 
Protobuf type google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SqlTranslationWarning.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SqlTranslationWarning.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SqlTranslationWarning.Builder>
    • getDefaultInstanceForType

      public SqlTranslationWarning getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SqlTranslationWarning build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SqlTranslationWarning buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SqlTranslationWarning.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SqlTranslationWarning.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SqlTranslationWarning.Builder>
    • mergeFrom

      public SqlTranslationWarning.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SqlTranslationWarning.Builder>
      Throws:
      IOException
    • hasWarningDetail

      public boolean hasWarningDetail()
       Specifies the details of the warning, including the warning message and
       location from the source text.
       
      .google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;
      Specified by:
      hasWarningDetail in interface SqlTranslationWarningOrBuilder
      Returns:
      Whether the warningDetail field is set.
    • getWarningDetail

      public SqlTranslationErrorDetail getWarningDetail()
       Specifies the details of the warning, including the warning message and
       location from the source text.
       
      .google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;
      Specified by:
      getWarningDetail in interface SqlTranslationWarningOrBuilder
      Returns:
      The warningDetail.
    • setWarningDetail

       Specifies the details of the warning, including the warning message and
       location from the source text.
       
      .google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;
    • setWarningDetail

      public SqlTranslationWarning.Builder setWarningDetail(SqlTranslationErrorDetail.Builder builderForValue)
       Specifies the details of the warning, including the warning message and
       location from the source text.
       
      .google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;
    • mergeWarningDetail

      public SqlTranslationWarning.Builder mergeWarningDetail(SqlTranslationErrorDetail value)
       Specifies the details of the warning, including the warning message and
       location from the source text.
       
      .google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;
    • clearWarningDetail

      public SqlTranslationWarning.Builder clearWarningDetail()
       Specifies the details of the warning, including the warning message and
       location from the source text.
       
      .google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;
    • getWarningDetailBuilder

      public SqlTranslationErrorDetail.Builder getWarningDetailBuilder()
       Specifies the details of the warning, including the warning message and
       location from the source text.
       
      .google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;
    • getWarningDetailOrBuilder

      public SqlTranslationErrorDetailOrBuilder getWarningDetailOrBuilder()
       Specifies the details of the warning, including the warning message and
       location from the source text.
       
      .google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;
      Specified by:
      getWarningDetailOrBuilder in interface SqlTranslationWarningOrBuilder