Class BigtableDatabaseReference.Builder (0.27.0)

public static final class BigtableDatabaseReference.Builder extends GeneratedMessage.Builder<BigtableDatabaseReference.Builder> implements BigtableDatabaseReferenceOrBuilder

Message representing reference to Bigtable database.

Protobuf type google.cloud.geminidataanalytics.v1beta.BigtableDatabaseReference

Static Methods

getDescriptor()

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

Methods

addAllDatabaseTableReferences(Iterable<? extends DatabaseTableReference> values)

public BigtableDatabaseReference.Builder addAllDatabaseTableReferences(Iterable<? extends DatabaseTableReference> values)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReference>
Returns
Type Description
BigtableDatabaseReference.Builder

addAllTableIds(Iterable<String> values)

public BigtableDatabaseReference.Builder addAllTableIds(Iterable<String> values)

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The tableIds to add.

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

addDatabaseTableReferences(DatabaseTableReference value)

public BigtableDatabaseReference.Builder addDatabaseTableReferences(DatabaseTableReference value)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DatabaseTableReference
Returns
Type Description
BigtableDatabaseReference.Builder

addDatabaseTableReferences(DatabaseTableReference.Builder builderForValue)

public BigtableDatabaseReference.Builder addDatabaseTableReferences(DatabaseTableReference.Builder builderForValue)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DatabaseTableReference.Builder
Returns
Type Description
BigtableDatabaseReference.Builder

addDatabaseTableReferences(int index, DatabaseTableReference value)

public BigtableDatabaseReference.Builder addDatabaseTableReferences(int index, DatabaseTableReference value)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value DatabaseTableReference
Returns
Type Description
BigtableDatabaseReference.Builder

addDatabaseTableReferences(int index, DatabaseTableReference.Builder builderForValue)

public BigtableDatabaseReference.Builder addDatabaseTableReferences(int index, DatabaseTableReference.Builder builderForValue)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue DatabaseTableReference.Builder
Returns
Type Description
BigtableDatabaseReference.Builder

addDatabaseTableReferencesBuilder()

public DatabaseTableReference.Builder addDatabaseTableReferencesBuilder()

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseTableReference.Builder

addDatabaseTableReferencesBuilder(int index)

public DatabaseTableReference.Builder addDatabaseTableReferencesBuilder(int index)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DatabaseTableReference.Builder

addTableIds(String value)

public BigtableDatabaseReference.Builder addTableIds(String value)

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The tableIds to add.

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

addTableIdsBytes(ByteString value)

public BigtableDatabaseReference.Builder addTableIdsBytes(ByteString value)

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the tableIds to add.

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

build()

public BigtableDatabaseReference build()
Returns
Type Description
BigtableDatabaseReference

buildPartial()

public BigtableDatabaseReference buildPartial()
Returns
Type Description
BigtableDatabaseReference

clear()

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

clearDatabaseTableReferences()

public BigtableDatabaseReference.Builder clearDatabaseTableReferences()

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BigtableDatabaseReference.Builder

clearInstanceId()

public BigtableDatabaseReference.Builder clearInstanceId()

Required. The instance id.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

clearProjectId()

public BigtableDatabaseReference.Builder clearProjectId()

Required. The project the instance belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

clearTableIds()

public BigtableDatabaseReference.Builder clearTableIds()

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

getDatabaseTableReferences(int index)

public DatabaseTableReference getDatabaseTableReferences(int index)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DatabaseTableReference

getDatabaseTableReferencesBuilder(int index)

public DatabaseTableReference.Builder getDatabaseTableReferencesBuilder(int index)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DatabaseTableReference.Builder

getDatabaseTableReferencesBuilderList()

public List<DatabaseTableReference.Builder> getDatabaseTableReferencesBuilderList()

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getDatabaseTableReferencesCount()

public int getDatabaseTableReferencesCount()

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getDatabaseTableReferencesList()

public List<DatabaseTableReference> getDatabaseTableReferencesList()

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<DatabaseTableReference>

getDatabaseTableReferencesOrBuilder(int index)

public DatabaseTableReferenceOrBuilder getDatabaseTableReferencesOrBuilder(int index)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DatabaseTableReferenceOrBuilder

getDatabaseTableReferencesOrBuilderList()

public List<? extends DatabaseTableReferenceOrBuilder> getDatabaseTableReferencesOrBuilderList()

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceOrBuilder>

getDefaultInstanceForType()

public BigtableDatabaseReference getDefaultInstanceForType()
Returns
Type Description
BigtableDatabaseReference

getDescriptorForType()

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

getInstanceId()

public String getInstanceId()

Required. The instance id.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Required. The instance id.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instanceId.

getProjectId()

public String getProjectId()

Required. The project the instance belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. The project the instance belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

getTableIds(int index)

public String getTableIds(int index)

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tableIds at the given index.

getTableIdsBytes(int index)

public ByteString getTableIdsBytes(int index)

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tableIds at the given index.

getTableIdsCount()

public int getTableIdsCount()

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of tableIds.

getTableIdsList()

public ProtocolStringList getTableIdsList()

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the tableIds.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigtableDatabaseReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeDatabaseTableReferences(int index)

public BigtableDatabaseReference.Builder removeDatabaseTableReferences(int index)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
BigtableDatabaseReference.Builder

setDatabaseTableReferences(int index, DatabaseTableReference value)

public BigtableDatabaseReference.Builder setDatabaseTableReferences(int index, DatabaseTableReference value)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value DatabaseTableReference
Returns
Type Description
BigtableDatabaseReference.Builder

setDatabaseTableReferences(int index, DatabaseTableReference.Builder builderForValue)

public BigtableDatabaseReference.Builder setDatabaseTableReferences(int index, DatabaseTableReference.Builder builderForValue)

Optional. References to tables within the database. Each reference specifies a table and can optionally include the table's schema to provide context for the query.

repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue DatabaseTableReference.Builder
Returns
Type Description
BigtableDatabaseReference.Builder

setInstanceId(String value)

public BigtableDatabaseReference.Builder setInstanceId(String value)

Required. The instance id.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public BigtableDatabaseReference.Builder setInstanceIdBytes(ByteString value)

Required. The instance id.

string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

setProjectId(String value)

public BigtableDatabaseReference.Builder setProjectId(String value)

Required. The project the instance belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public BigtableDatabaseReference.Builder setProjectIdBytes(ByteString value)

Required. The project the instance belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.

setTableIds(int index, String value)

public BigtableDatabaseReference.Builder setTableIds(int index, String value)

Optional. The table ids. Denotes all tables if unset.

repeated string table_ids = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The tableIds to set.

Returns
Type Description
BigtableDatabaseReference.Builder

This builder for chaining.