Class DataStore.ConnectorConfig.Builder (0.1.0)

public static final class DataStore.ConnectorConfig.Builder extends GeneratedMessage.Builder<DataStore.ConnectorConfig.Builder> implements DataStore.ConnectorConfigOrBuilder

The connector config for the data store connection.

Protobuf type google.cloud.ces.v1.DataStore.ConnectorConfig

Static Methods

getDescriptor()

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

Methods

build()

public DataStore.ConnectorConfig build()
Returns
Type Description
DataStore.ConnectorConfig

buildPartial()

public DataStore.ConnectorConfig buildPartial()
Returns
Type Description
DataStore.ConnectorConfig

clear()

public DataStore.ConnectorConfig.Builder clear()
Returns
Type Description
DataStore.ConnectorConfig.Builder
Overrides

clearCollection()

public DataStore.ConnectorConfig.Builder clearCollection()

Resource name of the collection the data store belongs to.

string collection = 1;

Returns
Type Description
DataStore.ConnectorConfig.Builder

This builder for chaining.

clearCollectionDisplayName()

public DataStore.ConnectorConfig.Builder clearCollectionDisplayName()

Display name of the collection the data store belongs to.

string collection_display_name = 2;

Returns
Type Description
DataStore.ConnectorConfig.Builder

This builder for chaining.

clearDataSource()

public DataStore.ConnectorConfig.Builder clearDataSource()

The name of the data source. Example: salesforce, jira, confluence, bigquery.

string data_source = 3;

Returns
Type Description
DataStore.ConnectorConfig.Builder

This builder for chaining.

getCollection()

public String getCollection()

Resource name of the collection the data store belongs to.

string collection = 1;

Returns
Type Description
String

The collection.

getCollectionBytes()

public ByteString getCollectionBytes()

Resource name of the collection the data store belongs to.

string collection = 1;

Returns
Type Description
ByteString

The bytes for collection.

getCollectionDisplayName()

public String getCollectionDisplayName()

Display name of the collection the data store belongs to.

string collection_display_name = 2;

Returns
Type Description
String

The collectionDisplayName.

getCollectionDisplayNameBytes()

public ByteString getCollectionDisplayNameBytes()

Display name of the collection the data store belongs to.

string collection_display_name = 2;

Returns
Type Description
ByteString

The bytes for collectionDisplayName.

getDataSource()

public String getDataSource()

The name of the data source. Example: salesforce, jira, confluence, bigquery.

string data_source = 3;

Returns
Type Description
String

The dataSource.

getDataSourceBytes()

public ByteString getDataSourceBytes()

The name of the data source. Example: salesforce, jira, confluence, bigquery.

string data_source = 3;

Returns
Type Description
ByteString

The bytes for dataSource.

getDefaultInstanceForType()

public DataStore.ConnectorConfig getDefaultInstanceForType()
Returns
Type Description
DataStore.ConnectorConfig

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataStore.ConnectorConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCollection(String value)

public DataStore.ConnectorConfig.Builder setCollection(String value)

Resource name of the collection the data store belongs to.

string collection = 1;

Parameter
Name Description
value String

The collection to set.

Returns
Type Description
DataStore.ConnectorConfig.Builder

This builder for chaining.

setCollectionBytes(ByteString value)

public DataStore.ConnectorConfig.Builder setCollectionBytes(ByteString value)

Resource name of the collection the data store belongs to.

string collection = 1;

Parameter
Name Description
value ByteString

The bytes for collection to set.

Returns
Type Description
DataStore.ConnectorConfig.Builder

This builder for chaining.

setCollectionDisplayName(String value)

public DataStore.ConnectorConfig.Builder setCollectionDisplayName(String value)

Display name of the collection the data store belongs to.

string collection_display_name = 2;

Parameter
Name Description
value String

The collectionDisplayName to set.

Returns
Type Description
DataStore.ConnectorConfig.Builder

This builder for chaining.

setCollectionDisplayNameBytes(ByteString value)

public DataStore.ConnectorConfig.Builder setCollectionDisplayNameBytes(ByteString value)

Display name of the collection the data store belongs to.

string collection_display_name = 2;

Parameter
Name Description
value ByteString

The bytes for collectionDisplayName to set.

Returns
Type Description
DataStore.ConnectorConfig.Builder

This builder for chaining.

setDataSource(String value)

public DataStore.ConnectorConfig.Builder setDataSource(String value)

The name of the data source. Example: salesforce, jira, confluence, bigquery.

string data_source = 3;

Parameter
Name Description
value String

The dataSource to set.

Returns
Type Description
DataStore.ConnectorConfig.Builder

This builder for chaining.

setDataSourceBytes(ByteString value)

public DataStore.ConnectorConfig.Builder setDataSourceBytes(ByteString value)

The name of the data source. Example: salesforce, jira, confluence, bigquery.

string data_source = 3;

Parameter
Name Description
value ByteString

The bytes for dataSource to set.

Returns
Type Description
DataStore.ConnectorConfig.Builder

This builder for chaining.