Class DataDocumentationResult.Query.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.Query.Builder>
com.google.cloud.dataplex.v1.DataDocumentationResult.Query.Builder
All Implemented Interfaces:
DataDocumentationResult.QueryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DataDocumentationResult.Query

public static final class DataDocumentationResult.Query.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataDocumentationResult.Query.Builder> implements DataDocumentationResult.QueryOrBuilder
 A sample SQL query in data documentation.
 
Protobuf type google.cloud.dataplex.v1.DataDocumentationResult.Query
  • 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<DataDocumentationResult.Query.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<DataDocumentationResult.Query.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<DataDocumentationResult.Query.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public DataDocumentationResult.Query.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<DataDocumentationResult.Query.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<DataDocumentationResult.Query.Builder>
    • mergeFrom

      public DataDocumentationResult.Query.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<DataDocumentationResult.Query.Builder>
      Throws:
      IOException
    • getSql

      public String getSql()
       Output only. The SQL query string which can be executed.
       
      string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSql in interface DataDocumentationResult.QueryOrBuilder
      Returns:
      The sql.
    • getSqlBytes

      public com.google.protobuf.ByteString getSqlBytes()
       Output only. The SQL query string which can be executed.
       
      string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSqlBytes in interface DataDocumentationResult.QueryOrBuilder
      Returns:
      The bytes for sql.
    • setSql

       Output only. The SQL query string which can be executed.
       
      string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The sql to set.
      Returns:
      This builder for chaining.
    • clearSql

       Output only. The SQL query string which can be executed.
       
      string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setSqlBytes

      public DataDocumentationResult.Query.Builder setSqlBytes(com.google.protobuf.ByteString value)
       Output only. The SQL query string which can be executed.
       
      string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for sql to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Output only. The description for the query.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescription in interface DataDocumentationResult.QueryOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Output only. The description for the query.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescriptionBytes in interface DataDocumentationResult.QueryOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public DataDocumentationResult.Query.Builder setDescription(String value)
       Output only. The description for the query.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public DataDocumentationResult.Query.Builder clearDescription()
       Output only. The description for the query.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public DataDocumentationResult.Query.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. The description for the query.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.