Class BigtableOptions.BigtableColumnFamily

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

public static final class BigtableOptions.BigtableColumnFamily extends com.google.protobuf.GeneratedMessage implements BigtableOptions.BigtableColumnFamilyOrBuilder
 The column family of the Bigtable.
 
Protobuf type google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily
See Also:
  • Field Details

  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BigtableOptions.BigtableColumnFamily parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BigtableOptions.BigtableColumnFamily parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BigtableOptions.BigtableColumnFamily parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BigtableOptions.BigtableColumnFamily.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BigtableOptions.BigtableColumnFamily getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BigtableOptions.BigtableColumnFamily> parser()
    • getParserForType

      public com.google.protobuf.Parser<BigtableOptions.BigtableColumnFamily> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public BigtableOptions.BigtableColumnFamily getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder