Class BigtableOptions.BigtableColumnFamily.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumnFamily.Builder>
com.google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily.Builder
- All Implemented Interfaces:
BigtableOptions.BigtableColumnFamilyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BigtableOptions.BigtableColumnFamily
public static final class BigtableOptions.BigtableColumnFamily.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumnFamily.Builder>
implements BigtableOptions.BigtableColumnFamilyOrBuilder
The column family of the Bigtable.Protobuf type
google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily-
Method Summary
Modifier and TypeMethodDescriptionaddAllColumns(Iterable<? extends BigtableOptions.BigtableColumn> values) The list of objects that contains column level information for each column.addColumns(int index, BigtableOptions.BigtableColumn value) The list of objects that contains column level information for each column.addColumns(int index, BigtableOptions.BigtableColumn.Builder builderForValue) The list of objects that contains column level information for each column.The list of objects that contains column level information for each column.addColumns(BigtableOptions.BigtableColumn.Builder builderForValue) The list of objects that contains column level information for each column.The list of objects that contains column level information for each column.addColumnsBuilder(int index) The list of objects that contains column level information for each column.build()clear()The list of objects that contains column level information for each column.The encoding mode of the values when the type is not STRING.The field name to use for this column family in the document.The type of values in this column family.getColumns(int index) The list of objects that contains column level information for each column.getColumnsBuilder(int index) The list of objects that contains column level information for each column.The list of objects that contains column level information for each column.intThe list of objects that contains column level information for each column.The list of objects that contains column level information for each column.getColumnsOrBuilder(int index) The list of objects that contains column level information for each column.List<? extends BigtableOptions.BigtableColumnOrBuilder>The list of objects that contains column level information for each column.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe encoding mode of the values when the type is not STRING.intThe encoding mode of the values when the type is not STRING.The field name to use for this column family in the document.com.google.protobuf.ByteStringThe field name to use for this column family in the document.getType()The type of values in this column family.intThe type of values in this column family.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeColumns(int index) The list of objects that contains column level information for each column.setColumns(int index, BigtableOptions.BigtableColumn value) The list of objects that contains column level information for each column.setColumns(int index, BigtableOptions.BigtableColumn.Builder builderForValue) The list of objects that contains column level information for each column.The encoding mode of the values when the type is not STRING.setEncodingValue(int value) The encoding mode of the values when the type is not STRING.setFieldName(String value) The field name to use for this column family in the document.setFieldNameBytes(com.google.protobuf.ByteString value) The field name to use for this column family in the document.setType(BigtableOptions.Type value) The type of values in this column family.setTypeValue(int value) The type of values in this column family.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumnFamily.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumnFamily.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumnFamily.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BigtableOptions.BigtableColumnFamily.Builder>
-
mergeFrom
public BigtableOptions.BigtableColumnFamily.Builder mergeFrom(BigtableOptions.BigtableColumnFamily other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumnFamily.Builder>
-
mergeFrom
public BigtableOptions.BigtableColumnFamily.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BigtableOptions.BigtableColumnFamily.Builder>- Throws:
IOException
-
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:
getFieldNamein interfaceBigtableOptions.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:
getFieldNameBytesin interfaceBigtableOptions.BigtableColumnFamilyOrBuilder- Returns:
- The bytes for fieldName.
-
setFieldName
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;- Parameters:
value- The fieldName to set.- Returns:
- This builder for chaining.
-
clearFieldName
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;- Returns:
- This builder for chaining.
-
setFieldNameBytes
public BigtableOptions.BigtableColumnFamily.Builder setFieldNameBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for fieldName to set.- Returns:
- This builder for chaining.
-
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:
getEncodingValuein interfaceBigtableOptions.BigtableColumnFamilyOrBuilder- Returns:
- The enum numeric value on the wire for encoding.
-
setEncodingValue
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;- Parameters:
value- The enum numeric value on the wire for encoding to set.- Returns:
- This builder for chaining.
-
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:
getEncodingin interfaceBigtableOptions.BigtableColumnFamilyOrBuilder- Returns:
- The encoding.
-
setEncoding
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;- Parameters:
value- The encoding to set.- Returns:
- This builder for chaining.
-
clearEncoding
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;- Returns:
- This builder for chaining.
-
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:
getTypeValuein interfaceBigtableOptions.BigtableColumnFamilyOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
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;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
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:
getTypein interfaceBigtableOptions.BigtableColumnFamilyOrBuilder- Returns:
- The type.
-
setType
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;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
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;- Returns:
- This builder for chaining.
-
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:
getColumnsListin interfaceBigtableOptions.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:
getColumnsCountin interfaceBigtableOptions.BigtableColumnFamilyOrBuilder
-
getColumns
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:
getColumnsin interfaceBigtableOptions.BigtableColumnFamilyOrBuilder
-
setColumns
public BigtableOptions.BigtableColumnFamily.Builder setColumns(int index, BigtableOptions.BigtableColumn value) 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; -
setColumns
public BigtableOptions.BigtableColumnFamily.Builder setColumns(int index, BigtableOptions.BigtableColumn.Builder builderForValue) 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; -
addColumns
public BigtableOptions.BigtableColumnFamily.Builder addColumns(BigtableOptions.BigtableColumn value) 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; -
addColumns
public BigtableOptions.BigtableColumnFamily.Builder addColumns(int index, BigtableOptions.BigtableColumn value) 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; -
addColumns
public BigtableOptions.BigtableColumnFamily.Builder addColumns(BigtableOptions.BigtableColumn.Builder builderForValue) 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; -
addColumns
public BigtableOptions.BigtableColumnFamily.Builder addColumns(int index, BigtableOptions.BigtableColumn.Builder builderForValue) 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; -
addAllColumns
public BigtableOptions.BigtableColumnFamily.Builder addAllColumns(Iterable<? extends BigtableOptions.BigtableColumn> values) 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; -
clearColumns
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; -
removeColumns
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; -
getColumnsBuilder
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; -
getColumnsOrBuilder
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:
getColumnsOrBuilderin interfaceBigtableOptions.BigtableColumnFamilyOrBuilder
-
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:
getColumnsOrBuilderListin interfaceBigtableOptions.BigtableColumnFamilyOrBuilder
-
addColumnsBuilder
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; -
addColumnsBuilder
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; -
getColumnsBuilderList
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;
-