Class BigtableOptions.BigtableColumnFamily.Builder

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

public static final class BigtableOptions.BigtableColumnFamily.Builder extends com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumnFamily.Builder> implements BigtableOptions.BigtableColumnFamilyOrBuilder
 The column family of the Bigtable.
 
Protobuf type google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily
  • 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<BigtableOptions.BigtableColumnFamily.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<BigtableOptions.BigtableColumnFamily.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<BigtableOptions.BigtableColumnFamily.Builder>
    • getDefaultInstanceForType

      public BigtableOptions.BigtableColumnFamily 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 BigtableOptions.BigtableColumnFamily buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public BigtableOptions.BigtableColumnFamily.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<BigtableOptions.BigtableColumnFamily.Builder>
      Throws:
      IOException
    • getFieldName

      public String getFieldName()
       The field name to use for this column family in the document. The
       name has to match the pattern `[a-zA-Z0-9][a-zA-Z0-9-_]*`. If not set,
       it is parsed from the family name with best effort. However, due to
       different naming patterns, field name collisions could happen, where
       parsing behavior is undefined.
       
      string field_name = 1;
      Specified by:
      getFieldName in interface BigtableOptions.BigtableColumnFamilyOrBuilder
      Returns:
      The fieldName.
    • getFieldNameBytes

      public com.google.protobuf.ByteString getFieldNameBytes()
       The field name to use for this column family in the document. The
       name has to match the pattern `[a-zA-Z0-9][a-zA-Z0-9-_]*`. If not set,
       it is parsed from the family name with best effort. However, due to
       different naming patterns, field name collisions could happen, where
       parsing behavior is undefined.
       
      string field_name = 1;
      Specified by:
      getFieldNameBytes in interface BigtableOptions.BigtableColumnFamilyOrBuilder
      Returns:
      The bytes for fieldName.
    • setFieldName

       The field name to use for this column family in the document. The
       name has to match the pattern `[a-zA-Z0-9][a-zA-Z0-9-_]*`. If not set,
       it is parsed from the family name with best effort. However, due to
       different naming patterns, field name collisions could happen, where
       parsing behavior is undefined.
       
      string field_name = 1;
      Parameters:
      value - The fieldName to set.
      Returns:
      This builder for chaining.
    • clearFieldName

       The field name to use for this column family in the document. The
       name has to match the pattern `[a-zA-Z0-9][a-zA-Z0-9-_]*`. If not set,
       it is parsed from the family name with best effort. However, due to
       different naming patterns, field name collisions could happen, where
       parsing behavior is undefined.
       
      string field_name = 1;
      Returns:
      This builder for chaining.
    • setFieldNameBytes

      public BigtableOptions.BigtableColumnFamily.Builder setFieldNameBytes(com.google.protobuf.ByteString value)
       The field name to use for this column family in the document. The
       name has to match the pattern `[a-zA-Z0-9][a-zA-Z0-9-_]*`. If not set,
       it is parsed from the family name with best effort. However, due to
       different naming patterns, field name collisions could happen, where
       parsing behavior is undefined.
       
      string field_name = 1;
      Parameters:
      value - The bytes for fieldName to set.
      Returns:
      This builder for chaining.
    • getEncodingValue

      public int getEncodingValue()
       The encoding mode of the values when the type is not STRING.
       Acceptable encoding values are:
      
       * `TEXT`: indicates values are alphanumeric text strings.
       * `BINARY`: indicates values are encoded using `HBase Bytes.toBytes`
       family of functions. This can be overridden for a specific column
       by listing that column in `columns` and specifying an encoding for it.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Encoding encoding = 2;
      Specified by:
      getEncodingValue in interface BigtableOptions.BigtableColumnFamilyOrBuilder
      Returns:
      The enum numeric value on the wire for encoding.
    • setEncodingValue

      public BigtableOptions.BigtableColumnFamily.Builder setEncodingValue(int value)
       The encoding mode of the values when the type is not STRING.
       Acceptable encoding values are:
      
       * `TEXT`: indicates values are alphanumeric text strings.
       * `BINARY`: indicates values are encoded using `HBase Bytes.toBytes`
       family of functions. This can be overridden for a specific column
       by listing that column in `columns` and specifying an encoding for it.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Encoding encoding = 2;
      Parameters:
      value - The enum numeric value on the wire for encoding to set.
      Returns:
      This builder for chaining.
    • getEncoding

      public BigtableOptions.Encoding getEncoding()
       The encoding mode of the values when the type is not STRING.
       Acceptable encoding values are:
      
       * `TEXT`: indicates values are alphanumeric text strings.
       * `BINARY`: indicates values are encoded using `HBase Bytes.toBytes`
       family of functions. This can be overridden for a specific column
       by listing that column in `columns` and specifying an encoding for it.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Encoding encoding = 2;
      Specified by:
      getEncoding in interface BigtableOptions.BigtableColumnFamilyOrBuilder
      Returns:
      The encoding.
    • setEncoding

       The encoding mode of the values when the type is not STRING.
       Acceptable encoding values are:
      
       * `TEXT`: indicates values are alphanumeric text strings.
       * `BINARY`: indicates values are encoded using `HBase Bytes.toBytes`
       family of functions. This can be overridden for a specific column
       by listing that column in `columns` and specifying an encoding for it.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Encoding encoding = 2;
      Parameters:
      value - The encoding to set.
      Returns:
      This builder for chaining.
    • clearEncoding

       The encoding mode of the values when the type is not STRING.
       Acceptable encoding values are:
      
       * `TEXT`: indicates values are alphanumeric text strings.
       * `BINARY`: indicates values are encoded using `HBase Bytes.toBytes`
       family of functions. This can be overridden for a specific column
       by listing that column in `columns` and specifying an encoding for it.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Encoding encoding = 2;
      Returns:
      This builder for chaining.
    • getTypeValue

      public int getTypeValue()
       The type of values in this column family.
       The values are expected to be encoded using `HBase Bytes.toBytes`
       function when the encoding value is set to `BINARY`.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Type type = 3;
      Specified by:
      getTypeValue in interface BigtableOptions.BigtableColumnFamilyOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public BigtableOptions.BigtableColumnFamily.Builder setTypeValue(int value)
       The type of values in this column family.
       The values are expected to be encoded using `HBase Bytes.toBytes`
       function when the encoding value is set to `BINARY`.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Type type = 3;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public BigtableOptions.Type getType()
       The type of values in this column family.
       The values are expected to be encoded using `HBase Bytes.toBytes`
       function when the encoding value is set to `BINARY`.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Type type = 3;
      Specified by:
      getType in interface BigtableOptions.BigtableColumnFamilyOrBuilder
      Returns:
      The type.
    • setType

       The type of values in this column family.
       The values are expected to be encoded using `HBase Bytes.toBytes`
       function when the encoding value is set to `BINARY`.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Type type = 3;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       The type of values in this column family.
       The values are expected to be encoded using `HBase Bytes.toBytes`
       function when the encoding value is set to `BINARY`.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions.Type type = 3;
      Returns:
      This builder for chaining.
    • getColumnsList

      public List<BigtableOptions.BigtableColumn> getColumnsList()
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
      Specified by:
      getColumnsList in interface BigtableOptions.BigtableColumnFamilyOrBuilder
    • getColumnsCount

      public int getColumnsCount()
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
      Specified by:
      getColumnsCount in interface BigtableOptions.BigtableColumnFamilyOrBuilder
    • getColumns

      public BigtableOptions.BigtableColumn getColumns(int index)
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
      Specified by:
      getColumns in interface BigtableOptions.BigtableColumnFamilyOrBuilder
    • setColumns

       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • setColumns

       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • addColumns

       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • addColumns

       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • addColumns

       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • addColumns

       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • addAllColumns

       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • clearColumns

       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • removeColumns

      public BigtableOptions.BigtableColumnFamily.Builder removeColumns(int index)
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • getColumnsBuilder

      public BigtableOptions.BigtableColumn.Builder getColumnsBuilder(int index)
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • getColumnsOrBuilder

      public BigtableOptions.BigtableColumnOrBuilder getColumnsOrBuilder(int index)
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
      Specified by:
      getColumnsOrBuilder in interface BigtableOptions.BigtableColumnFamilyOrBuilder
    • getColumnsOrBuilderList

      public List<? extends BigtableOptions.BigtableColumnOrBuilder> getColumnsOrBuilderList()
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
      Specified by:
      getColumnsOrBuilderList in interface BigtableOptions.BigtableColumnFamilyOrBuilder
    • addColumnsBuilder

      public BigtableOptions.BigtableColumn.Builder addColumnsBuilder()
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • addColumnsBuilder

      public BigtableOptions.BigtableColumn.Builder addColumnsBuilder(int index)
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;
    • getColumnsBuilderList

      public List<BigtableOptions.BigtableColumn.Builder> getColumnsBuilderList()
       The list of objects that contains column level information for each
       column. If a column is not present in this list it will be ignored.
       
      repeated .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn columns = 4;