// 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/session.proto

package aiplatformpb

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

	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	structpb "google.golang.org/protobuf/types/known/structpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

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 session contains a set of actions between users and Vertex agents.
type Session struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The expiration of the session.
	//
	// Types that are valid to be assigned to Expiration:
	//
	//	*Session_ExpireTime
	//	*Session_Ttl
	Expiration isSession_Expiration `protobuf_oneof:"expiration"`
	// Identifier. The resource name of the session.
	// Format:
	// 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Timestamp when the session was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Timestamp when the session was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The display name of the session.
	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The labels with user-defined metadata to organize your Sessions.
	//
	// Label keys and values can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Optional. Session specific memory which stores key conversation points.
	SessionState *structpb.Struct `protobuf:"bytes,10,opt,name=session_state,json=sessionState,proto3" json:"session_state,omitempty"`
	// Required. Immutable. String id provided by the user
	UserId        string `protobuf:"bytes,12,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Session) ProtoMessage() {}

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

func (x *Session) GetExpiration() isSession_Expiration {
	if x != nil {
		return x.Expiration
	}
	return nil
}

func (x *Session) GetExpireTime() *timestamppb.Timestamp {
	if x != nil {
		if x, ok := x.Expiration.(*Session_ExpireTime); ok {
			return x.ExpireTime
		}
	}
	return nil
}

func (x *Session) GetTtl() *durationpb.Duration {
	if x != nil {
		if x, ok := x.Expiration.(*Session_Ttl); ok {
			return x.Ttl
		}
	}
	return nil
}

func (x *Session) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Session) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *Session) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

func (x *Session) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

func (x *Session) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *Session) GetSessionState() *structpb.Struct {
	if x != nil {
		return x.SessionState
	}
	return nil
}

func (x *Session) GetUserId() string {
	if x != nil {
		return x.UserId
	}
	return ""
}

type isSession_Expiration interface {
	isSession_Expiration()
}

type Session_ExpireTime struct {
	// Optional. Timestamp of when this session is considered expired.
	// This is *always* provided on output, regardless of what was sent
	// on input.
	// The minimum value is 24 hours from the time of creation.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=expire_time,json=expireTime,proto3,oneof"`
}

type Session_Ttl struct {
	// Optional. Input only. The TTL for this session.
	// The minimum value is 24 hours.
	Ttl *durationpb.Duration `protobuf:"bytes,14,opt,name=ttl,proto3,oneof"`
}

func (*Session_ExpireTime) isSession_Expiration() {}

func (*Session_Ttl) isSession_Expiration() {}

