// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.2
// source: google/cloud/aiplatform/v1/vertex_rag_service.proto

package aiplatformpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// A query to retrieve relevant contexts.
type RagQuery struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The query to retrieve contexts.
	// Currently only text query is supported.
	//
	// Types that are valid to be assigned to Query:
	//
	//	*RagQuery_Text
	Query isRagQuery_Query `protobuf_oneof:"query"`
	// Optional. The retrieval config for the query.
	RagRetrievalConfig *RagRetrievalConfig `protobuf:"bytes,6,opt,name=rag_retrieval_config,json=ragRetrievalConfig,proto3" json:"rag_retrieval_config,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *RagQuery) Reset() {
	*x = RagQuery{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RagQuery) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RagQuery) ProtoMessage() {}

func (x *RagQuery) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RagQuery.ProtoReflect.Descriptor instead.
func (*RagQuery) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{0}
}

func (x *RagQuery) GetQuery() isRagQuery_Query {
	if x != nil {
		return x.Query
	}
	return nil
}

func (x *RagQuery) GetText() string {
	if x != nil {
		if x, ok := x.Query.(*RagQuery_Text); ok {
			return x.Text
		}
	}
	return ""
}

func (x *RagQuery) GetRagRetrievalConfig() *RagRetrievalConfig {
	if x != nil {
		return x.RagRetrievalConfig
	}
	return nil
}

type isRagQuery_Query interface {
	isRagQuery_Query()
}

type RagQuery_Text struct {
	// Optional. The query in text format to get relevant contexts.
	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

func (*RagQuery_Text) isRagQuery_Query() {}

// Request message for
// [VertexRagService.RetrieveContexts][google.cloud.aiplatform.v1.VertexRagService.RetrieveContexts].
type RetrieveContextsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Data Source to retrieve contexts.
	//
	// Types that are valid to be assigned to DataSource:
	//
	//	*RetrieveContextsRequest_VertexRagStore_
	DataSource isRetrieveContextsRequest_DataSource `protobuf_oneof:"data_source"`
	// 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}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Single RAG retrieve query.
	Query         *RagQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RetrieveContextsRequest) Reset() {
	*x = RetrieveContextsRequest{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RetrieveContextsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RetrieveContextsRequest) ProtoMessage() {}

func (x *RetrieveContextsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RetrieveContextsRequest.ProtoReflect.Descriptor instead.
func (*RetrieveContextsRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{1}
}

func (x *RetrieveContextsRequest) GetDataSource() isRetrieveContextsRequest_DataSource {
	if x != nil {
		return x.DataSource
	}
	return nil
}

func (x *RetrieveContextsRequest) GetVertexRagStore() *RetrieveContextsRequest_VertexRagStore {
	if x != nil {
		if x, ok := x.DataSource.(*RetrieveContextsRequest_VertexRagStore_); ok {
			return x.VertexRagStore
		}
	}
	return nil
}

func (x *RetrieveContextsRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *RetrieveContextsRequest) GetQuery() *RagQuery {
	if x != nil {
		return x.Query
	}
	return nil
}

type isRetrieveContextsRequest_DataSource interface {
	isRetrieveContextsRequest_DataSource()
}

type RetrieveContextsRequest_VertexRagStore_ struct {
	// The data source for Vertex RagStore.
	VertexRagStore *RetrieveContextsRequest_VertexRagStore `protobuf:"bytes,2,opt,name=vertex_rag_store,json=vertexRagStore,proto3,oneof"`
}

func (*RetrieveContextsRequest_VertexRagStore_) isRetrieveContextsRequest_DataSource() {}

// Relevant contexts for one query.
type RagContexts struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// All its contexts.
	Contexts      []*RagContexts_Context `protobuf:"bytes,1,rep,name=contexts,proto3" json:"contexts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RagContexts) Reset() {
	*x = RagContexts{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RagContexts) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RagContexts) ProtoMessage() {}

func (x *RagContexts) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RagContexts.ProtoReflect.Descriptor instead.
func (*RagContexts) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{2}
}

func (x *RagContexts) GetContexts() []*RagContexts_Context {
	if x != nil {
		return x.Contexts
	}
	return nil
}

