Class SqlResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SqlResult.Builder>
com.google.cloud.alloydb.v1beta.SqlResult.Builder
All Implemented Interfaces:
SqlResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SqlResult

public static final class SqlResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<SqlResult.Builder> implements SqlResultOrBuilder
 SqlResult represents the result for the execution of a sql statement.
 
Protobuf type google.cloud.alloydb.v1beta.SqlResult
  • 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<SqlResult.Builder>
    • clear

      public SqlResult.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<SqlResult.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<SqlResult.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SqlResult.Builder mergeFrom(SqlResult other)
    • isInitialized

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

      public SqlResult.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<SqlResult.Builder>
      Throws:
      IOException
    • getColumnsList

      public List<SqlResultColumn> getColumnsList()
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
      Specified by:
      getColumnsList in interface SqlResultOrBuilder
    • getColumnsCount

      public int getColumnsCount()
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
      Specified by:
      getColumnsCount in interface SqlResultOrBuilder
    • getColumns

      public SqlResultColumn getColumns(int index)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
      Specified by:
      getColumns in interface SqlResultOrBuilder
    • setColumns

      public SqlResult.Builder setColumns(int index, SqlResultColumn value)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • setColumns

      public SqlResult.Builder setColumns(int index, SqlResultColumn.Builder builderForValue)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • addColumns

      public SqlResult.Builder addColumns(SqlResultColumn value)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • addColumns

      public SqlResult.Builder addColumns(int index, SqlResultColumn value)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • addColumns

      public SqlResult.Builder addColumns(SqlResultColumn.Builder builderForValue)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • addColumns

      public SqlResult.Builder addColumns(int index, SqlResultColumn.Builder builderForValue)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • addAllColumns

      public SqlResult.Builder addAllColumns(Iterable<? extends SqlResultColumn> values)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • clearColumns

      public SqlResult.Builder clearColumns()
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • removeColumns

      public SqlResult.Builder removeColumns(int index)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • getColumnsBuilder

      public SqlResultColumn.Builder getColumnsBuilder(int index)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • getColumnsOrBuilder

      public SqlResultColumnOrBuilder getColumnsOrBuilder(int index)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
      Specified by:
      getColumnsOrBuilder in interface SqlResultOrBuilder
    • getColumnsOrBuilderList

      public List<? extends SqlResultColumnOrBuilder> getColumnsOrBuilderList()
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
      Specified by:
      getColumnsOrBuilderList in interface SqlResultOrBuilder
    • addColumnsBuilder

      public SqlResultColumn.Builder addColumnsBuilder()
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • addColumnsBuilder

      public SqlResultColumn.Builder addColumnsBuilder(int index)
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • getColumnsBuilderList

      public List<SqlResultColumn.Builder> getColumnsBuilderList()
       List of columns included in the result. This also includes the data type
       of the column.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultColumn columns = 1;
    • getRowsList

      public List<SqlResultRow> getRowsList()
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
      Specified by:
      getRowsList in interface SqlResultOrBuilder
    • getRowsCount

      public int getRowsCount()
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
      Specified by:
      getRowsCount in interface SqlResultOrBuilder
    • getRows

      public SqlResultRow getRows(int index)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
      Specified by:
      getRows in interface SqlResultOrBuilder
    • setRows

      public SqlResult.Builder setRows(int index, SqlResultRow value)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • setRows

      public SqlResult.Builder setRows(int index, SqlResultRow.Builder builderForValue)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • addRows

      public SqlResult.Builder addRows(SqlResultRow value)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • addRows

      public SqlResult.Builder addRows(int index, SqlResultRow value)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • addRows

      public SqlResult.Builder addRows(SqlResultRow.Builder builderForValue)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • addRows

      public SqlResult.Builder addRows(int index, SqlResultRow.Builder builderForValue)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • addAllRows

      public SqlResult.Builder addAllRows(Iterable<? extends SqlResultRow> values)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • clearRows

      public SqlResult.Builder clearRows()
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • removeRows

      public SqlResult.Builder removeRows(int index)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • getRowsBuilder

      public SqlResultRow.Builder getRowsBuilder(int index)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • getRowsOrBuilder

      public SqlResultRowOrBuilder getRowsOrBuilder(int index)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
      Specified by:
      getRowsOrBuilder in interface SqlResultOrBuilder
    • getRowsOrBuilderList

      public List<? extends SqlResultRowOrBuilder> getRowsOrBuilderList()
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
      Specified by:
      getRowsOrBuilderList in interface SqlResultOrBuilder
    • addRowsBuilder

      public SqlResultRow.Builder addRowsBuilder()
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • addRowsBuilder

      public SqlResultRow.Builder addRowsBuilder(int index)
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;
    • getRowsBuilderList

      public List<SqlResultRow.Builder> getRowsBuilderList()
       Rows returned by the SQL statement.
       
      repeated .google.cloud.alloydb.v1beta.SqlResultRow rows = 2;