// An event represents a message from either the user or agent.
type SessionEvent struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Identifier. The resource name of the event.
	// Format:`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The name of the agent that sent the event, or user.
	Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
	// Optional. Content of the event provided by the author.
	Content *Content `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// Required. The invocation id of the event, multiple events can have the same
	// invocation id.
	InvocationId string `protobuf:"bytes,5,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
	// Optional. Actions executed by the agent.
	Actions *EventActions `protobuf:"bytes,6,opt,name=actions,proto3" json:"actions,omitempty"`
	// Required. Timestamp when the event was created on client side.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Optional. Error code if the response is an error. Code varies by model.
	ErrorCode string `protobuf:"bytes,9,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// Optional. Error message if the response is an error.
	ErrorMessage string `protobuf:"bytes,10,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// Optional. Metadata relating to this event.
	EventMetadata *EventMetadata `protobuf:"bytes,11,opt,name=event_metadata,json=eventMetadata,proto3" json:"event_metadata,omitempty"`
	// Optional. Weakly typed raw event data in proto struct format.
	RawEvent      *structpb.Struct `protobuf:"bytes,12,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SessionEvent) ProtoMessage() {}

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

func (x *SessionEvent) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *SessionEvent) GetAuthor() string {
	if x != nil {
		return x.Author
	}
	return ""
}

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

func (x *SessionEvent) GetInvocationId() string {
	if x != nil {
		return x.InvocationId
	}
	return ""
}

func (x *SessionEvent) GetActions() *EventActions {
	if x != nil {
		return x.Actions
	}
	return nil
}

func (x *SessionEvent) GetTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.Timestamp
	}
	return nil
}

func (x *SessionEvent) GetErrorCode() string {
	if x != nil {
		return x.ErrorCode
	}
	return ""
}

func (x *SessionEvent) GetErrorMessage() string {
	if x != nil {
		return x.ErrorMessage
	}
	return ""
}

func (x *SessionEvent) GetEventMetadata() *EventMetadata {
	if x != nil {
		return x.EventMetadata
	}
	return nil
}

func (x *SessionEvent) GetRawEvent() *structpb.Struct {
	if x != nil {
		return x.RawEvent
	}
	return nil
}

// Metadata relating to a LLM response event.
type EventMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Metadata returned to client when grounding is enabled.
	GroundingMetadata *GroundingMetadata `protobuf:"bytes,1,opt,name=grounding_metadata,json=groundingMetadata,proto3" json:"grounding_metadata,omitempty"`
	// Optional. Indicates whether the text content is part of a unfinished text
	// stream. Only used for streaming mode and when the content is plain text.
	Partial bool `protobuf:"varint,2,opt,name=partial,proto3" json:"partial,omitempty"`
	// Optional. Indicates whether the response from the model is complete.
	// Only used for streaming mode.
	TurnComplete bool `protobuf:"varint,3,opt,name=turn_complete,json=turnComplete,proto3" json:"turn_complete,omitempty"`
	// Optional. Flag indicating that LLM was interrupted when generating the
	// content. Usually it's due to user interruption during a bidi streaming.
	Interrupted bool `protobuf:"varint,4,opt,name=interrupted,proto3" json:"interrupted,omitempty"`
	// Optional. Set of ids of the long running function calls.
	// Agent client will know from this field about which function call is long
	// running. Only valid for function call event.
	LongRunningToolIds []string `protobuf:"bytes,5,rep,name=long_running_tool_ids,json=longRunningToolIds,proto3" json:"long_running_tool_ids,omitempty"`
	// Optional. The branch of the event.
	// The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of
	// agent_2, and agent_2 is the parent of agent_3.
	// Branch is used when multiple child agents shouldn't see their siblings'
	// conversation history.
	Branch string `protobuf:"bytes,6,opt,name=branch,proto3" json:"branch,omitempty"`
	// The custom metadata of the LlmResponse.
	CustomMetadata *structpb.Struct `protobuf:"bytes,7,opt,name=custom_metadata,json=customMetadata,proto3" json:"custom_metadata,omitempty"`
	// Optional. Audio transcription of user input.
	InputTranscription *Transcription `protobuf:"bytes,10,opt,name=input_transcription,json=inputTranscription,proto3" json:"input_transcription,omitempty"`
	// Optional. Audio transcription of model output.
	OutputTranscription *Transcription `protobuf:"bytes,11,opt,name=output_transcription,json=outputTranscription,proto3" json:"output_transcription,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

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

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

func (*EventMetadata) ProtoMessage() {}

func (x *EventMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_session_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 EventMetadata.ProtoReflect.Descriptor instead.
func (*EventMetadata) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_session_proto_rawDescGZIP(), []int{2}
}

func (x *EventMetadata) GetGroundingMetadata() *GroundingMetadata {
	if x != nil {
		return x.GroundingMetadata
	}
	return nil
}

func (x *EventMetadata) GetPartial() bool {
	if x != nil {
		return x.Partial
	}
	return false
}

func (x *EventMetadata) GetTurnComplete() bool {
	if x != nil {
		return x.TurnComplete
	}
	return false
}

func (x *EventMetadata) GetInterrupted() bool {
	if x != nil {
		return x.Interrupted
	}
	return false
}

