public static final class SetUpDataConnectorRequest.Builder extends GeneratedMessage.Builder<SetUpDataConnectorRequest.Builder> implements SetUpDataConnectorRequestOrBuilderRequest for DataConnectorService.SetUpDataConnector method.
Protobuf type google.cloud.discoveryengine.v1.SetUpDataConnectorRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SetUpDataConnectorRequest.BuilderImplements
SetUpDataConnectorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SetUpDataConnectorRequest build()| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest |
|
buildPartial()
public SetUpDataConnectorRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest |
|
clear()
public SetUpDataConnectorRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
|
clearCollectionDisplayName()
public SetUpDataConnectorRequest.Builder clearCollectionDisplayName()Required. The display name of the Collection.
Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
string collection_display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
This builder for chaining. |
clearCollectionId()
public SetUpDataConnectorRequest.Builder clearCollectionId()Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection.
Should conform to
RFC-1034 standard with a length
limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string collection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
This builder for chaining. |
clearDataConnector()
public SetUpDataConnectorRequest.Builder clearDataConnector()Required. The DataConnector to initialize in the newly created Collection.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
|
clearParent()
public SetUpDataConnectorRequest.Builder clearParent() Required. The parent of
Collection, in the format of
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
This builder for chaining. |
getCollectionDisplayName()
public String getCollectionDisplayName()Required. The display name of the Collection.
Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
string collection_display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The collectionDisplayName. |
getCollectionDisplayNameBytes()
public ByteString getCollectionDisplayNameBytes()Required. The display name of the Collection.
Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
string collection_display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for collectionDisplayName. |
getCollectionId()
public String getCollectionId()Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection.
Should conform to
RFC-1034 standard with a length
limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string collection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The collectionId. |
getCollectionIdBytes()
public ByteString getCollectionIdBytes()Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection.
Should conform to
RFC-1034 standard with a length
limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string collection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for collectionId. |
getDataConnector()
public DataConnector getDataConnector()Required. The DataConnector to initialize in the newly created Collection.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataConnector |
The dataConnector. |
getDataConnectorBuilder()
public DataConnector.Builder getDataConnectorBuilder()Required. The DataConnector to initialize in the newly created Collection.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataConnector.Builder |
|
getDataConnectorOrBuilder()
public DataConnectorOrBuilder getDataConnectorOrBuilder()Required. The DataConnector to initialize in the newly created Collection.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataConnectorOrBuilder |
|
getDefaultInstanceForType()
public SetUpDataConnectorRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent of
Collection, in the format of
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent of
Collection, in the format of
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasDataConnector()
public boolean hasDataConnector()Required. The DataConnector to initialize in the newly created Collection.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataConnector field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDataConnector(DataConnector value)
public SetUpDataConnectorRequest.Builder mergeDataConnector(DataConnector value)Required. The DataConnector to initialize in the newly created Collection.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataConnector |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
|
mergeFrom(SetUpDataConnectorRequest other)
public SetUpDataConnectorRequest.Builder mergeFrom(SetUpDataConnectorRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SetUpDataConnectorRequest |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SetUpDataConnectorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SetUpDataConnectorRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
|
setCollectionDisplayName(String value)
public SetUpDataConnectorRequest.Builder setCollectionDisplayName(String value)Required. The display name of the Collection.
Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
string collection_display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe collectionDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
This builder for chaining. |
setCollectionDisplayNameBytes(ByteString value)
public SetUpDataConnectorRequest.Builder setCollectionDisplayNameBytes(ByteString value)Required. The display name of the Collection.
Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
string collection_display_name = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for collectionDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
This builder for chaining. |
setCollectionId(String value)
public SetUpDataConnectorRequest.Builder setCollectionId(String value)Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection.
Should conform to
RFC-1034 standard with a length
limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string collection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe collectionId to set. |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
This builder for chaining. |
setCollectionIdBytes(ByteString value)
public SetUpDataConnectorRequest.Builder setCollectionIdBytes(ByteString value)Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection.
Should conform to
RFC-1034 standard with a length
limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string collection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for collectionId to set. |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
This builder for chaining. |
setDataConnector(DataConnector value)
public SetUpDataConnectorRequest.Builder setDataConnector(DataConnector value)Required. The DataConnector to initialize in the newly created Collection.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataConnector |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
|
setDataConnector(DataConnector.Builder builderForValue)
public SetUpDataConnectorRequest.Builder setDataConnector(DataConnector.Builder builderForValue)Required. The DataConnector to initialize in the newly created Collection.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataConnector.Builder |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
|
setParent(String value)
public SetUpDataConnectorRequest.Builder setParent(String value) Required. The parent of
Collection, in the format of
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public SetUpDataConnectorRequest.Builder setParentBytes(ByteString value) Required. The parent of
Collection, in the format of
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
SetUpDataConnectorRequest.Builder |
This builder for chaining. |