public static final class BigtableOptions.BigtableColumn extends GeneratedMessageV3 implements BigtableOptions.BigtableColumnOrBuilder
The column of the Bigtable.
Protobuf type google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENCODING_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FIELD_NAME_FIELD_NUMBER
public static final int FIELD_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
QUALIFIER_FIELD_NUMBER
public static final int QUALIFIER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BigtableOptions.BigtableColumn getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BigtableOptions.BigtableColumn.Builder newBuilder()
newBuilder(BigtableOptions.BigtableColumn prototype)
public static BigtableOptions.BigtableColumn.Builder newBuilder(BigtableOptions.BigtableColumn prototype)
public static BigtableOptions.BigtableColumn parseDelimitedFrom(InputStream input)
public static BigtableOptions.BigtableColumn parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BigtableOptions.BigtableColumn parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumn parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BigtableOptions.BigtableColumn parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumn parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumn parseFrom(CodedInputStream input)
public static BigtableOptions.BigtableColumn parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumn parseFrom(InputStream input)
public static BigtableOptions.BigtableColumn parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BigtableOptions.BigtableColumn parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumn parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BigtableOptions.BigtableColumn> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BigtableOptions.BigtableColumn getDefaultInstanceForType()
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;
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;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for encoding.
|
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*
.
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 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.
|
getParserForType()
public Parser<BigtableOptions.BigtableColumn> getParserForType()
Overrides
getQualifier()
public 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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
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;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for type.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BigtableOptions.BigtableColumn.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigtableOptions.BigtableColumn.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BigtableOptions.BigtableColumn.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides