public static final class BigtableOptions.BigtableColumnFamily extends GeneratedMessageV3 implements BigtableOptions.BigtableColumnFamilyOrBuilder
The column family of the Bigtable.
Protobuf type google.cloud.discoveryengine.v1.BigtableOptions.BigtableColumnFamily
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
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
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 |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BigtableOptions.BigtableColumnFamily getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BigtableOptions.BigtableColumnFamily.Builder newBuilder()
newBuilder(BigtableOptions.BigtableColumnFamily prototype)
public static BigtableOptions.BigtableColumnFamily.Builder newBuilder(BigtableOptions.BigtableColumnFamily prototype)
public static BigtableOptions.BigtableColumnFamily parseDelimitedFrom(InputStream input)
public static BigtableOptions.BigtableColumnFamily parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BigtableOptions.BigtableColumnFamily parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumnFamily parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BigtableOptions.BigtableColumnFamily parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumnFamily parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumnFamily parseFrom(CodedInputStream input)
public static BigtableOptions.BigtableColumnFamily parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumnFamily parseFrom(InputStream input)
public static BigtableOptions.BigtableColumnFamily parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BigtableOptions.BigtableColumnFamily parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigtableOptions.BigtableColumnFamily parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BigtableOptions.BigtableColumnFamily> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getColumns(int index)
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.v1.BigtableOptions.BigtableColumn columns = 4;
Parameter |
Name |
Description |
index |
int
|
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.v1.BigtableOptions.BigtableColumn columns = 4;
Returns |
Type |
Description |
int |
|
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.v1.BigtableOptions.BigtableColumn columns = 4;
getColumnsOrBuilder(int index)
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.v1.BigtableOptions.BigtableColumn columns = 4;
Parameter |
Name |
Description |
index |
int
|
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.v1.BigtableOptions.BigtableColumn columns = 4;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.BigtableOptions.BigtableColumnOrBuilder> |
|
getDefaultInstanceForType()
public BigtableOptions.BigtableColumnFamily 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.v1.BigtableOptions.Encoding encoding = 2;
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.v1.BigtableOptions.Encoding encoding = 2;
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 family in the document. The
name has to match the pattern 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;
Returns |
Type |
Description |
String |
The fieldName.
|
getFieldNameBytes()
public 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*
. 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;
Returns |
Type |
Description |
ByteString |
The bytes for fieldName.
|
getParserForType()
public Parser<BigtableOptions.BigtableColumnFamily> getParserForType()
Overrides
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.v1.BigtableOptions.Type type = 3;
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.v1.BigtableOptions.Type type = 3;
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.BigtableColumnFamily.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigtableOptions.BigtableColumnFamily.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BigtableOptions.BigtableColumnFamily.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides