Interface DataStore.FederatedSearchConfig.NotebooklmConfigOrBuilder (0.99.0)

public static interface DataStore.FederatedSearchConfig.NotebooklmConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNotebooks(int index)

public abstract 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 int

The index of the element to return.

Returns
Type Description
String

The notebooks at the given index.

getNotebooksBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the notebooks at the given index.

getNotebooksCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the notebooks.

getSearchConfig()

public abstract 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 abstract 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.