// Response message for
// [VertexRagService.RetrieveContexts][google.cloud.aiplatform.v1.VertexRagService.RetrieveContexts].
type RetrieveContextsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The contexts of the query.
	Contexts      *RagContexts `protobuf:"bytes,1,opt,name=contexts,proto3" json:"contexts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RetrieveContextsResponse) Reset() {
	*x = RetrieveContextsResponse{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RetrieveContextsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RetrieveContextsResponse) ProtoMessage() {}

func (x *RetrieveContextsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RetrieveContextsResponse.ProtoReflect.Descriptor instead.
func (*RetrieveContextsResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{3}
}

func (x *RetrieveContextsResponse) GetContexts() *RagContexts {
	if x != nil {
		return x.Contexts
	}
	return nil
}

// Request message for AugmentPrompt.
type AugmentPromptRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The data source for retrieving contexts.
	//
	// Types that are valid to be assigned to DataSource:
	//
	//	*AugmentPromptRequest_VertexRagStore
	DataSource isAugmentPromptRequest_DataSource `protobuf_oneof:"data_source"`
	// 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}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Input content to augment, only text format is supported for now.
	Contents []*Content `protobuf:"bytes,2,rep,name=contents,proto3" json:"contents,omitempty"`
	// Optional. Metadata of the backend deployed model.
	Model         *AugmentPromptRequest_Model `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AugmentPromptRequest) Reset() {
	*x = AugmentPromptRequest{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AugmentPromptRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AugmentPromptRequest) ProtoMessage() {}

func (x *AugmentPromptRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AugmentPromptRequest.ProtoReflect.Descriptor instead.
func (*AugmentPromptRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{4}
}

func (x *AugmentPromptRequest) GetDataSource() isAugmentPromptRequest_DataSource {
	if x != nil {
		return x.DataSource
	}
	return nil
}

func (x *AugmentPromptRequest) GetVertexRagStore() *VertexRagStore {
	if x != nil {
		if x, ok := x.DataSource.(*AugmentPromptRequest_VertexRagStore); ok {
			return x.VertexRagStore
		}
	}
	return nil
}

func (x *AugmentPromptRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *AugmentPromptRequest) GetContents() []*Content {
	if x != nil {
		return x.Contents
	}
	return nil
}

func (x *AugmentPromptRequest) GetModel() *AugmentPromptRequest_Model {
	if x != nil {
		return x.Model
	}
	return nil
}

type isAugmentPromptRequest_DataSource interface {
	isAugmentPromptRequest_DataSource()
}

type AugmentPromptRequest_VertexRagStore struct {
	// Optional. Retrieves contexts from the Vertex RagStore.
	VertexRagStore *VertexRagStore `protobuf:"bytes,4,opt,name=vertex_rag_store,json=vertexRagStore,proto3,oneof"`
}

func (*AugmentPromptRequest_VertexRagStore) isAugmentPromptRequest_DataSource() {}

// Response message for AugmentPrompt.
type AugmentPromptResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Augmented prompt, only text format is supported for now.
	AugmentedPrompt []*Content `protobuf:"bytes,1,rep,name=augmented_prompt,json=augmentedPrompt,proto3" json:"augmented_prompt,omitempty"`
	// Retrieved facts from RAG data sources.
	Facts         []*Fact `protobuf:"bytes,2,rep,name=facts,proto3" json:"facts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AugmentPromptResponse) Reset() {
	*x = AugmentPromptResponse{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AugmentPromptResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AugmentPromptResponse) ProtoMessage() {}

func (x *AugmentPromptResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AugmentPromptResponse.ProtoReflect.Descriptor instead.
func (*AugmentPromptResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{5}
}

func (x *AugmentPromptResponse) GetAugmentedPrompt() []*Content {
	if x != nil {
		return x.AugmentedPrompt
	}
	return nil
}

func (x *AugmentPromptResponse) GetFacts() []*Fact {
	if x != nil {
		return x.Facts
	}
	return nil
}

// Request message for CorroborateContent.
type CorroborateContentRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the Location from which to corroborate text.
	// The users must have permission to make a call in the project.
	// Format:
	// `projects/{project}/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Input content to corroborate, only text format is supported for
	// now.
	Content *Content `protobuf:"bytes,2,opt,name=content,proto3,oneof" json:"content,omitempty"`
	// Optional. Facts used to generate the text can also be used to corroborate
	// the text.
	Facts []*Fact `protobuf:"bytes,3,rep,name=facts,proto3" json:"facts,omitempty"`
	// Optional. Parameters that can be set to override default settings per
	// request.
	Parameters    *CorroborateContentRequest_Parameters `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CorroborateContentRequest) Reset() {
	*x = CorroborateContentRequest{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CorroborateContentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CorroborateContentRequest) ProtoMessage() {}

func (x *CorroborateContentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CorroborateContentRequest.ProtoReflect.Descriptor instead.
func (*CorroborateContentRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{6}
}

func (x *CorroborateContentRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *CorroborateContentRequest) GetContent() *Content {
	if x != nil {
		return x.Content
	}
	return nil
}

func (x *CorroborateContentRequest) GetFacts() []*Fact {
	if x != nil {
		return x.Facts
	}
	return nil
}

func (x *CorroborateContentRequest) GetParameters() *CorroborateContentRequest_Parameters {
	if x != nil {
		return x.Parameters
	}
	return nil
}

// Response message for CorroborateContent.
type CorroborateContentResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Confidence score of corroborating content. Value is [0,1] with 1 is the
	// most confidence.
	CorroborationScore *float32 `protobuf:"fixed32,1,opt,name=corroboration_score,json=corroborationScore,proto3,oneof" json:"corroboration_score,omitempty"`
	// Claims that are extracted from the input content and facts that support the
	// claims.
	Claims        []*Claim `protobuf:"bytes,2,rep,name=claims,proto3" json:"claims,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CorroborateContentResponse) Reset() {
	*x = CorroborateContentResponse{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CorroborateContentResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CorroborateContentResponse) ProtoMessage() {}

func (x *CorroborateContentResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CorroborateContentResponse.ProtoReflect.Descriptor instead.
func (*CorroborateContentResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{7}
}

func (x *CorroborateContentResponse) GetCorroborationScore() float32 {
	if x != nil && x.CorroborationScore != nil {
		return *x.CorroborationScore
	}
	return 0
}

func (x *CorroborateContentResponse) GetClaims() []*Claim {
	if x != nil {
		return x.Claims
	}
	return nil
}

// The fact used in grounding.
type Fact struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Query that is used to retrieve this fact.
	Query *string `protobuf:"bytes,1,opt,name=query,proto3,oneof" json:"query,omitempty"`
	// If present, it refers to the title of this fact.
	Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty"`
	// If present, this uri links to the source of the fact.
	Uri *string `protobuf:"bytes,3,opt,name=uri,proto3,oneof" json:"uri,omitempty"`
	// If present, the summary/snippet of the fact.
	Summary *string `protobuf:"bytes,4,opt,name=summary,proto3,oneof" json:"summary,omitempty"`
	// If present, the distance between the query vector and this fact vector.
	//
	// Deprecated: Marked as deprecated in google/cloud/aiplatform/v1/vertex_rag_service.proto.
	VectorDistance *float64 `protobuf:"fixed64,5,opt,name=vector_distance,json=vectorDistance,proto3,oneof" json:"vector_distance,omitempty"`
	// If present, according to the underlying Vector DB and the selected metric
	// type, the score can be either the distance or the similarity between the
	// query and the fact and its range depends on the metric type.
	//
	// For example, if the metric type is COSINE_DISTANCE, it represents the
	// distance between the query and the fact. The larger the distance, the less
	// relevant the fact is to the query. The range is [0, 2], while 0 means the
	// most relevant and 2 means the least relevant.
	Score *float64 `protobuf:"fixed64,6,opt,name=score,proto3,oneof" json:"score,omitempty"`
	// If present, chunk properties.
	Chunk         *RagChunk `protobuf:"bytes,7,opt,name=chunk,proto3,oneof" json:"chunk,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Fact) Reset() {
	*x = Fact{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Fact) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Fact) ProtoMessage() {}

func (x *Fact) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Fact.ProtoReflect.Descriptor instead.
func (*Fact) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{8}
}

func (x *Fact) GetQuery() string {
	if x != nil && x.Query != nil {
		return *x.Query
	}
	return ""
}

func (x *Fact) GetTitle() string {
	if x != nil && x.Title != nil {
		return *x.Title
	}
	return ""
}

func (x *Fact) GetUri() string {
	if x != nil && x.Uri != nil {
		return *x.Uri
	}
	return ""
}

func (x *Fact) GetSummary() string {
	if x != nil && x.Summary != nil {
		return *x.Summary
	}
	return ""
}

// Deprecated: Marked as deprecated in google/cloud/aiplatform/v1/vertex_rag_service.proto.
func (x *Fact) GetVectorDistance() float64 {
	if x != nil && x.VectorDistance != nil {
		return *x.VectorDistance
	}
	return 0
}

func (x *Fact) GetScore() float64 {
	if x != nil && x.Score != nil {
		return *x.Score
	}
	return 0
}

func (x *Fact) GetChunk() *RagChunk {
	if x != nil {
		return x.Chunk
	}
	return nil
}

// Claim that is extracted from the input text and facts that support it.
type Claim struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Index in the input text where the claim starts (inclusive).
	StartIndex *int32 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3,oneof" json:"start_index,omitempty"`
	// Index in the input text where the claim ends (exclusive).
	EndIndex *int32 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3,oneof" json:"end_index,omitempty"`
	// Indexes of the facts supporting this claim.
	FactIndexes []int32 `protobuf:"varint,3,rep,packed,name=fact_indexes,json=factIndexes,proto3" json:"fact_indexes,omitempty"`
	// Confidence score of this corroboration.
	Score         *float32 `protobuf:"fixed32,4,opt,name=score,proto3,oneof" json:"score,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Claim) Reset() {
	*x = Claim{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Claim) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Claim) ProtoMessage() {}

func (x *Claim) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Claim.ProtoReflect.Descriptor instead.
func (*Claim) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{9}
}

func (x *Claim) GetStartIndex() int32 {
	if x != nil && x.StartIndex != nil {
		return *x.StartIndex
	}
	return 0
}

func (x *Claim) GetEndIndex() int32 {
	if x != nil && x.EndIndex != nil {
		return *x.EndIndex
	}
	return 0
}

func (x *Claim) GetFactIndexes() []int32 {
	if x != nil {
		return x.FactIndexes
	}
	return nil
}

func (x *Claim) GetScore() float32 {
	if x != nil && x.Score != nil {
		return *x.Score
	}
	return 0
}

// Agentic Retrieval Ask API for RAG.
// Request message for
// [VertexRagService.AskContexts][google.cloud.aiplatform.v1.VertexRagService.AskContexts].
type AskContextsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// 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}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Single RAG retrieve query.
	Query *RagQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// Optional. The tools to use for AskContexts.
	Tools         []*Tool `protobuf:"bytes,3,rep,name=tools,proto3" json:"tools,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AskContextsRequest) Reset() {
	*x = AskContextsRequest{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AskContextsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AskContextsRequest) ProtoMessage() {}

func (x *AskContextsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[10]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AskContextsRequest.ProtoReflect.Descriptor instead.
func (*AskContextsRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{10}
}

func (x *AskContextsRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *AskContextsRequest) GetQuery() *RagQuery {
	if x != nil {
		return x.Query
	}
	return nil
}

func (x *AskContextsRequest) GetTools() []*Tool {
	if x != nil {
		return x.Tools
	}
	return nil
}

// Response message for
// [VertexRagService.AskContexts][google.cloud.aiplatform.v1.VertexRagService.AskContexts].
type AskContextsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The Retrieval Response.
	Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// The contexts of the query.
	Contexts      *RagContexts `protobuf:"bytes,2,opt,name=contexts,proto3" json:"contexts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AskContextsResponse) Reset() {
	*x = AskContextsResponse{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AskContextsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AskContextsResponse) ProtoMessage() {}

func (x *AskContextsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[11]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AskContextsResponse.ProtoReflect.Descriptor instead.
func (*AskContextsResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{11}
}

func (x *AskContextsResponse) GetResponse() string {
	if x != nil {
		return x.Response
	}
	return ""
}

func (x *AskContextsResponse) GetContexts() *RagContexts {
	if x != nil {
		return x.Contexts
	}
	return nil
}

// Request message for
// [VertexRagService.AsyncRetrieveContexts][google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts].
type AsyncRetrieveContextsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// 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}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Single RAG retrieve query.
	Query *RagQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// Optional. The tools to use for AskContexts.
	Tools         []*Tool `protobuf:"bytes,3,rep,name=tools,proto3" json:"tools,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AsyncRetrieveContextsRequest) Reset() {
	*x = AsyncRetrieveContextsRequest{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AsyncRetrieveContextsRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AsyncRetrieveContextsRequest) ProtoMessage() {}

func (x *AsyncRetrieveContextsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[12]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AsyncRetrieveContextsRequest.ProtoReflect.Descriptor instead.
func (*AsyncRetrieveContextsRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{12}
}

func (x *AsyncRetrieveContextsRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *AsyncRetrieveContextsRequest) GetQuery() *RagQuery {
	if x != nil {
		return x.Query
	}
	return nil
}

func (x *AsyncRetrieveContextsRequest) GetTools() []*Tool {
	if x != nil {
		return x.Tools
	}
	return nil
}

// Response message for
// [VertexRagService.AsyncRetrieveContexts][google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts].
type AsyncRetrieveContextsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The contexts of the query.
	Contexts      *RagContexts `protobuf:"bytes,1,opt,name=contexts,proto3" json:"contexts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AsyncRetrieveContextsResponse) Reset() {
	*x = AsyncRetrieveContextsResponse{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AsyncRetrieveContextsResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AsyncRetrieveContextsResponse) ProtoMessage() {}

func (x *AsyncRetrieveContextsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[13]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AsyncRetrieveContextsResponse.ProtoReflect.Descriptor instead.
func (*AsyncRetrieveContextsResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{13}
}

func (x *AsyncRetrieveContextsResponse) GetContexts() *RagContexts {
	if x != nil {
		return x.Contexts
	}
	return nil
}

// Metadata for AsyncRetrieveContextsOperation.
type AsyncRetrieveContextsOperationMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The operation generic information.
	GenericMetadata *GenericOperationMetadata `protobuf:"bytes,1,opt,name=generic_metadata,json=genericMetadata,proto3" json:"generic_metadata,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *AsyncRetrieveContextsOperationMetadata) Reset() {
	*x = AsyncRetrieveContextsOperationMetadata{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AsyncRetrieveContextsOperationMetadata) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AsyncRetrieveContextsOperationMetadata) ProtoMessage() {}

func (x *AsyncRetrieveContextsOperationMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[14]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AsyncRetrieveContextsOperationMetadata.ProtoReflect.Descriptor instead.
func (*AsyncRetrieveContextsOperationMetadata) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{14}
}

func (x *AsyncRetrieveContextsOperationMetadata) GetGenericMetadata() *GenericOperationMetadata {
	if x != nil {
		return x.GenericMetadata
	}
	return nil
}

// The data source for Vertex RagStore.
type RetrieveContextsRequest_VertexRagStore struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The representation of the rag source. It can be used to specify
	// corpus only or ragfiles. Currently only support one corpus or multiple
	// files from one corpus. In the future we may open up multiple corpora
	// support.
	RagResources []*RetrieveContextsRequest_VertexRagStore_RagResource `protobuf:"bytes,3,rep,name=rag_resources,json=ragResources,proto3" json:"rag_resources,omitempty"`
	// Optional. Only return contexts with vector distance smaller than the
	// threshold.
	//
	// Deprecated: Marked as deprecated in google/cloud/aiplatform/v1/vertex_rag_service.proto.
	VectorDistanceThreshold *float64 `protobuf:"fixed64,2,opt,name=vector_distance_threshold,json=vectorDistanceThreshold,proto3,oneof" json:"vector_distance_threshold,omitempty"`
	unknownFields           protoimpl.UnknownFields
	sizeCache               protoimpl.SizeCache
}

func (x *RetrieveContextsRequest_VertexRagStore) Reset() {
	*x = RetrieveContextsRequest_VertexRagStore{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RetrieveContextsRequest_VertexRagStore) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RetrieveContextsRequest_VertexRagStore) ProtoMessage() {}

func (x *RetrieveContextsRequest_VertexRagStore) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[15]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RetrieveContextsRequest_VertexRagStore.ProtoReflect.Descriptor instead.
func (*RetrieveContextsRequest_VertexRagStore) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{1, 0}
}

func (x *RetrieveContextsRequest_VertexRagStore) GetRagResources() []*RetrieveContextsRequest_VertexRagStore_RagResource {
	if x != nil {
		return x.RagResources
	}
	return nil
}

// Deprecated: Marked as deprecated in google/cloud/aiplatform/v1/vertex_rag_service.proto.
func (x *RetrieveContextsRequest_VertexRagStore) GetVectorDistanceThreshold() float64 {
	if x != nil && x.VectorDistanceThreshold != nil {
		return *x.VectorDistanceThreshold
	}
	return 0
}

// The definition of the Rag resource.
type RetrieveContextsRequest_VertexRagStore_RagResource struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. RagCorpora resource name.
	// Format:
	// `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
	RagCorpus string `protobuf:"bytes,1,opt,name=rag_corpus,json=ragCorpus,proto3" json:"rag_corpus,omitempty"`
	// Optional. rag_file_id. The files should be in the same rag_corpus set
	// in rag_corpus field.
	RagFileIds    []string `protobuf:"bytes,2,rep,name=rag_file_ids,json=ragFileIds,proto3" json:"rag_file_ids,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RetrieveContextsRequest_VertexRagStore_RagResource) Reset() {
	*x = RetrieveContextsRequest_VertexRagStore_RagResource{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RetrieveContextsRequest_VertexRagStore_RagResource) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RetrieveContextsRequest_VertexRagStore_RagResource) ProtoMessage() {}

func (x *RetrieveContextsRequest_VertexRagStore_RagResource) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[16]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RetrieveContextsRequest_VertexRagStore_RagResource.ProtoReflect.Descriptor instead.
func (*RetrieveContextsRequest_VertexRagStore_RagResource) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{1, 0, 0}
}

func (x *RetrieveContextsRequest_VertexRagStore_RagResource) GetRagCorpus() string {
	if x != nil {
		return x.RagCorpus
	}
	return ""
}

func (x *RetrieveContextsRequest_VertexRagStore_RagResource) GetRagFileIds() []string {
	if x != nil {
		return x.RagFileIds
	}
	return nil
}

// A context of the query.
type RagContexts_Context struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// If the file is imported from Cloud Storage or Google Drive, source_uri
	// will be original file URI in Cloud Storage or Google Drive; if file is
	// uploaded, source_uri will be file display name.
	SourceUri string `protobuf:"bytes,1,opt,name=source_uri,json=sourceUri,proto3" json:"source_uri,omitempty"`
	// The file display name.
	SourceDisplayName string `protobuf:"bytes,5,opt,name=source_display_name,json=sourceDisplayName,proto3" json:"source_display_name,omitempty"`
	// The text chunk.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// According to the underlying Vector DB and the selected metric type, the
	// score can be either the distance or the similarity between the query and
	// the context and its range depends on the metric type.
	//
	// For example, if the metric type is COSINE_DISTANCE, it represents the
	// distance between the query and the context. The larger the distance, the
	// less relevant the context is to the query. The range is [0, 2], while 0
	// means the most relevant and 2 means the least relevant.
	Score *float64 `protobuf:"fixed64,6,opt,name=score,proto3,oneof" json:"score,omitempty"`
	// Context of the retrieved chunk.
	Chunk         *RagChunk `protobuf:"bytes,7,opt,name=chunk,proto3" json:"chunk,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RagContexts_Context) Reset() {
	*x = RagContexts_Context{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RagContexts_Context) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RagContexts_Context) ProtoMessage() {}

func (x *RagContexts_Context) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[17]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RagContexts_Context.ProtoReflect.Descriptor instead.
func (*RagContexts_Context) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{2, 0}
}