func (x *EventMetadata) GetLongRunningToolIds() []string {
	if x != nil {
		return x.LongRunningToolIds
	}
	return nil
}

func (x *EventMetadata) GetBranch() string {
	if x != nil {
		return x.Branch
	}
	return ""
}

func (x *EventMetadata) GetCustomMetadata() *structpb.Struct {
	if x != nil {
		return x.CustomMetadata
	}
	return nil
}

func (x *EventMetadata) GetInputTranscription() *Transcription {
	if x != nil {
		return x.InputTranscription
	}
	return nil
}

func (x *EventMetadata) GetOutputTranscription() *Transcription {
	if x != nil {
		return x.OutputTranscription
	}
	return nil
}

// Actions are parts of events that are executed by the agent.
type EventActions struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. If true, it won't call model to summarize function response.
	// Only used for function_response event.
	SkipSummarization bool `protobuf:"varint,1,opt,name=skip_summarization,json=skipSummarization,proto3" json:"skip_summarization,omitempty"`
	// Optional. Indicates that the event is updating the state with the given
	// delta.
	StateDelta *structpb.Struct `protobuf:"bytes,2,opt,name=state_delta,json=stateDelta,proto3" json:"state_delta,omitempty"`
	// Optional. Indicates that the event is updating an artifact. key is the
	// filename, value is the version.
	ArtifactDelta map[string]int32 `protobuf:"bytes,3,rep,name=artifact_delta,json=artifactDelta,proto3" json:"artifact_delta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	// Optional. The agent is escalating to a higher level agent.
	Escalate bool `protobuf:"varint,6,opt,name=escalate,proto3" json:"escalate,omitempty"`
	// Optional. Will only be set by a tool response indicating tool request euc.
	// Struct key is the function call id since one function call response (from
	// model) could correspond to multiple function calls. Struct value is the
	// required auth config, which can be another struct.
	RequestedAuthConfigs *structpb.Struct `protobuf:"bytes,7,opt,name=requested_auth_configs,json=requestedAuthConfigs,proto3" json:"requested_auth_configs,omitempty"`
	// Optional. If set, the event transfers to the specified agent.
	TransferAgent string `protobuf:"bytes,8,opt,name=transfer_agent,json=transferAgent,proto3" json:"transfer_agent,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EventActions) ProtoMessage() {}

func (x *EventActions) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_session_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 EventActions.ProtoReflect.Descriptor instead.
func (*EventActions) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_session_proto_rawDescGZIP(), []int{3}
}

func (x *EventActions) GetSkipSummarization() bool {
	if x != nil {
		return x.SkipSummarization
	}
	return false
}

func (x *EventActions) GetStateDelta() *structpb.Struct {
	if x != nil {
		return x.StateDelta
	}
	return nil
}

func (x *EventActions) GetArtifactDelta() map[string]int32 {
	if x != nil {
		return x.ArtifactDelta
	}
	return nil
}

func (x *EventActions) GetEscalate() bool {
	if x != nil {
		return x.Escalate
	}
	return false
}

func (x *EventActions) GetRequestedAuthConfigs() *structpb.Struct {
	if x != nil {
		return x.RequestedAuthConfigs
	}
	return nil
}

func (x *EventActions) GetTransferAgent() string {
	if x != nil {
		return x.TransferAgent
	}
	return ""
}

