Class BigtableOptions.BigtableColumn.Builder

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

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

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

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

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

      public com.google.protobuf.ByteString getQualifier()
       Required. Qualifier of the column. If it cannot be decoded with utf-8,
       use a base-64 encoded string instead.
       
      bytes qualifier = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQualifier in interface BigtableOptions.BigtableColumnOrBuilder
      Returns:
      The qualifier.
    • setQualifier

      public BigtableOptions.BigtableColumn.Builder setQualifier(com.google.protobuf.ByteString value)
       Required. Qualifier of the column. If it cannot be decoded with utf-8,
       use a base-64 encoded string instead.
       
      bytes qualifier = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The qualifier to set.
      Returns:
      This builder for chaining.
    • clearQualifier

      public BigtableOptions.BigtableColumn.Builder clearQualifier()
       Required. Qualifier of the column. If it cannot be decoded with utf-8,
       use a base-64 encoded string instead.
       
      bytes qualifier = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getFieldName

      public String getFieldName()
       The field name to use for this column 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 qualifier bytes with best effort.
       However, due to different naming patterns, field name collisions could
       happen, where parsing behavior is undefined.
       
      string field_name = 2;
      Specified by:
      getFieldName in interface BigtableOptions.BigtableColumnOrBuilder
      Returns:
      The fieldName.
    • getFieldNameBytes

      public com.google.protobuf.ByteString getFieldNameBytes()
       The field name to use for this column 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 qualifier bytes with best effort.
       However, due to different naming patterns, field name collisions could
       happen, where parsing behavior is undefined.
       
      string field_name = 2;
      Specified by:
      getFieldNameBytes in interface BigtableOptions.BigtableColumnOrBuilder
      Returns:
      The bytes for fieldName.
    • setFieldName

      public BigtableOptions.BigtableColumn.Builder setFieldName(String value)
       The field name to use for this column 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 qualifier bytes with best effort.
       However, due to different naming patterns, field name collisions could
       happen, where parsing behavior is undefined.
       
      string field_name = 2;
      Parameters:
      value - The fieldName to set.
      Returns:
      This builder for chaining.
    • clearFieldName

      public BigtableOptions.BigtableColumn.Builder clearFieldName()
       The field name to use for this column 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 qualifier bytes with best effort.
       However, due to different naming patterns, field name collisions could
       happen, where parsing behavior is undefined.
       
      string field_name = 2;
      Returns:
      This builder for chaining.
    • setFieldNameBytes

      public BigtableOptions.BigtableColumn.Builder setFieldNameBytes(com.google.protobuf.ByteString value)
       The field name to use for this column 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 qualifier bytes with best effort.
       However, due to different naming patterns, field name collisions could
       happen, where parsing behavior is undefined.
       
      string field_name = 2;
      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 = 3;
      Specified by:
      getEncodingValue in interface BigtableOptions.BigtableColumnOrBuilder
      Returns:
      The enum numeric value on the wire for encoding.
    • setEncodingValue

      public BigtableOptions.BigtableColumn.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 = 3;
      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 = 3;
      Specified by:
      getEncoding in interface BigtableOptions.BigtableColumnOrBuilder
      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 = 3;
      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 = 3;
      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 = 4;
      Specified by:
      getTypeValue in interface BigtableOptions.BigtableColumnOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public BigtableOptions.BigtableColumn.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 = 4;
      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 = 4;
      Specified by:
      getType in interface BigtableOptions.BigtableColumnOrBuilder
      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 = 4;
      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 = 4;
      Returns:
      This builder for chaining.