func (x *RagContexts_Context) GetSourceUri() string {
	if x != nil {
		return x.SourceUri
	}
	return ""
}

func (x *RagContexts_Context) GetSourceDisplayName() string {
	if x != nil {
		return x.SourceDisplayName
	}
	return ""
}

func (x *RagContexts_Context) GetText() string {
	if x != nil {
		return x.Text
	}
	return ""
}

func (x *RagContexts_Context) GetScore() float64 {
	if x != nil && x.Score != nil {
		return *x.Score
	}
	return 0
}

func (x *RagContexts_Context) GetChunk() *RagChunk {
	if x != nil {
		return x.Chunk
	}
	return nil
}

// Metadata of the backend deployed model.
type AugmentPromptRequest_Model struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The model that the user will send the augmented prompt for
	// content generation.
	Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// Optional. The model version of the backend deployed model.
	ModelVersion  string `protobuf:"bytes,2,opt,name=model_version,json=modelVersion,proto3" json:"model_version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AugmentPromptRequest_Model) Reset() {
	*x = AugmentPromptRequest_Model{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AugmentPromptRequest_Model) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AugmentPromptRequest_Model) ProtoMessage() {}

func (x *AugmentPromptRequest_Model) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[18]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AugmentPromptRequest_Model.ProtoReflect.Descriptor instead.
func (*AugmentPromptRequest_Model) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{4, 0}
}

func (x *AugmentPromptRequest_Model) GetModel() string {
	if x != nil {
		return x.Model
	}
	return ""
}

func (x *AugmentPromptRequest_Model) GetModelVersion() string {
	if x != nil {
		return x.ModelVersion
	}
	return ""
}

// Parameters that can be overrided per request.
type CorroborateContentRequest_Parameters struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Only return claims with citation score larger than the
	// threshold.
	CitationThreshold float64 `protobuf:"fixed64,1,opt,name=citation_threshold,json=citationThreshold,proto3" json:"citation_threshold,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *CorroborateContentRequest_Parameters) Reset() {
	*x = CorroborateContentRequest_Parameters{}
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CorroborateContentRequest_Parameters) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CorroborateContentRequest_Parameters) ProtoMessage() {}

