Class BigtableSource.Builder (0.79.0)

public static final class BigtableSource.Builder extends GeneratedMessage.Builder<BigtableSource.Builder> implements BigtableSourceOrBuilder

The Cloud Bigtable source for importing data.

Protobuf type google.cloud.discoveryengine.v1alpha.BigtableSource

Static Methods

getDescriptor()

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

Methods

build()

public BigtableSource build()
Returns
Type Description
BigtableSource

buildPartial()

public BigtableSource buildPartial()
Returns
Type Description
BigtableSource

clear()

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

clearBigtableOptions()

public BigtableSource.Builder clearBigtableOptions()

Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.

.google.cloud.discoveryengine.v1alpha.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigtableSource.Builder

clearInstanceId()

public BigtableSource.Builder clearInstanceId()

Required. The instance ID of the Cloud Bigtable that needs to be imported.

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

Returns
Type Description
BigtableSource.Builder

This builder for chaining.

clearProjectId()

public BigtableSource.Builder clearProjectId()

The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

string project_id = 1;

Returns
Type Description
BigtableSource.Builder

This builder for chaining.

clearTableId()

public BigtableSource.Builder clearTableId()

Required. The table ID of the Cloud Bigtable that needs to be imported.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigtableSource.Builder

This builder for chaining.

getBigtableOptions()

public BigtableOptions getBigtableOptions()

Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.

.google.cloud.discoveryengine.v1alpha.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigtableOptions

The bigtableOptions.

getBigtableOptionsBuilder()

public BigtableOptions.Builder getBigtableOptionsBuilder()

Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.

.google.cloud.discoveryengine.v1alpha.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigtableOptions.Builder

getBigtableOptionsOrBuilder()

public BigtableOptionsOrBuilder getBigtableOptionsOrBuilder()

Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.

.google.cloud.discoveryengine.v1alpha.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigtableOptionsOrBuilder

getDefaultInstanceForType()

public BigtableSource getDefaultInstanceForType()
Returns
Type Description
BigtableSource

getDescriptorForType()

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

getInstanceId()

public String getInstanceId()

Required. The instance ID of the Cloud Bigtable that needs to be imported.

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

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Required. The instance ID of the Cloud Bigtable that needs to be imported.

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

Returns
Type Description
ByteString

The bytes for instanceId.

getProjectId()

public String getProjectId()

The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

getTableId()

public String getTableId()

Required. The table ID of the Cloud Bigtable that needs to be imported.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

Required. The table ID of the Cloud Bigtable that needs to be imported.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tableId.

hasBigtableOptions()

public boolean hasBigtableOptions()

Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.

.google.cloud.discoveryengine.v1alpha.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the bigtableOptions field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigtableOptions(BigtableOptions value)

public BigtableSource.Builder mergeBigtableOptions(BigtableOptions value)

Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.

.google.cloud.discoveryengine.v1alpha.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BigtableOptions
Returns
Type Description
BigtableSource.Builder

mergeFrom(BigtableSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBigtableOptions(BigtableOptions value)

public BigtableSource.Builder setBigtableOptions(BigtableOptions value)

Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.

.google.cloud.discoveryengine.v1alpha.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BigtableOptions
Returns
Type Description
BigtableSource.Builder

setBigtableOptions(BigtableOptions.Builder builderForValue)

public BigtableSource.Builder setBigtableOptions(BigtableOptions.Builder builderForValue)

Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.

.google.cloud.discoveryengine.v1alpha.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BigtableOptions.Builder
Returns
Type Description
BigtableSource.Builder

setInstanceId(String value)

public BigtableSource.Builder setInstanceId(String value)

Required. The instance ID of the Cloud Bigtable that needs to be imported.

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

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
BigtableSource.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public BigtableSource.Builder setInstanceIdBytes(ByteString value)

Required. The instance ID of the Cloud Bigtable that needs to be imported.

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

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
BigtableSource.Builder

This builder for chaining.

setProjectId(String value)

public BigtableSource.Builder setProjectId(String value)

The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
BigtableSource.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public BigtableSource.Builder setProjectIdBytes(ByteString value)

The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
BigtableSource.Builder

This builder for chaining.

setTableId(String value)

public BigtableSource.Builder setTableId(String value)

Required. The table ID of the Cloud Bigtable that needs to be imported.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tableId to set.

Returns
Type Description
BigtableSource.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public BigtableSource.Builder setTableIdBytes(ByteString value)

Required. The table ID of the Cloud Bigtable that needs to be imported.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tableId to set.

Returns
Type Description
BigtableSource.Builder

This builder for chaining.