// 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_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"
	_ "google.golang.org/protobuf/types/known/emptypb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
)

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

// Request message for
// [SessionService.CreateSession][google.cloud.aiplatform.v1.SessionService.CreateSession].
type CreateSessionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the location to create the session in.
	// Format:
	// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The session to create.
	Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
	// Optional. The user defined ID to use for session, which will become the
	// final component of the session resource name. If not provided, Vertex AI
	// will generate a value for this ID.
	//
	// This value may be up to 63 characters, and valid characters are
	// `[a-z0-9-]`. The first character must be a letter, and the last character
	// must be a letter or number.
	SessionId     string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateSessionRequest) ProtoMessage() {}

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

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

func (x *CreateSessionRequest) GetSession() *Session {
	if x != nil {
		return x.Session
	}
	return nil
}

func (x *CreateSessionRequest) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

// Metadata associated with the
// [SessionService.CreateSession][google.cloud.aiplatform.v1.SessionService.CreateSession]
// operation.
type CreateSessionOperationMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The common part of the operation metadata.
	GenericMetadata *GenericOperationMetadata `protobuf:"bytes,1,opt,name=generic_metadata,json=genericMetadata,proto3" json:"generic_metadata,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*CreateSessionOperationMetadata) ProtoMessage() {}

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

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

// Request message for
// [SessionService.GetSession][google.cloud.aiplatform.v1.SessionService.GetSession].
type GetSessionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. 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"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetSessionRequest) ProtoMessage() {}

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

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

// Request message for
// [SessionService.ListSessions][google.cloud.aiplatform.v1.SessionService.ListSessions].
type ListSessionsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the location to list sessions from.
	// Format:
	// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of sessions to return. The service may return
	// fewer than this value. If unspecified, at most 100 sessions will be
	// returned.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The
	// [next_page_token][google.cloud.aiplatform.v1.ListSessionsResponse.next_page_token]
	// value returned from a previous list
	// [SessionService.ListSessions][google.cloud.aiplatform.v1.SessionService.ListSessions]
	// call.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The standard list filter.
	// Supported fields:
	//   - `display_name`
	//   - `user_id`
	//   - `labels`
	//
	// Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. A comma-separated list of fields to order by, sorted in ascending
	// order. Use "desc" after a field name for descending. Supported fields:
	//   - `create_time`
	//   - `update_time`
	//
	// Example: `create_time desc`.
	OrderBy       string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListSessionsRequest) ProtoMessage() {}

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

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

func (x *ListSessionsRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListSessionsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListSessionsRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

func (x *ListSessionsRequest) GetOrderBy() string {
	if x != nil {
		return x.OrderBy
	}
	return ""
}

// Response message for
// [SessionService.ListSessions][google.cloud.aiplatform.v1.SessionService.ListSessions].
type ListSessionsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of sessions matching the request.
	Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// A token, which can be sent as
	// [ListSessionsRequest.page_token][google.cloud.aiplatform.v1.ListSessionsRequest.page_token]
	// to retrieve the next page. Absence of this field indicates there are no
	// subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListSessionsResponse) ProtoMessage() {}

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

func (x *ListSessionsResponse) GetSessions() []*Session {
	if x != nil {
		return x.Sessions
	}
	return nil
}

func (x *ListSessionsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

// Request message for
// [SessionService.UpdateSession][google.cloud.aiplatform.v1.SessionService.UpdateSession].
type UpdateSessionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The session to update.
	// Format:
	// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// Optional. Field mask is used to control which fields get updated. If the
	// mask is not present, all fields will be updated.
	UpdateMask    *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateSessionRequest) ProtoMessage() {}

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

func (x *UpdateSessionRequest) GetSession() *Session {
	if x != nil {
		return x.Session
	}
	return nil
}

func (x *UpdateSessionRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

// Request message for
// [SessionService.DeleteSession][google.cloud.aiplatform.v1.SessionService.DeleteSession].
type DeleteSessionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. 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"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteSessionRequest) ProtoMessage() {}

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

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

// Request message for
// [SessionService.ListEvents][google.cloud.aiplatform.v1.SessionService.ListEvents].
type ListEventsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the session to list events from.
	// Format:
	// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of events to return. The service may return
	// fewer than this value. If unspecified, at most 100 events will be returned.
	// These events are ordered by timestamp in ascending order.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The
	// [next_page_token][google.cloud.aiplatform.v1.ListEventsResponse.next_page_token]
	// value returned from a previous list
	// [SessionService.ListEvents][google.cloud.aiplatform.v1.SessionService.ListEvents]
	// call.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The standard list filter.
	// Supported fields:
	//   - `timestamp` range (i.e. `timestamp>="2025-01-31T11:30:00-04:00"` where
	//     the timestamp is in RFC 3339 format)
	//
	// More detail in [AIP-160](https://google.aip.dev/160).
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. A comma-separated list of fields to order by, sorted in ascending
	// order. Use "desc" after a field name for descending. Supported fields:
	//   - `timestamp`
	//
	// Example: `timestamp desc`.
	OrderBy       string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListEventsRequest) ProtoMessage() {}

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

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

func (x *ListEventsRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListEventsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListEventsRequest) GetFilter() string {
	if x != nil {
		return x.Filter
	}
	return ""
}

func (x *ListEventsRequest) GetOrderBy() string {
	if x != nil {
		return x.OrderBy
	}
	return ""
}

// Response message for
// [SessionService.ListEvents][google.cloud.aiplatform.v1.SessionService.ListEvents].
type ListEventsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// A list of events matching the request. Ordered by timestamp in ascending
	// order.
	SessionEvents []*SessionEvent `protobuf:"bytes,1,rep,name=session_events,json=sessionEvents,proto3" json:"session_events,omitempty"`
	// A token, which can be sent as
	// [ListEventsRequest.page_token][google.cloud.aiplatform.v1.ListEventsRequest.page_token]
	// to retrieve the next page. Absence of this field indicates there are no
	// subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListEventsResponse) ProtoMessage() {}

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

func (x *ListEventsResponse) GetSessionEvents() []*SessionEvent {
	if x != nil {
		return x.SessionEvents
	}
	return nil
}

func (x *ListEventsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

// Request message for
// [SessionService.AppendEvent][google.cloud.aiplatform.v1.SessionService.AppendEvent].
type AppendEventRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The resource name of the session to append event to.
	// Format:
	// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The event to append to the session.
	Event         *SessionEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AppendEventRequest) ProtoMessage() {}

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

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

func (x *AppendEventRequest) GetEvent() *SessionEvent {
	if x != nil {
		return x.Event
	}
	return nil
}

// Response message for
// [SessionService.AppendEvent][google.cloud.aiplatform.v1.SessionService.AppendEvent].
type AppendEventResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AppendEventResponse) ProtoMessage() {}

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

var File_google_cloud_aiplatform_v1_session_service_proto protoreflect.FileDescriptor

const file_google_cloud_aiplatform_v1_session_service_proto_rawDesc = "" +
	"\n" +
	"0google/cloud/aiplatform/v1/session_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/operation.proto\x1a(google/cloud/aiplatform/v1/session.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xc9\x01\n" +
	"\x14CreateSessionRequest\x12I\n" +
	"\x06parent\x18\x01 \x01(\tB1\xe0A\x02\xfaA+\n" +
	")aiplatform.googleapis.com/ReasoningEngineR\x06parent\x12B\n" +
	"\asession\x18\x02 \x01(\v2#.google.cloud.aiplatform.v1.SessionB\x03\xe0A\x02R\asession\x12\"\n" +
	"\n" +
	"session_id\x18\x03 \x01(\tB\x03\xe0A\x01R\tsessionId\"\x81\x01\n" +
	"\x1eCreateSessionOperationMetadata\x12_\n" +
	"\x10generic_metadata\x18\x01 \x01(\v24.google.cloud.aiplatform.v1.GenericOperationMetadataR\x0fgenericMetadata\"R\n" +
	"\x11GetSessionRequest\x12=\n" +
	"\x04name\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!aiplatform.googleapis.com/SessionR\x04name\"\xe3\x01\n" +
	"\x13ListSessionsRequest\x12I\n" +
	"\x06parent\x18\x01 \x01(\tB1\xe0A\x02\xfaA+\n" +
	")aiplatform.googleapis.com/ReasoningEngineR\x06parent\x12 \n" +
	"\tpage_size\x18\x02 \x01(\x05B\x03\xe0A\x01R\bpageSize\x12\"\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\x12\x1b\n" +
	"\x06filter\x18\x04 \x01(\tB\x03\xe0A\x01R\x06filter\x12\x1e\n" +
	"\border_by\x18\x05 \x01(\tB\x03\xe0A\x01R\aorderBy\"\x7f\n" +
	"\x14ListSessionsResponse\x12?\n" +
	"\bsessions\x18\x01 \x03(\v2#.google.cloud.aiplatform.v1.SessionR\bsessions\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\x9c\x01\n" +
	"\x14UpdateSessionRequest\x12B\n" +
	"\asession\x18\x01 \x01(\v2#.google.cloud.aiplatform.v1.SessionB\x03\xe0A\x02R\asession\x12@\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x01R\n" +
	"updateMask\"U\n" +
	"\x14DeleteSessionRequest\x12=\n" +
	"\x04name\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!aiplatform.googleapis.com/SessionR\x04name\"\xd9\x01\n" +
	"\x11ListEventsRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!aiplatform.googleapis.com/SessionR\x06parent\x12 \n" +
	"\tpage_size\x18\x02 \x01(\x05B\x03\xe0A\x01R\bpageSize\x12\"\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\x03\xe0A\x01R\tpageToken\x12\x1b\n" +
	"\x06filter\x18\x04 \x01(\tB\x03\xe0A\x01R\x06filter\x12\x1e\n" +
	"\border_by\x18\x05 \x01(\tB\x03\xe0A\x01R\aorderBy\"\x8d\x01\n" +
	"\x12ListEventsResponse\x12O\n" +
	"\x0esession_events\x18\x01 \x03(\v2(.google.cloud.aiplatform.v1.SessionEventR\rsessionEvents\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\x98\x01\n" +
	"\x12AppendEventRequest\x12=\n" +
	"\x04name\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!aiplatform.googleapis.com/SessionR\x04name\x12C\n" +
	"\x05event\x18\x02 \x01(\v2(.google.cloud.aiplatform.v1.SessionEventB\x03\xe0A\x02R\x05event\"\x15\n" +
	"\x13AppendEventResponse2\xca\f\n" +
	"\x0eSessionService\x12\x8c\x02\n" +
	"\rCreateSession\x120.google.cloud.aiplatform.v1.CreateSessionRequest\x1a\x1d.google.longrunning.Operation\"\xa9\x01\xcaA)\n" +
	"\aSession\x12\x1eCreateSessionOperationMetadata\xdaA\x0eparent,session\xdaA\x19parent,session,session_id\x82\xd3\xe4\x93\x02J:\asession\"?/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions\x12\xb0\x01\n" +
	"\n" +
	"GetSession\x12-.google.cloud.aiplatform.v1.GetSessionRequest\x1a#.google.cloud.aiplatform.v1.Session\"N\xdaA\x04name\x82\xd3\xe4\x93\x02A\x12?/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}\x12\xc3\x01\n" +
	"\fListSessions\x12/.google.cloud.aiplatform.v1.ListSessionsRequest\x1a0.google.cloud.aiplatform.v1.ListSessionsResponse\"P\xdaA\x06parent\x82\xd3\xe4\x93\x02A\x12?/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions\x12\xd6\x01\n" +
	"\rUpdateSession\x120.google.cloud.aiplatform.v1.UpdateSessionRequest\x1a#.google.cloud.aiplatform.v1.Session\"n\xdaA\x13session,update_mask\x82\xd3\xe4\x93\x02R:\asession2G/v1/{session.name=projects/*/locations/*/reasoningEngines/*/sessions/*}\x12\xe4\x01\n" +
	"\rDeleteSession\x120.google.cloud.aiplatform.v1.DeleteSessionRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xcaA0\n" +
	"\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xdaA\x04name\x82\xd3\xe4\x93\x02A*?/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}\x12\xc6\x01\n" +
	"\n" +
	"ListEvents\x12-.google.cloud.aiplatform.v1.ListEventsRequest\x1a..google.cloud.aiplatform.v1.ListEventsResponse\"Y\xdaA\x06parent\x82\xd3\xe4\x93\x02J\x12H/v1/{parent=projects/*/locations/*/reasoningEngines/*/sessions/*}/events\x12\xd7\x01\n" +
	"\vAppendEvent\x12..google.cloud.aiplatform.v1.AppendEventRequest\x1a/.google.cloud.aiplatform.v1.AppendEventResponse\"g\xdaA\n" +
	"name,event\x82\xd3\xe4\x93\x02T:\x05event\"K/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}:appendEvent\x1aM\xcaA\x19aiplatform.googleapis.com\xd2A.https://www.googleapis.com/auth/cloud-platformB\xd1\x01\n" +
	"\x1ecom.google.cloud.aiplatform.v1B\x13SessionServiceProtoP\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_service_proto_rawDescOnce sync.Once
	file_google_cloud_aiplatform_v1_session_service_proto_rawDescData []byte
)

func file_google_cloud_aiplatform_v1_session_service_proto_rawDescGZIP() []byte {
	file_google_cloud_aiplatform_v1_session_service_proto_rawDescOnce.Do(func() {
		file_google_cloud_aiplatform_v1_session_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_session_service_proto_rawDesc), len(file_google_cloud_aiplatform_v1_session_service_proto_rawDesc)))
	})
	return file_google_cloud_aiplatform_v1_session_service_proto_rawDescData
}

var file_google_cloud_aiplatform_v1_session_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_google_cloud_aiplatform_v1_session_service_proto_goTypes = []any{
	(*CreateSessionRequest)(nil),           // 0: google.cloud.aiplatform.v1.CreateSessionRequest
	(*CreateSessionOperationMetadata)(nil), // 1: google.cloud.aiplatform.v1.CreateSessionOperationMetadata
	(*GetSessionRequest)(nil),              // 2: google.cloud.aiplatform.v1.GetSessionRequest
	(*ListSessionsRequest)(nil),            // 3: google.cloud.aiplatform.v1.ListSessionsRequest
	(*ListSessionsResponse)(nil),           // 4: google.cloud.aiplatform.v1.ListSessionsResponse
	(*UpdateSessionRequest)(nil),           // 5: google.cloud.aiplatform.v1.UpdateSessionRequest
	(*DeleteSessionRequest)(nil),           // 6: google.cloud.aiplatform.v1.DeleteSessionRequest
	(*ListEventsRequest)(nil),              // 7: google.cloud.aiplatform.v1.ListEventsRequest
	(*ListEventsResponse)(nil),             // 8: google.cloud.aiplatform.v1.ListEventsResponse
	(*AppendEventRequest)(nil),             // 9: google.cloud.aiplatform.v1.AppendEventRequest
	(*AppendEventResponse)(nil),            // 10: google.cloud.aiplatform.v1.AppendEventResponse
	(*Session)(nil),                        // 11: google.cloud.aiplatform.v1.Session
	(*GenericOperationMetadata)(nil),       // 12: google.cloud.aiplatform.v1.GenericOperationMetadata
	(*fieldmaskpb.FieldMask)(nil),          // 13: google.protobuf.FieldMask
	(*SessionEvent)(nil),                   // 14: google.cloud.aiplatform.v1.SessionEvent
	(*longrunningpb.Operation)(nil),        // 15: google.longrunning.Operation
}
var file_google_cloud_aiplatform_v1_session_service_proto_depIdxs = []int32{
	11, // 0: google.cloud.aiplatform.v1.CreateSessionRequest.session:type_name -> google.cloud.aiplatform.v1.Session
	12, // 1: google.cloud.aiplatform.v1.CreateSessionOperationMetadata.generic_metadata:type_name -> google.cloud.aiplatform.v1.GenericOperationMetadata
	11, // 2: google.cloud.aiplatform.v1.ListSessionsResponse.sessions:type_name -> google.cloud.aiplatform.v1.Session
	11, // 3: google.cloud.aiplatform.v1.UpdateSessionRequest.session:type_name -> google.cloud.aiplatform.v1.Session
	13, // 4: google.cloud.aiplatform.v1.UpdateSessionRequest.update_mask:type_name -> google.protobuf.FieldMask
	14, // 5: google.cloud.aiplatform.v1.ListEventsResponse.session_events:type_name -> google.cloud.aiplatform.v1.SessionEvent
	14, // 6: google.cloud.aiplatform.v1.AppendEventRequest.event:type_name -> google.cloud.aiplatform.v1.SessionEvent
	0,  // 7: google.cloud.aiplatform.v1.SessionService.CreateSession:input_type -> google.cloud.aiplatform.v1.CreateSessionRequest
	2,  // 8: google.cloud.aiplatform.v1.SessionService.GetSession:input_type -> google.cloud.aiplatform.v1.GetSessionRequest
	3,  // 9: google.cloud.aiplatform.v1.SessionService.ListSessions:input_type -> google.cloud.aiplatform.v1.ListSessionsRequest
	5,  // 10: google.cloud.aiplatform.v1.SessionService.UpdateSession:input_type -> google.cloud.aiplatform.v1.UpdateSessionRequest
	6,  // 11: google.cloud.aiplatform.v1.SessionService.DeleteSession:input_type -> google.cloud.aiplatform.v1.DeleteSessionRequest
	7,  // 12: google.cloud.aiplatform.v1.SessionService.ListEvents:input_type -> google.cloud.aiplatform.v1.ListEventsRequest
	9,  // 13: google.cloud.aiplatform.v1.SessionService.AppendEvent:input_type -> google.cloud.aiplatform.v1.AppendEventRequest
	15, // 14: google.cloud.aiplatform.v1.SessionService.CreateSession:output_type -> google.longrunning.Operation
	11, // 15: google.cloud.aiplatform.v1.SessionService.GetSession:output_type -> google.cloud.aiplatform.v1.Session
	4,  // 16: google.cloud.aiplatform.v1.SessionService.ListSessions:output_type -> google.cloud.aiplatform.v1.ListSessionsResponse
	11, // 17: google.cloud.aiplatform.v1.SessionService.UpdateSession:output_type -> google.cloud.aiplatform.v1.Session
	15, // 18: google.cloud.aiplatform.v1.SessionService.DeleteSession:output_type -> google.longrunning.Operation
	8,  // 19: google.cloud.aiplatform.v1.SessionService.ListEvents:output_type -> google.cloud.aiplatform.v1.ListEventsResponse
	10, // 20: google.cloud.aiplatform.v1.SessionService.AppendEvent:output_type -> google.cloud.aiplatform.v1.AppendEventResponse
	14, // [14:21] is the sub-list for method output_type
	7,  // [7:14] is the sub-list for method input_type
	7,  // [7:7] is the sub-list for extension type_name
	7,  // [7:7] is the sub-list for extension extendee
	0,  // [0:7] is the sub-list for field type_name
}

func init() { file_google_cloud_aiplatform_v1_session_service_proto_init() }
func file_google_cloud_aiplatform_v1_session_service_proto_init() {
	if File_google_cloud_aiplatform_v1_session_service_proto != nil {
		return
	}
	file_google_cloud_aiplatform_v1_operation_proto_init()
	file_google_cloud_aiplatform_v1_session_proto_init()
	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_service_proto_rawDesc), len(file_google_cloud_aiplatform_v1_session_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   11,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_aiplatform_v1_session_service_proto_goTypes,
		DependencyIndexes: file_google_cloud_aiplatform_v1_session_service_proto_depIdxs,
		MessageInfos:      file_google_cloud_aiplatform_v1_session_service_proto_msgTypes,
	}.Build()
	File_google_cloud_aiplatform_v1_session_service_proto = out.File
	file_google_cloud_aiplatform_v1_session_service_proto_goTypes = nil
	file_google_cloud_aiplatform_v1_session_service_proto_depIdxs = nil
}
