Class BigtableSource.Builder (0.38.0)

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

The Cloud Bigtable source for importing data.

Protobuf type google.cloud.discoveryengine.v1beta.BigtableSource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigtableSource.Builder

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public BigtableSource.Builder clearProjectId()

The project ID that the Bigtable source is in with 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.

clone()

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

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.v1beta.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.v1beta.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.v1beta.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 the Bigtable source is in with 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 the Bigtable source is in with 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.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the bigtableOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.v1beta.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigtableSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v1beta.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.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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 the Bigtable source is in with 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 the Bigtable source is in with 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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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