func (x *CorroborateContentRequest_Parameters) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[19]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CorroborateContentRequest_Parameters.ProtoReflect.Descriptor instead.
func (*CorroborateContentRequest_Parameters) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP(), []int{6, 0}
}

func (x *CorroborateContentRequest_Parameters) GetCitationThreshold() float64 {
	if x != nil {
		return x.CitationThreshold
	}
	return 0
}

var File_google_cloud_aiplatform_v1_vertex_rag_service_proto protoreflect.FileDescriptor

const file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDesc = "" +
	"\n" +
	"3google/cloud/aiplatform/v1/vertex_rag_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/content.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a%google/cloud/aiplatform/v1/tool.proto\x1a0google/cloud/aiplatform/v1/vertex_rag_data.proto\x1a#google/longrunning/operations.proto\"\x95\x01\n" +
	"\bRagQuery\x12\x19\n" +
	"\x04text\x18\x01 \x01(\tB\x03\xe0A\x01H\x00R\x04text\x12e\n" +
	"\x14rag_retrieval_config\x18\x06 \x01(\v2..google.cloud.aiplatform.v1.RagRetrievalConfigB\x03\xe0A\x01R\x12ragRetrievalConfigB\a\n" +
	"\x05query\"\x92\x05\n" +
	"\x17RetrieveContextsRequest\x12n\n" +
	"\x10vertex_rag_store\x18\x02 \x01(\v2B.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStoreH\x00R\x0evertexRagStore\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!locations.googleapis.com/LocationR\x06parent\x12?\n" +
	"\x05query\x18\x03 \x01(\v2$.google.cloud.aiplatform.v1.RagQueryB\x03\xe0A\x02R\x05query\x1a\xf3\x02\n" +
	"\x0eVertexRagStore\x12x\n" +
	"\rrag_resources\x18\x03 \x03(\v2N.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResourceB\x03\xe0A\x01R\fragResources\x12F\n" +
	"\x19vector_distance_threshold\x18\x02 \x01(\x01B\x05\xe0A\x01\x18\x01H\x00R\x17vectorDistanceThreshold\x88\x01\x01\x1a\x80\x01\n" +
	"\vRagResource\x12J\n" +
	"\n" +
	"rag_corpus\x18\x01 \x01(\tB+\xe0A\x01\xfaA%\n" +
	"#aiplatform.googleapis.com/RagCorpusR\tragCorpus\x12%\n" +
	"\frag_file_ids\x18\x02 \x03(\tB\x03\xe0A\x01R\n" +
	"ragFileIdsB\x1c\n" +
	"\x1a_vector_distance_thresholdB\r\n" +
	"\vdata_source\"\xaa\x02\n" +
	"\vRagContexts\x12K\n" +
	"\bcontexts\x18\x01 \x03(\v2/.google.cloud.aiplatform.v1.RagContexts.ContextR\bcontexts\x1a\xcd\x01\n" +
	"\aContext\x12\x1d\n" +
	"\n" +
	"source_uri\x18\x01 \x01(\tR\tsourceUri\x12.\n" +
	"\x13source_display_name\x18\x05 \x01(\tR\x11sourceDisplayName\x12\x12\n" +
	"\x04text\x18\x02 \x01(\tR\x04text\x12\x19\n" +
	"\x05score\x18\x06 \x01(\x01H\x00R\x05score\x88\x01\x01\x12:\n" +
	"\x05chunk\x18\a \x01(\v2$.google.cloud.aiplatform.v1.RagChunkR\x05chunkB\b\n" +
	"\x06_score\"_\n" +
	"\x18RetrieveContextsResponse\x12C\n" +
	"\bcontexts\x18\x01 \x01(\v2'.google.cloud.aiplatform.v1.RagContextsR\bcontexts\"\xac\x03\n" +
	"\x14AugmentPromptRequest\x12[\n" +
	"\x10vertex_rag_store\x18\x04 \x01(\v2*.google.cloud.aiplatform.v1.VertexRagStoreB\x03\xe0A\x01H\x00R\x0evertexRagStore\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!locations.googleapis.com/LocationR\x06parent\x12D\n" +
	"\bcontents\x18\x02 \x03(\v2#.google.cloud.aiplatform.v1.ContentB\x03\xe0A\x01R\bcontents\x12Q\n" +
	"\x05model\x18\x03 \x01(\v26.google.cloud.aiplatform.v1.AugmentPromptRequest.ModelB\x03\xe0A\x01R\x05model\x1aL\n" +
	"\x05Model\x12\x19\n" +
	"\x05model\x18\x01 \x01(\tB\x03\xe0A\x01R\x05model\x12(\n" +
	"\rmodel_version\x18\x02 \x01(\tB\x03\xe0A\x01R\fmodelVersionB\r\n" +
	"\vdata_source\"\x9f\x01\n" +
	"\x15AugmentPromptResponse\x12N\n" +
	"\x10augmented_prompt\x18\x01 \x03(\v2#.google.cloud.aiplatform.v1.ContentR\x0faugmentedPrompt\x126\n" +
	"\x05facts\x18\x02 \x03(\v2 .google.cloud.aiplatform.v1.FactR\x05facts\"\x99\x03\n" +
	"\x19CorroborateContentRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!locations.googleapis.com/LocationR\x06parent\x12G\n" +
	"\acontent\x18\x02 \x01(\v2#.google.cloud.aiplatform.v1.ContentB\x03\xe0A\x01H\x00R\acontent\x88\x01\x01\x12;\n" +
	"\x05facts\x18\x03 \x03(\v2 .google.cloud.aiplatform.v1.FactB\x03\xe0A\x01R\x05facts\x12e\n" +
	"\n" +
	"parameters\x18\x04 \x01(\v2@.google.cloud.aiplatform.v1.CorroborateContentRequest.ParametersB\x03\xe0A\x01R\n" +
	"parameters\x1a@\n" +
	"\n" +
	"Parameters\x122\n" +
	"\x12citation_threshold\x18\x01 \x01(\x01B\x03\xe0A\x01R\x11citationThresholdB\n" +
	"\n" +
	"\b_content\"\xa5\x01\n" +
	"\x1aCorroborateContentResponse\x124\n" +
	"\x13corroboration_score\x18\x01 \x01(\x02H\x00R\x12corroborationScore\x88\x01\x01\x129\n" +
	"\x06claims\x18\x02 \x03(\v2!.google.cloud.aiplatform.v1.ClaimR\x06claimsB\x16\n" +
	"\x14_corroboration_score\"\xd0\x02\n" +
	"\x04Fact\x12\x19\n" +
	"\x05query\x18\x01 \x01(\tH\x00R\x05query\x88\x01\x01\x12\x19\n" +
	"\x05title\x18\x02 \x01(\tH\x01R\x05title\x88\x01\x01\x12\x15\n" +
	"\x03uri\x18\x03 \x01(\tH\x02R\x03uri\x88\x01\x01\x12\x1d\n" +
	"\asummary\x18\x04 \x01(\tH\x03R\asummary\x88\x01\x01\x120\n" +
	"\x0fvector_distance\x18\x05 \x01(\x01B\x02\x18\x01H\x04R\x0evectorDistance\x88\x01\x01\x12\x19\n" +
	"\x05score\x18\x06 \x01(\x01H\x05R\x05score\x88\x01\x01\x12?\n" +
	"\x05chunk\x18\a \x01(\v2$.google.cloud.aiplatform.v1.RagChunkH\x06R\x05chunk\x88\x01\x01B\b\n" +
	"\x06_queryB\b\n" +
	"\x06_titleB\x06\n" +
	"\x04_uriB\n" +
	"\n" +
	"\b_summaryB\x12\n" +
	"\x10_vector_distanceB\b\n" +
	"\x06_scoreB\b\n" +
	"\x06_chunk\"\xb5\x01\n" +
	"\x05Claim\x12$\n" +
	"\vstart_index\x18\x01 \x01(\x05H\x00R\n" +
	"startIndex\x88\x01\x01\x12 \n" +
	"\tend_index\x18\x02 \x01(\x05H\x01R\bendIndex\x88\x01\x01\x12!\n" +
	"\ffact_indexes\x18\x03 \x03(\x05R\vfactIndexes\x12\x19\n" +
	"\x05score\x18\x04 \x01(\x02H\x02R\x05score\x88\x01\x01B\x0e\n" +
	"\f_start_indexB\f\n" +
	"\n" +
	"_end_indexB\b\n" +
	"\x06_score\"\xd5\x01\n" +
	"\x12AskContextsRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!locations.googleapis.com/LocationR\x06parent\x12?\n" +
	"\x05query\x18\x02 \x01(\v2$.google.cloud.aiplatform.v1.RagQueryB\x03\xe0A\x02R\x05query\x12;\n" +
	"\x05tools\x18\x03 \x03(\v2 .google.cloud.aiplatform.v1.ToolB\x03\xe0A\x01R\x05tools\"v\n" +
	"\x13AskContextsResponse\x12\x1a\n" +
	"\bresponse\x18\x01 \x01(\tR\bresponse\x12C\n" +
	"\bcontexts\x18\x02 \x01(\v2'.google.cloud.aiplatform.v1.RagContextsR\bcontexts\"\xdf\x01\n" +
	"\x1cAsyncRetrieveContextsRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!locations.googleapis.com/LocationR\x06parent\x12?\n" +
	"\x05query\x18\x02 \x01(\v2$.google.cloud.aiplatform.v1.RagQueryB\x03\xe0A\x02R\x05query\x12;\n" +
	"\x05tools\x18\x03 \x03(\v2 .google.cloud.aiplatform.v1.ToolB\x03\xe0A\x01R\x05tools\"d\n" +
	"\x1dAsyncRetrieveContextsResponse\x12C\n" +
	"\bcontexts\x18\x01 \x01(\v2'.google.cloud.aiplatform.v1.RagContextsR\bcontexts\"\x89\x01\n" +
	"&AsyncRetrieveContextsOperationMetadata\x12_\n" +
	"\x10generic_metadata\x18\x01 \x01(\v24.google.cloud.aiplatform.v1.GenericOperationMetadataR\x0fgenericMetadata2\xb5\t\n" +
	"\x10VertexRagService\x12\xcd\x01\n" +
	"\x10RetrieveContexts\x123.google.cloud.aiplatform.v1.RetrieveContextsRequest\x1a4.google.cloud.aiplatform.v1.RetrieveContextsResponse\"N\xdaA\fparent,query\x82\xd3\xe4\x93\x029:\x01*\"4/v1/{parent=projects/*/locations/*}:retrieveContexts\x12\xd2\x01\n" +
	"\rAugmentPrompt\x120.google.cloud.aiplatform.v1.AugmentPromptRequest\x1a1.google.cloud.aiplatform.v1.AugmentPromptResponse\"\\\xdaA\x1dparent,model,vertex_rag_store\x82\xd3\xe4\x93\x026:\x01*\"1/v1/{parent=projects/*/locations/*}:augmentPrompt\x12\xdd\x01\n" +
	"\x12CorroborateContent\x125.google.cloud.aiplatform.v1.CorroborateContentRequest\x1a6.google.cloud.aiplatform.v1.CorroborateContentResponse\"X\xdaA\x14parent,content,facts\x82\xd3\xe4\x93\x02;:\x01*\"6/v1/{parent=projects/*/locations/*}:corroborateContent\x12\xb9\x01\n" +
	"\vAskContexts\x12..google.cloud.aiplatform.v1.AskContextsRequest\x1a/.google.cloud.aiplatform.v1.AskContextsResponse\"I\xdaA\fparent,query\x82\xd3\xe4\x93\x024:\x01*\"//v1/{parent=projects/*/locations/*}:askContexts\x12\x90\x02\n" +
	"\x15AsyncRetrieveContexts\x128.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\xcaAG\n" +
	"\x1dAsyncRetrieveContextsResponse\x12&AsyncRetrieveContextsOperationMetadata\xdaA\fparent,query\x82\xd3\xe4\x93\x02>:\x01*\"9/v1/{parent=projects/*/locations/*}:asyncRetrieveContexts\x1aM\xcaA\x19aiplatform.googleapis.com\xd2A.https://www.googleapis.com/auth/cloud-platformB\xd3\x01\n" +
	"\x1ecom.google.cloud.aiplatform.v1B\x15VertexRagServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"

