public static final class DataStore.FederatedSearchConfig.NotebooklmConfig.Builder extends GeneratedMessage.Builder<DataStore.FederatedSearchConfig.NotebooklmConfig.Builder> implements DataStore.FederatedSearchConfig.NotebooklmConfigOrBuilderConfig for connecting to NotebookLM Enterprise.
Protobuf type
google.cloud.discoveryengine.v1.DataStore.FederatedSearchConfig.NotebooklmConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataStore.FederatedSearchConfig.NotebooklmConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNotebooks(Iterable<String> values)
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder addAllNotebooks(Iterable<String> values)Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour.
Each entry is a full notebook resource name, such as
projects/*/locations/*/notebooks/*.
Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.
repeated string notebooks = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The notebooks to add. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
This builder for chaining. |
addNotebooks(String value)
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder addNotebooks(String value)Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour.
Each entry is a full notebook resource name, such as
projects/*/locations/*/notebooks/*.
Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.
repeated string notebooks = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe notebooks to add. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
This builder for chaining. |
addNotebooksBytes(ByteString value)
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder addNotebooksBytes(ByteString value)Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour.
Each entry is a full notebook resource name, such as
projects/*/locations/*/notebooks/*.
Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.
repeated string notebooks = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the notebooks to add. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
This builder for chaining. |
build()
public DataStore.FederatedSearchConfig.NotebooklmConfig build()| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig |
|
buildPartial()
public DataStore.FederatedSearchConfig.NotebooklmConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig |
|
clear()
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
|
clearNotebooks()
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder clearNotebooks()Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour.
Each entry is a full notebook resource name, such as
projects/*/locations/*/notebooks/*.
Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.
repeated string notebooks = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
This builder for chaining. |
clearSearchConfig()
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder clearSearchConfig()Required. Search config name.
Format: projects/*/locations/global/notebookLmSearchConfigs/*
string search_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DataStore.FederatedSearchConfig.NotebooklmConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNotebooks(int index)
public String getNotebooks(int index)Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour.
Each entry is a full notebook resource name, such as
projects/*/locations/*/notebooks/*.
Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.
repeated string notebooks = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The notebooks at the given index. |
getNotebooksBytes(int index)
public ByteString getNotebooksBytes(int index)Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour.
Each entry is a full notebook resource name, such as
projects/*/locations/*/notebooks/*.
Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.
repeated string notebooks = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the notebooks at the given index. |
getNotebooksCount()
public int getNotebooksCount()Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour.
Each entry is a full notebook resource name, such as
projects/*/locations/*/notebooks/*.
Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.
repeated string notebooks = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of notebooks. |
getNotebooksList()
public ProtocolStringList getNotebooksList()Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour.
Each entry is a full notebook resource name, such as
projects/*/locations/*/notebooks/*.
Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.
repeated string notebooks = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the notebooks. |
getSearchConfig()
public String getSearchConfig()Required. Search config name.
Format: projects/*/locations/global/notebookLmSearchConfigs/*
string search_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The searchConfig. |
getSearchConfigBytes()
public ByteString getSearchConfigBytes()Required. Search config name.
Format: projects/*/locations/global/notebookLmSearchConfigs/*
string search_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for searchConfig. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataStore.FederatedSearchConfig.NotebooklmConfig other)
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder mergeFrom(DataStore.FederatedSearchConfig.NotebooklmConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DataStore.FederatedSearchConfig.NotebooklmConfig |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
|
setNotebooks(int index, String value)
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder setNotebooks(int index, String value)Optional. Restricts this data store to the given notebooks. When empty, the data store covers every notebook the querying user can access, which is the existing behaviour.
Each entry is a full notebook resource name, such as
projects/*/locations/*/notebooks/*.
Scoping is enforced on results as well as requested upstream, so a notebook outside this list cannot appear in a search response through this data store even if the backend returns one.
repeated string notebooks = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe notebooks to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
This builder for chaining. |
setSearchConfig(String value)
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder setSearchConfig(String value)Required. Search config name.
Format: projects/*/locations/global/notebookLmSearchConfigs/*
string search_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe searchConfig to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
This builder for chaining. |
setSearchConfigBytes(ByteString value)
public DataStore.FederatedSearchConfig.NotebooklmConfig.Builder setSearchConfigBytes(ByteString value)Required. Search config name.
Format: projects/*/locations/global/notebookLmSearchConfigs/*
string search_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for searchConfig to set. |
| Returns | |
|---|---|
| Type | Description |
DataStore.FederatedSearchConfig.NotebooklmConfig.Builder |
This builder for chaining. |