// Audio transcription in Server Content.
type Transcription struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Transcription text.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Optional. The bool indicates the end of the transcription.
	Finished      bool `protobuf:"varint,2,opt,name=finished,proto3" json:"finished,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Transcription) ProtoMessage() {}

func (x *Transcription) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_aiplatform_v1_session_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 Transcription.ProtoReflect.Descriptor instead.
func (*Transcription) Descriptor() ([]byte, []int) {
	return file_google_cloud_aiplatform_v1_session_proto_rawDescGZIP(), []int{4}
}

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

func (x *Transcription) GetFinished() bool {
	if x != nil {
		return x.Finished
	}
	return false
}

var File_google_cloud_aiplatform_v1_session_proto protoreflect.FileDescriptor

const file_google_cloud_aiplatform_v1_session_proto_rawDesc = "" +
	"\n" +
	"(google/cloud/aiplatform/v1/session.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/content.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdc\x05\n" +
	"\aSession\x12B\n" +
	"\vexpire_time\x18\r \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x01H\x00R\n" +
	"expireTime\x125\n" +
	"\x03ttl\x18\x0e \x01(\v2\x19.google.protobuf.DurationB\x06\xe0A\x01\xe0A\x04H\x00R\x03ttl\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\bR\x04name\x12@\n" +
	"\vcreate_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12@\n" +
	"\vupdate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\x12&\n" +
	"\fdisplay_name\x18\x05 \x01(\tB\x03\xe0A\x01R\vdisplayName\x12G\n" +
	"\x06labels\x18\b \x03(\v2/.google.cloud.aiplatform.v1.Session.LabelsEntryR\x06labels\x12A\n" +
	"\rsession_state\x18\n" +
	" \x01(\v2\x17.google.protobuf.StructB\x03\xe0A\x01R\fsessionState\x12\x1f\n" +
	"\auser_id\x18\f \x01(\tB\x06\xe0A\x05\xe0A\x02R\x06userId\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01:\x9a\x01\xeaA\x96\x01\n" +
	"!aiplatform.googleapis.com/Session\x12^projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}*\bsessions2\asessionB\f\n" +
	"\n" +
	"expiration\"\xd5\x05\n" +
	"\fSessionEvent\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\bR\x04name\x12\x1b\n" +
	"\x06author\x18\x03 \x01(\tB\x03\xe0A\x02R\x06author\x12B\n" +
	"\acontent\x18\x04 \x01(\v2#.google.cloud.aiplatform.v1.ContentB\x03\xe0A\x01R\acontent\x12(\n" +
	"\rinvocation_id\x18\x05 \x01(\tB\x03\xe0A\x02R\finvocationId\x12G\n" +
	"\aactions\x18\x06 \x01(\v2(.google.cloud.aiplatform.v1.EventActionsB\x03\xe0A\x01R\aactions\x12=\n" +
	"\ttimestamp\x18\b \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x02R\ttimestamp\x12\"\n" +
	"\n" +
	"error_code\x18\t \x01(\tB\x03\xe0A\x01R\terrorCode\x12(\n" +
	"\rerror_message\x18\n" +
	" \x01(\tB\x03\xe0A\x01R\ferrorMessage\x12U\n" +
	"\x0eevent_metadata\x18\v \x01(\v2).google.cloud.aiplatform.v1.EventMetadataB\x03\xe0A\x01R\reventMetadata\x129\n" +
	"\traw_event\x18\f \x01(\v2\x17.google.protobuf.StructB\x03\xe0A\x01R\brawEvent:\xb8\x01\xeaA\xb4\x01\n" +
	"&aiplatform.googleapis.com/SessionEvent\x12mprojects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}*\rsessionEvents2\fsessionEvent\"\xbd\x04\n" +
	"\rEventMetadata\x12a\n" +
	"\x12grounding_metadata\x18\x01 \x01(\v2-.google.cloud.aiplatform.v1.GroundingMetadataB\x03\xe0A\x01R\x11groundingMetadata\x12\x1d\n" +
	"\apartial\x18\x02 \x01(\bB\x03\xe0A\x01R\apartial\x12(\n" +
	"\rturn_complete\x18\x03 \x01(\bB\x03\xe0A\x01R\fturnComplete\x12%\n" +
	"\vinterrupted\x18\x04 \x01(\bB\x03\xe0A\x01R\vinterrupted\x126\n" +
	"\x15long_running_tool_ids\x18\x05 \x03(\tB\x03\xe0A\x01R\x12longRunningToolIds\x12\x1b\n" +
	"\x06branch\x18\x06 \x01(\tB\x03\xe0A\x01R\x06branch\x12@\n" +
	"\x0fcustom_metadata\x18\a \x01(\v2\x17.google.protobuf.StructR\x0ecustomMetadata\x12_\n" +
	"\x13input_transcription\x18\n" +
	" \x01(\v2).google.cloud.aiplatform.v1.TranscriptionB\x03\xe0A\x01R\x12inputTranscription\x12a\n" +
	"\x14output_transcription\x18\v \x01(\v2).google.cloud.aiplatform.v1.TranscriptionB\x03\xe0A\x01R\x13outputTranscription\"\xcd\x03\n" +
	"\fEventActions\x122\n" +
	"\x12skip_summarization\x18\x01 \x01(\bB\x03\xe0A\x01R\x11skipSummarization\x12=\n" +
	"\vstate_delta\x18\x02 \x01(\v2\x17.google.protobuf.StructB\x03\xe0A\x01R\n" +
	"stateDelta\x12g\n" +
	"\x0eartifact_delta\x18\x03 \x03(\v2;.google.cloud.aiplatform.v1.EventActions.ArtifactDeltaEntryB\x03\xe0A\x01R\rartifactDelta\x12\x1f\n" +
	"\bescalate\x18\x06 \x01(\bB\x03\xe0A\x01R\bescalate\x12R\n" +
	"\x16requested_auth_configs\x18\a \x01(\v2\x17.google.protobuf.StructB\x03\xe0A\x01R\x14requestedAuthConfigs\x12*\n" +
	"\x0etransfer_agent\x18\b \x01(\tB\x03\xe0A\x01R\rtransferAgent\x1a@\n" +
	"\x12ArtifactDeltaEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"I\n" +
	"\rTranscription\x12\x17\n" +
	"\x04text\x18\x01 \x01(\tB\x03\xe0A\x01R\x04text\x12\x1f\n" +
	"\bfinished\x18\x02 \x01(\bB\x03\xe0A\x01R\bfinishedB\xca\x01\n" +
	"\x1ecom.google.cloud.aiplatform.v1B\fSessionProtoP\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_session_proto_rawDescOnce sync.Once
	file_google_cloud_aiplatform_v1_session_proto_rawDescData []byte
)

func file_google_cloud_aiplatform_v1_session_proto_rawDescGZIP() []byte {
	file_google_cloud_aiplatform_v1_session_proto_rawDescOnce.Do(func() {
		file_google_cloud_aiplatform_v1_session_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_session_proto_rawDesc), len(file_google_cloud_aiplatform_v1_session_proto_rawDesc)))
	})
	return file_google_cloud_aiplatform_v1_session_proto_rawDescData
}

var file_google_cloud_aiplatform_v1_session_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_google_cloud_aiplatform_v1_session_proto_goTypes = []any{
	(*Session)(nil),               // 0: google.cloud.aiplatform.v1.Session
	(*SessionEvent)(nil),          // 1: google.cloud.aiplatform.v1.SessionEvent
	(*EventMetadata)(nil),         // 2: google.cloud.aiplatform.v1.EventMetadata
	(*EventActions)(nil),          // 3: google.cloud.aiplatform.v1.EventActions
	(*Transcription)(nil),         // 4: google.cloud.aiplatform.v1.Transcription
	nil,                           // 5: google.cloud.aiplatform.v1.Session.LabelsEntry
	nil,                           // 6: google.cloud.aiplatform.v1.EventActions.ArtifactDeltaEntry
	(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
	(*durationpb.Duration)(nil),   // 8: google.protobuf.Duration
	(*structpb.Struct)(nil),       // 9: google.protobuf.Struct
	(*Content)(nil),               // 10: google.cloud.aiplatform.v1.Content
	(*GroundingMetadata)(nil),     // 11: google.cloud.aiplatform.v1.GroundingMetadata
}
var file_google_cloud_aiplatform_v1_session_proto_depIdxs = []int32{
	7,  // 0: google.cloud.aiplatform.v1.Session.expire_time:type_name -> google.protobuf.Timestamp
	8,  // 1: google.cloud.aiplatform.v1.Session.ttl:type_name -> google.protobuf.Duration
	7,  // 2: google.cloud.aiplatform.v1.Session.create_time:type_name -> google.protobuf.Timestamp
	7,  // 3: google.cloud.aiplatform.v1.Session.update_time:type_name -> google.protobuf.Timestamp
	5,  // 4: google.cloud.aiplatform.v1.Session.labels:type_name -> google.cloud.aiplatform.v1.Session.LabelsEntry
	9,  // 5: google.cloud.aiplatform.v1.Session.session_state:type_name -> google.protobuf.Struct
	10, // 6: google.cloud.aiplatform.v1.SessionEvent.content:type_name -> google.cloud.aiplatform.v1.Content
	3,  // 7: google.cloud.aiplatform.v1.SessionEvent.actions:type_name -> google.cloud.aiplatform.v1.EventActions
	7,  // 8: google.cloud.aiplatform.v1.SessionEvent.timestamp:type_name -> google.protobuf.Timestamp
	2,  // 9: google.cloud.aiplatform.v1.SessionEvent.event_metadata:type_name -> google.cloud.aiplatform.v1.EventMetadata
	9,  // 10: google.cloud.aiplatform.v1.SessionEvent.raw_event:type_name -> google.protobuf.Struct
	11, // 11: google.cloud.aiplatform.v1.EventMetadata.grounding_metadata:type_name -> google.cloud.aiplatform.v1.GroundingMetadata
	9,  // 12: google.cloud.aiplatform.v1.EventMetadata.custom_metadata:type_name -> google.protobuf.Struct
	4,  // 13: google.cloud.aiplatform.v1.EventMetadata.input_transcription:type_name -> google.cloud.aiplatform.v1.Transcription
	4,  // 14: google.cloud.aiplatform.v1.EventMetadata.output_transcription:type_name -> google.cloud.aiplatform.v1.Transcription
	9,  // 15: google.cloud.aiplatform.v1.EventActions.state_delta:type_name -> google.protobuf.Struct
	6,  // 16: google.cloud.aiplatform.v1.EventActions.artifact_delta:type_name -> google.cloud.aiplatform.v1.EventActions.ArtifactDeltaEntry
	9,  // 17: google.cloud.aiplatform.v1.EventActions.requested_auth_configs:type_name -> google.protobuf.Struct
	18, // [18:18] is the sub-list for method output_type
	18, // [18:18] is the sub-list for method input_type
	18, // [18:18] is the sub-list for extension type_name
	18, // [18:18] is the sub-list for extension extendee
	0,  // [0:18] is the sub-list for field type_name
}

func init() { file_google_cloud_aiplatform_v1_session_proto_init() }
func file_google_cloud_aiplatform_v1_session_proto_init() {
	if File_google_cloud_aiplatform_v1_session_proto != nil {
		return
	}
	file_google_cloud_aiplatform_v1_content_proto_init()
	file_google_cloud_aiplatform_v1_session_proto_msgTypes[0].OneofWrappers = []any{
		(*Session_ExpireTime)(nil),
		(*Session_Ttl)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_session_proto_rawDesc), len(file_google_cloud_aiplatform_v1_session_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_aiplatform_v1_session_proto_goTypes,
		DependencyIndexes: file_google_cloud_aiplatform_v1_session_proto_depIdxs,
		MessageInfos:      file_google_cloud_aiplatform_v1_session_proto_msgTypes,
	}.Build()
	File_google_cloud_aiplatform_v1_session_proto = out.File
	file_google_cloud_aiplatform_v1_session_proto_goTypes = nil
	file_google_cloud_aiplatform_v1_session_proto_depIdxs = nil
}