var (
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescOnce sync.Once
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescData []byte
)

func file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescGZIP() []byte {
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescOnce.Do(func() {
		file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDesc), len(file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDesc)))
	})
	return file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDescData
}

var file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
var file_google_cloud_aiplatform_v1_vertex_rag_service_proto_goTypes = []any{
	(*RagQuery)(nil),                                           // 0: google.cloud.aiplatform.v1.RagQuery
	(*RetrieveContextsRequest)(nil),                            // 1: google.cloud.aiplatform.v1.RetrieveContextsRequest
	(*RagContexts)(nil),                                        // 2: google.cloud.aiplatform.v1.RagContexts
	(*RetrieveContextsResponse)(nil),                           // 3: google.cloud.aiplatform.v1.RetrieveContextsResponse
	(*AugmentPromptRequest)(nil),                               // 4: google.cloud.aiplatform.v1.AugmentPromptRequest
	(*AugmentPromptResponse)(nil),                              // 5: google.cloud.aiplatform.v1.AugmentPromptResponse
	(*CorroborateContentRequest)(nil),                          // 6: google.cloud.aiplatform.v1.CorroborateContentRequest
	(*CorroborateContentResponse)(nil),                         // 7: google.cloud.aiplatform.v1.CorroborateContentResponse
	(*Fact)(nil),                                               // 8: google.cloud.aiplatform.v1.Fact
	(*Claim)(nil),                                              // 9: google.cloud.aiplatform.v1.Claim
	(*AskContextsRequest)(nil),                                 // 10: google.cloud.aiplatform.v1.AskContextsRequest
	(*AskContextsResponse)(nil),                                // 11: google.cloud.aiplatform.v1.AskContextsResponse
	(*AsyncRetrieveContextsRequest)(nil),                       // 12: google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest
	(*AsyncRetrieveContextsResponse)(nil),                      // 13: google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse
	(*AsyncRetrieveContextsOperationMetadata)(nil),             // 14: google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata
	(*RetrieveContextsRequest_VertexRagStore)(nil),             // 15: google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore
	(*RetrieveContextsRequest_VertexRagStore_RagResource)(nil), // 16: google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource
	(*RagContexts_Context)(nil),                                // 17: google.cloud.aiplatform.v1.RagContexts.Context
	(*AugmentPromptRequest_Model)(nil),                         // 18: google.cloud.aiplatform.v1.AugmentPromptRequest.Model
	(*CorroborateContentRequest_Parameters)(nil),               // 19: google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters
	(*RagRetrievalConfig)(nil),                                 // 20: google.cloud.aiplatform.v1.RagRetrievalConfig
	(*VertexRagStore)(nil),                                     // 21: google.cloud.aiplatform.v1.VertexRagStore
	(*Content)(nil),                                            // 22: google.cloud.aiplatform.v1.Content
	(*RagChunk)(nil),                                           // 23: google.cloud.aiplatform.v1.RagChunk
	(*Tool)(nil),                                               // 24: google.cloud.aiplatform.v1.Tool
	(*GenericOperationMetadata)(nil),                           // 25: google.cloud.aiplatform.v1.GenericOperationMetadata
	(*longrunningpb.Operation)(nil),                            // 26: google.longrunning.Operation
}
var file_google_cloud_aiplatform_v1_vertex_rag_service_proto_depIdxs = []int32{
	20, // 0: google.cloud.aiplatform.v1.RagQuery.rag_retrieval_config:type_name -> google.cloud.aiplatform.v1.RagRetrievalConfig
	15, // 1: google.cloud.aiplatform.v1.RetrieveContextsRequest.vertex_rag_store:type_name -> google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore
	0,  // 2: google.cloud.aiplatform.v1.RetrieveContextsRequest.query:type_name -> google.cloud.aiplatform.v1.RagQuery
	17, // 3: google.cloud.aiplatform.v1.RagContexts.contexts:type_name -> google.cloud.aiplatform.v1.RagContexts.Context
	2,  // 4: google.cloud.aiplatform.v1.RetrieveContextsResponse.contexts:type_name -> google.cloud.aiplatform.v1.RagContexts
	21, // 5: google.cloud.aiplatform.v1.AugmentPromptRequest.vertex_rag_store:type_name -> google.cloud.aiplatform.v1.VertexRagStore
	22, // 6: google.cloud.aiplatform.v1.AugmentPromptRequest.contents:type_name -> google.cloud.aiplatform.v1.Content
	18, // 7: google.cloud.aiplatform.v1.AugmentPromptRequest.model:type_name -> google.cloud.aiplatform.v1.AugmentPromptRequest.Model
	22, // 8: google.cloud.aiplatform.v1.AugmentPromptResponse.augmented_prompt:type_name -> google.cloud.aiplatform.v1.Content
	8,  // 9: google.cloud.aiplatform.v1.AugmentPromptResponse.facts:type_name -> google.cloud.aiplatform.v1.Fact
	22, // 10: google.cloud.aiplatform.v1.CorroborateContentRequest.content:type_name -> google.cloud.aiplatform.v1.Content
	8,  // 11: google.cloud.aiplatform.v1.CorroborateContentRequest.facts:type_name -> google.cloud.aiplatform.v1.Fact
	19, // 12: google.cloud.aiplatform.v1.CorroborateContentRequest.parameters:type_name -> google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters
	9,  // 13: google.cloud.aiplatform.v1.CorroborateContentResponse.claims:type_name -> google.cloud.aiplatform.v1.Claim
	23, // 14: google.cloud.aiplatform.v1.Fact.chunk:type_name -> google.cloud.aiplatform.v1.RagChunk
	0,  // 15: google.cloud.aiplatform.v1.AskContextsRequest.query:type_name -> google.cloud.aiplatform.v1.RagQuery
	24, // 16: google.cloud.aiplatform.v1.AskContextsRequest.tools:type_name -> google.cloud.aiplatform.v1.Tool
	2,  // 17: google.cloud.aiplatform.v1.AskContextsResponse.contexts:type_name -> google.cloud.aiplatform.v1.RagContexts
	0,  // 18: google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest.query:type_name -> google.cloud.aiplatform.v1.RagQuery
	24, // 19: google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest.tools:type_name -> google.cloud.aiplatform.v1.Tool
	2,  // 20: google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse.contexts:type_name -> google.cloud.aiplatform.v1.RagContexts
	25, // 21: google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata.generic_metadata:type_name -> google.cloud.aiplatform.v1.GenericOperationMetadata
	16, // 22: google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.rag_resources:type_name -> google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource
	23, // 23: google.cloud.aiplatform.v1.RagContexts.Context.chunk:type_name -> google.cloud.aiplatform.v1.RagChunk
	1,  // 24: google.cloud.aiplatform.v1.VertexRagService.RetrieveContexts:input_type -> google.cloud.aiplatform.v1.RetrieveContextsRequest
	4,  // 25: google.cloud.aiplatform.v1.VertexRagService.AugmentPrompt:input_type -> google.cloud.aiplatform.v1.AugmentPromptRequest
	6,  // 26: google.cloud.aiplatform.v1.VertexRagService.CorroborateContent:input_type -> google.cloud.aiplatform.v1.CorroborateContentRequest
	10, // 27: google.cloud.aiplatform.v1.VertexRagService.AskContexts:input_type -> google.cloud.aiplatform.v1.AskContextsRequest
	12, // 28: google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts:input_type -> google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest
	3,  // 29: google.cloud.aiplatform.v1.VertexRagService.RetrieveContexts:output_type -> google.cloud.aiplatform.v1.RetrieveContextsResponse
	5,  // 30: google.cloud.aiplatform.v1.VertexRagService.AugmentPrompt:output_type -> google.cloud.aiplatform.v1.AugmentPromptResponse
	7,  // 31: google.cloud.aiplatform.v1.VertexRagService.CorroborateContent:output_type -> google.cloud.aiplatform.v1.CorroborateContentResponse
	11, // 32: google.cloud.aiplatform.v1.VertexRagService.AskContexts:output_type -> google.cloud.aiplatform.v1.AskContextsResponse
	26, // 33: google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts:output_type -> google.longrunning.Operation
	29, // [29:34] is the sub-list for method output_type
	24, // [24:29] is the sub-list for method input_type
	24, // [24:24] is the sub-list for extension type_name
	24, // [24:24] is the sub-list for extension extendee
	0,  // [0:24] is the sub-list for field type_name
}

