Class BigtableOptions.Builder (0.40.0)

public static final class BigtableOptions.Builder extends GeneratedMessageV3.Builder<BigtableOptions.Builder> implements BigtableOptionsOrBuilder

The Bigtable Options object that contains information to support the import.

Protobuf type google.cloud.discoveryengine.v1alpha.BigtableOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BigtableOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BigtableOptions.Builder
Overrides

build()

public BigtableOptions build()
Returns
Type Description
BigtableOptions

buildPartial()

public BigtableOptions buildPartial()
Returns
Type Description
BigtableOptions

clear()

public BigtableOptions.Builder clear()
Returns
Type Description
BigtableOptions.Builder
Overrides

clearFamilies()

public BigtableOptions.Builder clearFamilies()
Returns
Type Description
BigtableOptions.Builder

clearField(Descriptors.FieldDescriptor field)

public BigtableOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BigtableOptions.Builder
Overrides

clearKeyFieldName()

public BigtableOptions.Builder clearKeyFieldName()

The field name used for saving row key value in the document. The name has to match the pattern a-zA-Z0-9*.

string key_field_name = 1;

Returns
Type Description
BigtableOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BigtableOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BigtableOptions.Builder
Overrides

clone()

public BigtableOptions.Builder clone()
Returns
Type Description
BigtableOptions.Builder
Overrides

containsFamilies(String key)

public boolean containsFamilies(String key)

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.

map<string, .google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily> families = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public BigtableOptions getDefaultInstanceForType()
Returns
Type Description
BigtableOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFamilies() (deprecated)

public Map<String,BigtableOptions.BigtableColumnFamily> getFamilies()

Use #getFamiliesMap() instead.

Returns
Type Description
Map<String,BigtableColumnFamily>

getFamiliesCount()

public int getFamiliesCount()

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.

map<string, .google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily> families = 2;

Returns
Type Description
int

getFamiliesMap()

public Map<String,BigtableOptions.BigtableColumnFamily> getFamiliesMap()

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.

map<string, .google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily> families = 2;

Returns
Type Description
Map<String,BigtableColumnFamily>

getFamiliesOrDefault(String key, BigtableOptions.BigtableColumnFamily defaultValue)

public BigtableOptions.BigtableColumnFamily getFamiliesOrDefault(String key, BigtableOptions.BigtableColumnFamily defaultValue)

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.

map<string, .google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily> families = 2;

Parameters
Name Description
key String
defaultValue BigtableOptions.BigtableColumnFamily
Returns
Type Description
BigtableOptions.BigtableColumnFamily

getFamiliesOrThrow(String key)

public BigtableOptions.BigtableColumnFamily getFamiliesOrThrow(String key)

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.

map<string, .google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily> families = 2;

Parameter
Name Description
key String
Returns
Type Description
BigtableOptions.BigtableColumnFamily

getKeyFieldName()

public String getKeyFieldName()

The field name used for saving row key value in the document. The name has to match the pattern a-zA-Z0-9*.

string key_field_name = 1;

Returns
Type Description
String

The keyFieldName.

getKeyFieldNameBytes()

public ByteString getKeyFieldNameBytes()

The field name used for saving row key value in the document. The name has to match the pattern a-zA-Z0-9*.

string key_field_name = 1;

Returns
Type Description
ByteString

The bytes for keyFieldName.

getMutableFamilies() (deprecated)

public Map<String,BigtableOptions.BigtableColumnFamily> getMutableFamilies()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,BigtableColumnFamily>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigtableOptions other)

public BigtableOptions.Builder mergeFrom(BigtableOptions other)
Parameter
Name Description
other BigtableOptions
Returns
Type Description
BigtableOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BigtableOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigtableOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BigtableOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BigtableOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigtableOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BigtableOptions.Builder
Overrides

putAllFamilies(Map<String,BigtableOptions.BigtableColumnFamily> values)

public BigtableOptions.Builder putAllFamilies(Map<String,BigtableOptions.BigtableColumnFamily> values)

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.

map<string, .google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily> families = 2;

Parameter
Name Description
values Map<String,BigtableColumnFamily>
Returns
Type Description
BigtableOptions.Builder

putFamilies(String key, BigtableOptions.BigtableColumnFamily value)

public BigtableOptions.Builder putFamilies(String key, BigtableOptions.BigtableColumnFamily value)

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.

map<string, .google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily> families = 2;

Parameters
Name Description
key String
value BigtableOptions.BigtableColumnFamily
Returns
Type Description
BigtableOptions.Builder

putFamiliesBuilderIfAbsent(String key)

public BigtableOptions.BigtableColumnFamily.Builder putFamiliesBuilderIfAbsent(String key)

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.

map<string, .google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily> families = 2;

Parameter
Name Description
key String
Returns
Type Description
BigtableOptions.BigtableColumnFamily.Builder

removeFamilies(String key)

public BigtableOptions.Builder removeFamilies(String key)

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.

map<string, .google.cloud.discoveryengine.v1alpha.BigtableOptions.BigtableColumnFamily> families = 2;

Parameter
Name Description
key String
Returns
Type Description
BigtableOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BigtableOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BigtableOptions.Builder
Overrides

setKeyFieldName(String value)

public BigtableOptions.Builder setKeyFieldName(String value)

The field name used for saving row key value in the document. The name has to match the pattern a-zA-Z0-9*.

string key_field_name = 1;

Parameter
Name Description
value String

The keyFieldName to set.

Returns
Type Description
BigtableOptions.Builder

This builder for chaining.

setKeyFieldNameBytes(ByteString value)

public BigtableOptions.Builder setKeyFieldNameBytes(ByteString value)

The field name used for saving row key value in the document. The name has to match the pattern a-zA-Z0-9*.

string key_field_name = 1;

Parameter
Name Description
value ByteString

The bytes for keyFieldName to set.

Returns
Type Description
BigtableOptions.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BigtableOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BigtableOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BigtableOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BigtableOptions.Builder
Overrides