Class Column.Builder

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

public static final class Column.Builder extends com.google.protobuf.GeneratedMessage.Builder<Column.Builder> implements ColumnOrBuilder
 Describes a single column within `Columns`.
 
Protobuf type google.cloud.appoptimize.v1beta.Column
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllColumns(Iterable<? extends Column> values)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    addColumns(int index, Column value)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    addColumns(int index, Column.Builder builderForValue)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    addColumns(Column.Builder builderForValue)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    addColumnsBuilder(int index)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
     
     
     
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    The mode of the column, indicating if it is nullable, required, or repeated.
    The name of the column.
    The data type of the column.
    getColumns(int index)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    getColumnsBuilder(int index)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    int
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The mode of the column, indicating if it is nullable, required, or repeated.
    com.google.protobuf.ByteString
    The mode of the column, indicating if it is nullable, required, or repeated.
    The name of the column.
    com.google.protobuf.ByteString
    The name of the column.
    The data type of the column.
    com.google.protobuf.ByteString
    The data type of the column.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    removeColumns(int index)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    setColumns(int index, Column value)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    setColumns(int index, Column.Builder builderForValue)
    If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
    setMode(String value)
    The mode of the column, indicating if it is nullable, required, or repeated.
    setModeBytes(com.google.protobuf.ByteString value)
    The mode of the column, indicating if it is nullable, required, or repeated.
    setName(String value)
    The name of the column.
    setNameBytes(com.google.protobuf.ByteString value)
    The name of the column.
    setType(String value)
    The data type of the column.
    setTypeBytes(com.google.protobuf.ByteString value)
    The data type of the column.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<Column.Builder>
    • clear

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

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

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

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

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

      public Column.Builder mergeFrom(Column other)
    • isInitialized

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

      public Column.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<Column.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The name of the column.
      
       This field:
      
       * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_);
       * Start with a letter or underscore; and
       * Has a maximum length is 128 characters.
       
      string name = 1;
      Specified by:
      getName in interface ColumnOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the column.
      
       This field:
      
       * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_);
       * Start with a letter or underscore; and
       * Has a maximum length is 128 characters.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ColumnOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Column.Builder setName(String value)
       The name of the column.
      
       This field:
      
       * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_);
       * Start with a letter or underscore; and
       * Has a maximum length is 128 characters.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Column.Builder clearName()
       The name of the column.
      
       This field:
      
       * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_);
       * Start with a letter or underscore; and
       * Has a maximum length is 128 characters.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Column.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the column.
      
       This field:
      
       * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_);
       * Start with a letter or underscore; and
       * Has a maximum length is 128 characters.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       The data type of the column.
      
       Supported values include:
      
       * `STRING`
       * `INT64`
       * `FLOAT64`
       * `BOOLEAN`
       * `TIMESTAMP`
       * `RECORD`
      
       `RECORD` indicates that the field contains a nested schema, described in
       the `columns` property of this `Column`.
       
      string type = 2;
      Specified by:
      getType in interface ColumnOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The data type of the column.
      
       Supported values include:
      
       * `STRING`
       * `INT64`
       * `FLOAT64`
       * `BOOLEAN`
       * `TIMESTAMP`
       * `RECORD`
      
       `RECORD` indicates that the field contains a nested schema, described in
       the `columns` property of this `Column`.
       
      string type = 2;
      Specified by:
      getTypeBytes in interface ColumnOrBuilder
      Returns:
      The bytes for type.
    • setType

      public Column.Builder setType(String value)
       The data type of the column.
      
       Supported values include:
      
       * `STRING`
       * `INT64`
       * `FLOAT64`
       * `BOOLEAN`
       * `TIMESTAMP`
       * `RECORD`
      
       `RECORD` indicates that the field contains a nested schema, described in
       the `columns` property of this `Column`.
       
      string type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Column.Builder clearType()
       The data type of the column.
      
       Supported values include:
      
       * `STRING`
       * `INT64`
       * `FLOAT64`
       * `BOOLEAN`
       * `TIMESTAMP`
       * `RECORD`
      
       `RECORD` indicates that the field contains a nested schema, described in
       the `columns` property of this `Column`.
       
      string type = 2;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public Column.Builder setTypeBytes(com.google.protobuf.ByteString value)
       The data type of the column.
      
       Supported values include:
      
       * `STRING`
       * `INT64`
       * `FLOAT64`
       * `BOOLEAN`
       * `TIMESTAMP`
       * `RECORD`
      
       `RECORD` indicates that the field contains a nested schema, described in
       the `columns` property of this `Column`.
       
      string type = 2;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getMode

      public String getMode()
       The mode of the column, indicating if it is nullable, required, or
       repeated.
      
       Possible values:
      
       * `NULLABLE`: The column allows NULL values.
       * `REQUIRED`: The column does not allow NULL values.
       * `REPEATED`: The column contains an array of values.
       
      string mode = 3;
      Specified by:
      getMode in interface ColumnOrBuilder
      Returns:
      The mode.
    • getModeBytes

      public com.google.protobuf.ByteString getModeBytes()
       The mode of the column, indicating if it is nullable, required, or
       repeated.
      
       Possible values:
      
       * `NULLABLE`: The column allows NULL values.
       * `REQUIRED`: The column does not allow NULL values.
       * `REPEATED`: The column contains an array of values.
       
      string mode = 3;
      Specified by:
      getModeBytes in interface ColumnOrBuilder
      Returns:
      The bytes for mode.
    • setMode

      public Column.Builder setMode(String value)
       The mode of the column, indicating if it is nullable, required, or
       repeated.
      
       Possible values:
      
       * `NULLABLE`: The column allows NULL values.
       * `REQUIRED`: The column does not allow NULL values.
       * `REPEATED`: The column contains an array of values.
       
      string mode = 3;
      Parameters:
      value - The mode to set.
      Returns:
      This builder for chaining.
    • clearMode

      public Column.Builder clearMode()
       The mode of the column, indicating if it is nullable, required, or
       repeated.
      
       Possible values:
      
       * `NULLABLE`: The column allows NULL values.
       * `REQUIRED`: The column does not allow NULL values.
       * `REPEATED`: The column contains an array of values.
       
      string mode = 3;
      Returns:
      This builder for chaining.
    • setModeBytes

      public Column.Builder setModeBytes(com.google.protobuf.ByteString value)
       The mode of the column, indicating if it is nullable, required, or
       repeated.
      
       Possible values:
      
       * `NULLABLE`: The column allows NULL values.
       * `REQUIRED`: The column does not allow NULL values.
       * `REPEATED`: The column contains an array of values.
       
      string mode = 3;
      Parameters:
      value - The bytes for mode to set.
      Returns:
      This builder for chaining.
    • getColumnsList

      public List<Column> getColumnsList()
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
      Specified by:
      getColumnsList in interface ColumnOrBuilder
    • getColumnsCount

      public int getColumnsCount()
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
      Specified by:
      getColumnsCount in interface ColumnOrBuilder
    • getColumns

      public Column getColumns(int index)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
      Specified by:
      getColumns in interface ColumnOrBuilder
    • setColumns

      public Column.Builder setColumns(int index, Column value)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • setColumns

      public Column.Builder setColumns(int index, Column.Builder builderForValue)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • addColumns

      public Column.Builder addColumns(Column value)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • addColumns

      public Column.Builder addColumns(int index, Column value)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • addColumns

      public Column.Builder addColumns(Column.Builder builderForValue)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • addColumns

      public Column.Builder addColumns(int index, Column.Builder builderForValue)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • addAllColumns

      public Column.Builder addAllColumns(Iterable<? extends Column> values)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • clearColumns

      public Column.Builder clearColumns()
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • removeColumns

      public Column.Builder removeColumns(int index)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • getColumnsBuilder

      public Column.Builder getColumnsBuilder(int index)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • getColumnsOrBuilder

      public ColumnOrBuilder getColumnsOrBuilder(int index)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
      Specified by:
      getColumnsOrBuilder in interface ColumnOrBuilder
    • getColumnsOrBuilderList

      public List<? extends ColumnOrBuilder> getColumnsOrBuilderList()
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
      Specified by:
      getColumnsOrBuilderList in interface ColumnOrBuilder
    • addColumnsBuilder

      public Column.Builder addColumnsBuilder()
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • addColumnsBuilder

      public Column.Builder addColumnsBuilder(int index)
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
    • getColumnsBuilderList

      public List<Column.Builder> getColumnsBuilderList()
       If the `type` of this column is `RECORD`, this sub-field describes the
       nested structure.
       
      repeated .google.cloud.appoptimize.v1beta.Column columns = 4;