Class BigtableOptions.BigtableColumn

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn
All Implemented Interfaces:
BigtableOptions.BigtableColumnOrBuilder, 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.BigtableColumn extends com.google.protobuf.GeneratedMessage implements BigtableOptions.BigtableColumnOrBuilder
 The column of the Bigtable.
 
Protobuf type google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn
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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.BigtableColumn parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static BigtableOptions.BigtableColumn 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.BigtableColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

      public BigtableOptions.BigtableColumn.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static BigtableOptions.BigtableColumn.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static BigtableOptions.BigtableColumn getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<BigtableOptions.BigtableColumn> 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.BigtableColumn getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder