Interface BigtableOptions.BigtableColumnOrBuilder (0.43.0)

public static interface BigtableOptions.BigtableColumnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEncoding()

public abstract 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.v1alpha.BigtableOptions.Encoding encoding = 3;

Returns
Type Description
BigtableOptions.Encoding

The encoding.

getEncodingValue()

public abstract 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.v1alpha.BigtableOptions.Encoding encoding = 3;

Returns
Type Description
int

The enum numeric value on the wire for encoding.

getFieldName()

public abstract String getFieldName()

The field name to use for this column in the document. The name has to match the pattern 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
Type Description
String

The fieldName.

getFieldNameBytes()

public abstract ByteString getFieldNameBytes()

The field name to use for this column in the document. The name has to match the pattern 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
Type Description
ByteString

The bytes for fieldName.

getQualifier()

public abstract 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];

Returns
Type Description
ByteString

The qualifier.

getType()

public abstract 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.v1alpha.BigtableOptions.Type type = 4;

Returns
Type Description
BigtableOptions.Type

The type.

getTypeValue()

public abstract 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.v1alpha.BigtableOptions.Type type = 4;

Returns
Type Description
int

The enum numeric value on the wire for type.