Class BigtableOptions.BigtableColumn.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumn.Builder>
com.google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn.Builder
- All Implemented Interfaces:
BigtableOptions.BigtableColumnOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BigtableOptions.BigtableColumn
public static final class BigtableOptions.BigtableColumn.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumn.Builder>
implements BigtableOptions.BigtableColumnOrBuilder
The column of the Bigtable.Protobuf type
google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumn-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The encoding mode of the values when the type is not `STRING`.The field name to use for this column in the document.Required.The type of values in this column family.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 in the document.com.google.protobuf.ByteStringThe field name to use for this column in the document.com.google.protobuf.ByteStringRequired.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) 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 in the document.setFieldNameBytes(com.google.protobuf.ByteString value) The field name to use for this column in the document.setQualifier(com.google.protobuf.ByteString value) Required.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.BigtableColumn.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.BigtableColumn.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.BigtableColumn.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.BigtableColumn.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BigtableOptions.BigtableColumn.Builder>
-
mergeFrom
public BigtableOptions.BigtableColumn.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.BigtableColumn.Builder>- Throws:
IOException
-
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:
getQualifierin interfaceBigtableOptions.BigtableColumnOrBuilder- Returns:
- The qualifier.
-
setQualifier
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];- Parameters:
value- The qualifier to set.- Returns:
- This builder for chaining.
-
clearQualifier
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:
- This builder for chaining.
-
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:
getFieldNamein interfaceBigtableOptions.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:
getFieldNameBytesin interfaceBigtableOptions.BigtableColumnOrBuilder- Returns:
- The bytes for fieldName.
-
setFieldName
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;- Parameters:
value- The fieldName to set.- Returns:
- This builder for chaining.
-
clearFieldName
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;- Returns:
- This builder for chaining.
-
setFieldNameBytes
public BigtableOptions.BigtableColumn.Builder setFieldNameBytes(com.google.protobuf.ByteString value) 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;- 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 = 3;- Specified by:
getEncodingValuein interfaceBigtableOptions.BigtableColumnOrBuilder- 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 = 3;- 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 = 3;- Specified by:
getEncodingin interfaceBigtableOptions.BigtableColumnOrBuilder- 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 = 3;- 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 = 3;- 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 = 4;- Specified by:
getTypeValuein interfaceBigtableOptions.BigtableColumnOrBuilder- 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 = 4;- 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 = 4;- Specified by:
getTypein interfaceBigtableOptions.BigtableColumnOrBuilder- 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 = 4;- 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 = 4;- Returns:
- This builder for chaining.
-