// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        (unknown)
// source: agent/v1/service.proto

package agentv1

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

	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"

	v1 "github.com/runmedev/runme/v3/api/gen/proto/go/runme/parser/v1"
)

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)
)

type GenerateRequest struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	Cells              []*v1.Cell             `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
	PreviousResponseId string                 `protobuf:"bytes,2,opt,name=previous_response_id,json=previousResponseId,proto3" json:"previous_response_id,omitempty"`
	// openai_access_token is the OpenAI access token to use when contacting the OpenAI API.
	OpenaiAccessToken string `protobuf:"bytes,3,opt,name=openai_access_token,json=openaiAccessToken,proto3" json:"openai_access_token,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*GenerateRequest) ProtoMessage() {}

func (x *GenerateRequest) ProtoReflect() protoreflect.Message {
	mi := &file_agent_v1_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 GenerateRequest.ProtoReflect.Descriptor instead.
func (*GenerateRequest) Descriptor() ([]byte, []int) {
	return file_agent_v1_service_proto_rawDescGZIP(), []int{0}
}

func (x *GenerateRequest) GetCells() []*v1.Cell {
	if x != nil {
		return x.Cells
	}
	return nil
}

func (x *GenerateRequest) GetPreviousResponseId() string {
	if x != nil {
		return x.PreviousResponseId
	}
	return ""
}

func (x *GenerateRequest) GetOpenaiAccessToken() string {
	if x != nil {
		return x.OpenaiAccessToken
	}
	return ""
}

type GenerateResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Cells         []*v1.Cell             `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
	ResponseId    string                 `protobuf:"bytes,2,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GenerateResponse) ProtoMessage() {}

func (x *GenerateResponse) ProtoReflect() protoreflect.Message {
	mi := &file_agent_v1_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 GenerateResponse.ProtoReflect.Descriptor instead.
func (*GenerateResponse) Descriptor() ([]byte, []int) {
	return file_agent_v1_service_proto_rawDescGZIP(), []int{1}
}

func (x *GenerateResponse) GetCells() []*v1.Cell {
	if x != nil {
		return x.Cells
	}
	return nil
}

func (x *GenerateResponse) GetResponseId() string {
	if x != nil {
		return x.ResponseId
	}
	return ""
}

var File_agent_v1_service_proto protoreflect.FileDescriptor

const file_agent_v1_service_proto_rawDesc = "" +
	"\n" +
	"\x16agent/v1/service.proto\x12\bagent.v1\x1a\x1crunme/parser/v1/parser.proto\"\xa0\x01\n" +
	"\x0fGenerateRequest\x12+\n" +
	"\x05cells\x18\x01 \x03(\v2\x15.runme.parser.v1.CellR\x05cells\x120\n" +
	"\x14previous_response_id\x18\x02 \x01(\tR\x12previousResponseId\x12.\n" +
	"\x13openai_access_token\x18\x03 \x01(\tR\x11openaiAccessToken\"`\n" +
	"\x10GenerateResponse\x12+\n" +
	"\x05cells\x18\x01 \x03(\v2\x15.runme.parser.v1.CellR\x05cells\x12\x1f\n" +
	"\vresponse_id\x18\x02 \x01(\tR\n" +
	"responseId2X\n" +
	"\x0fMessagesService\x12E\n" +
	"\bGenerate\x12\x19.agent.v1.GenerateRequest\x1a\x1a.agent.v1.GenerateResponse\"\x000\x01B@Z>github.com/runmedev/runme/v3/api/gen/proto/go/agent/v1;agentv1b\x06proto3"

var (
	file_agent_v1_service_proto_rawDescOnce sync.Once
	file_agent_v1_service_proto_rawDescData []byte
)

func file_agent_v1_service_proto_rawDescGZIP() []byte {
	file_agent_v1_service_proto_rawDescOnce.Do(func() {
		file_agent_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_agent_v1_service_proto_rawDesc), len(file_agent_v1_service_proto_rawDesc)))
	})
	return file_agent_v1_service_proto_rawDescData
}

var file_agent_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_agent_v1_service_proto_goTypes = []any{
	(*GenerateRequest)(nil),  // 0: agent.v1.GenerateRequest
	(*GenerateResponse)(nil), // 1: agent.v1.GenerateResponse
	(*v1.Cell)(nil),          // 2: runme.parser.v1.Cell
}
var file_agent_v1_service_proto_depIdxs = []int32{
	2, // 0: agent.v1.GenerateRequest.cells:type_name -> runme.parser.v1.Cell
	2, // 1: agent.v1.GenerateResponse.cells:type_name -> runme.parser.v1.Cell
	0, // 2: agent.v1.MessagesService.Generate:input_type -> agent.v1.GenerateRequest
	1, // 3: agent.v1.MessagesService.Generate:output_type -> agent.v1.GenerateResponse
	3, // [3:4] is the sub-list for method output_type
	2, // [2:3] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_agent_v1_service_proto_init() }
func file_agent_v1_service_proto_init() {
	if File_agent_v1_service_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_agent_v1_service_proto_rawDesc), len(file_agent_v1_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_agent_v1_service_proto_goTypes,
		DependencyIndexes: file_agent_v1_service_proto_depIdxs,
		MessageInfos:      file_agent_v1_service_proto_msgTypes,
	}.Build()
	File_agent_v1_service_proto = out.File
	file_agent_v1_service_proto_goTypes = nil
	file_agent_v1_service_proto_depIdxs = nil
}