func init() { file_google_cloud_aiplatform_v1_vertex_rag_service_proto_init() }
func file_google_cloud_aiplatform_v1_vertex_rag_service_proto_init() {
	if File_google_cloud_aiplatform_v1_vertex_rag_service_proto != nil {
		return
	}
	file_google_cloud_aiplatform_v1_content_proto_init()
	file_google_cloud_aiplatform_v1_operation_proto_init()
	file_google_cloud_aiplatform_v1_tool_proto_init()
	file_google_cloud_aiplatform_v1_vertex_rag_data_proto_init()
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[0].OneofWrappers = []any{
		(*RagQuery_Text)(nil),
	}
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[1].OneofWrappers = []any{
		(*RetrieveContextsRequest_VertexRagStore_)(nil),
	}
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[4].OneofWrappers = []any{
		(*AugmentPromptRequest_VertexRagStore)(nil),
	}
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[6].OneofWrappers = []any{}
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[7].OneofWrappers = []any{}
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[8].OneofWrappers = []any{}
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[9].OneofWrappers = []any{}
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[15].OneofWrappers = []any{}
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes[17].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDesc), len(file_google_cloud_aiplatform_v1_vertex_rag_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   20,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_aiplatform_v1_vertex_rag_service_proto_goTypes,
		DependencyIndexes: file_google_cloud_aiplatform_v1_vertex_rag_service_proto_depIdxs,
		MessageInfos:      file_google_cloud_aiplatform_v1_vertex_rag_service_proto_msgTypes,
	}.Build()
	File_google_cloud_aiplatform_v1_vertex_rag_service_proto = out.File
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_goTypes = nil
	file_google_cloud_aiplatform_v1_vertex_rag_service_proto_depIdxs = nil
}
