Interface AugmentPromptRequestOrBuilder (3.56.0)

public interface AugmentPromptRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContents(int index)

public abstract Content getContents(int index)

Optional. Input content to augment, only text format is supported for now.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Content

getContentsCount()

public abstract int getContentsCount()

Optional. Input content to augment, only text format is supported for now.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getContentsList()

public abstract List<Content> getContentsList()

Optional. Input content to augment, only text format is supported for now.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Content>

getContentsOrBuilder(int index)

public abstract ContentOrBuilder getContentsOrBuilder(int index)

Optional. Input content to augment, only text format is supported for now.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ContentOrBuilder

getContentsOrBuilderList()

public abstract List<? extends ContentOrBuilder> getContentsOrBuilderList()

Optional. Input content to augment, only text format is supported for now.

repeated .google.cloud.aiplatform.v1beta1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder>

getDataSourceCase()

public abstract AugmentPromptRequest.DataSourceCase getDataSourceCase()
Returns
Type Description
AugmentPromptRequest.DataSourceCase

getModel()

public abstract AugmentPromptRequest.Model getModel()

Optional. Metadata of the backend deployed model.

.google.cloud.aiplatform.v1beta1.AugmentPromptRequest.Model model = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AugmentPromptRequest.Model

The model.

getModelOrBuilder()

public abstract AugmentPromptRequest.ModelOrBuilder getModelOrBuilder()

Optional. Metadata of the backend deployed model.

.google.cloud.aiplatform.v1beta1.AugmentPromptRequest.Model model = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AugmentPromptRequest.ModelOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the Location from which to augment prompt. 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 augment prompt. 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.

getVertexRagStore()

public abstract VertexRagStore getVertexRagStore()

Optional. Retrieves contexts from the Vertex RagStore.

.google.cloud.aiplatform.v1beta1.VertexRagStore vertex_rag_store = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VertexRagStore

The vertexRagStore.

getVertexRagStoreOrBuilder()

public abstract VertexRagStoreOrBuilder getVertexRagStoreOrBuilder()

Optional. Retrieves contexts from the Vertex RagStore.

.google.cloud.aiplatform.v1beta1.VertexRagStore vertex_rag_store = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VertexRagStoreOrBuilder

hasModel()

public abstract boolean hasModel()

Optional. Metadata of the backend deployed model.

.google.cloud.aiplatform.v1beta1.AugmentPromptRequest.Model model = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the model field is set.

hasVertexRagStore()

public abstract boolean hasVertexRagStore()

Optional. Retrieves contexts from the Vertex RagStore.

.google.cloud.aiplatform.v1beta1.VertexRagStore vertex_rag_store = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the vertexRagStore field is set.