public interface AsyncRetrieveContextsRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getParent()
public abstract String getParent() Required. The resource name of the Location from which to retrieve
RagContexts. The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes() Required. The resource name of the Location from which to retrieve
RagContexts. The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getQuery()
public abstract RagQuery getQuery()Required. Single RAG retrieve query.
.google.cloud.aiplatform.v1beta1.RagQuery query = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RagQuery |
The query. |
getQueryOrBuilder()
public abstract RagQueryOrBuilder getQueryOrBuilder()Required. Single RAG retrieve query.
.google.cloud.aiplatform.v1beta1.RagQuery query = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RagQueryOrBuilder |
|
getTools(int index)
public abstract Tool getTools(int index)Optional. The tools to use for AskContexts.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Tool |
|
getToolsCount()
public abstract int getToolsCount()Optional. The tools to use for AskContexts.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getToolsList()
public abstract List<Tool> getToolsList()Optional. The tools to use for AskContexts.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Tool> |
|
getToolsOrBuilder(int index)
public abstract ToolOrBuilder getToolsOrBuilder(int index)Optional. The tools to use for AskContexts.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ToolOrBuilder |
|
getToolsOrBuilderList()
public abstract List<? extends ToolOrBuilder> getToolsOrBuilderList()Optional. The tools to use for AskContexts.
repeated .google.cloud.aiplatform.v1beta1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.ToolOrBuilder> |
|
hasQuery()
public abstract boolean hasQuery()Required. Single RAG retrieve query.
.google.cloud.aiplatform.v1beta1.RagQuery query = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the query field is set. |