// CatalogService -- platform-managed provider and model registry.
//
// The catalog is the authoritative source of truth for AI providers
// (OpenAI, Anthropic, AWS Bedrock, ...) and the models each provider
// exposes. Every model name that appears in an inference request or a
// billing record resolves against this catalog.
//
// Write surface (UpsertProvider, UpsertModel, SetProviderCredential,
// DeleteProvider, DeleteModel) mirrors the IA reference shape. Project
// <-> model assignment lives on this same service as a project view of
// the catalog -- IA does not define these RPCs and fraser's existing
// admin.v1 surface owns the underlying repositories that we reuse.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        (unknown)
// source: tars/catalog/v1/catalog.proto

package catalogv1

import (
	_ "github.com/tetrateio/agentrouter-go/genapi/api/tars/auth/v1"
	_ "github.com/tetrateio/agentrouter-go/genapi/api/tars/cli/v1"
	v1 "github.com/tetrateio/agentrouter-go/genapi/api/tars/common/v1"
	_ "github.com/tetrateio/agentrouter-go/genapi/api/tars/docs/v1"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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

// Provider is an AI inference backend.
type Provider struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Resource name prov_<ulid>. Server-assigned; immutable.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Machine-readable slug, e.g. "openai", "anthropic", "awsbedrock".
	// Unique. Canonical form is lowercase alphanumeric [a-z0-9]+ (no hyphens,
	// spaces, or uppercase) -- it is matched hyphen-insensitively at inference
	// time, so UpsertProvider requires this canonical form on write.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Human-readable display name, e.g. "OpenAI".
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Base URL for all models served by this provider,
	// e.g. "https://api.openai.com".
	BaseUrl string `protobuf:"bytes,4,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	// Auth schemes this provider supports, e.g. "bearer",
	// "aws-sigv4-static".
	SupportedAuthSchemes []string `protobuf:"bytes,5,rep,name=supported_auth_schemes,json=supportedAuthSchemes,proto3" json:"supported_auth_schemes,omitempty"`
	// Last 4 chars of the stored platform credential (e.g. "sk-..**4a2f").
	// Empty if no platform credential has been set. BYOK keys are tracked
	// separately via aikeys.v1.
	CredentialSuffix string `protobuf:"bytes,6,opt,name=credential_suffix,json=credentialSuffix,proto3" json:"credential_suffix,omitempty"`
	// When this provider record was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,50,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// When this provider record was last modified.
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,51,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Provider) ProtoMessage() {}

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

func (x *Provider) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

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

func (x *Provider) GetBaseUrl() string {
	if x != nil {
		return x.BaseUrl
	}
	return ""
}

func (x *Provider) GetSupportedAuthSchemes() []string {
	if x != nil {
		return x.SupportedAuthSchemes
	}
	return nil
}

func (x *Provider) GetCredentialSuffix() string {
	if x != nil {
		return x.CredentialSuffix
	}
	return ""
}

func (x *Provider) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *Provider) GetUpdatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdatedAt
	}
	return nil
}

// Pricing holds per-million-token rates for a model. All values are
// decimal strings to avoid float drift (e.g. "2.50").
type Pricing struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Cost in USD per million input tokens.
	InputPerMillion string `protobuf:"bytes,1,opt,name=input_per_million,json=inputPerMillion,proto3" json:"input_per_million,omitempty"`
	// Cost in USD per million output tokens.
	OutputPerMillion string `protobuf:"bytes,2,opt,name=output_per_million,json=outputPerMillion,proto3" json:"output_per_million,omitempty"`
	// Cost in USD per million cache-read tokens. Empty means not
	// applicable.
	CacheReadPerMillion string `protobuf:"bytes,3,opt,name=cache_read_per_million,json=cacheReadPerMillion,proto3" json:"cache_read_per_million,omitempty"`
	// Hard cap in USD per single request. Empty means no cap.
	MaxCostPerRequest string `protobuf:"bytes,4,opt,name=max_cost_per_request,json=maxCostPerRequest,proto3" json:"max_cost_per_request,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*Pricing) ProtoMessage() {}

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

func (x *Pricing) GetInputPerMillion() string {
	if x != nil {
		return x.InputPerMillion
	}
	return ""
}

func (x *Pricing) GetOutputPerMillion() string {
	if x != nil {
		return x.OutputPerMillion
	}
	return ""
}

func (x *Pricing) GetCacheReadPerMillion() string {
	if x != nil {
		return x.CacheReadPerMillion
	}
	return ""
}

func (x *Pricing) GetMaxCostPerRequest() string {
	if x != nil {
		return x.MaxCostPerRequest
	}
	return ""
}

// Model is a platform-curated entry that ties a logical name to a
// provider and a provider-side model identifier.
type Model struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Resource name mdl_<ulid>. Server-assigned; immutable.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Provider this model belongs to. prov_<ulid>.
	ProviderId string `protobuf:"bytes,2,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	// Logical name used in routing and billing, e.g. "gpt-4o". Unique
	// within a provider.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Provider-side model id sent as body.model to upstream,
	// e.g. "gpt-4o-2024-11-20".
	UpstreamModel string `protobuf:"bytes,4,opt,name=upstream_model,json=upstreamModel,proto3" json:"upstream_model,omitempty"`
	// Per-token pricing rates.
	Pricing *Pricing `protobuf:"bytes,5,opt,name=pricing,proto3" json:"pricing,omitempty"`
	// Maximum context window in tokens.
	MaxContextTokens uint32 `protobuf:"varint,6,opt,name=max_context_tokens,json=maxContextTokens,proto3" json:"max_context_tokens,omitempty"`
	// Capabilities this model supports, e.g. "chat", "embeddings",
	// "images".
	Capabilities []string `protobuf:"bytes,7,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// When this model record was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,50,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// When this model record was last modified.
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,51,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Model) ProtoMessage() {}

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

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

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

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

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

func (x *Model) GetPricing() *Pricing {
	if x != nil {
		return x.Pricing
	}
	return nil
}

func (x *Model) GetMaxContextTokens() uint32 {
	if x != nil {
		return x.MaxContextTokens
	}
	return 0
}

func (x *Model) GetCapabilities() []string {
	if x != nil {
		return x.Capabilities
	}
	return nil
}

func (x *Model) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *Model) GetUpdatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdatedAt
	}
	return nil
}

type ListProvidersRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Page size and continuation token for cursor-based pagination.
	Page          *v1.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListProvidersRequest) ProtoMessage() {}

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

func (x *ListProvidersRequest) GetPage() *v1.PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type ListProvidersResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Providers on this page, in catalog order.
	Providers []*Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// Pagination cursor; carries next_page_token for the following call.
	Page          *v1.PageResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListProvidersResponse) ProtoMessage() {}

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

func (x *ListProvidersResponse) GetProviders() []*Provider {
	if x != nil {
		return x.Providers
	}
	return nil
}

func (x *ListProvidersResponse) GetPage() *v1.PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type GetProviderRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Provider id to fetch. prov_<ulid>.
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetProviderRequest) ProtoMessage() {}

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

func (x *GetProviderRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

type GetProviderResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The requested provider.
	Provider      *Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetProviderResponse) ProtoMessage() {}

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

func (x *GetProviderResponse) GetProvider() *Provider {
	if x != nil {
		return x.Provider
	}
	return nil
}

type ListModelsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Filter to models belonging to this provider. Empty returns all
	// models.
	ProviderId string `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	// Page size and continuation token for cursor-based pagination.
	Page          *v1.PageRequest `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListModelsRequest) ProtoMessage() {}

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

func (x *ListModelsRequest) GetProviderId() string {
	if x != nil {
		return x.ProviderId
	}
	return ""
}

func (x *ListModelsRequest) GetPage() *v1.PageRequest {
	if x != nil {
		return x.Page
	}
	return nil
}

type ListModelsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Models on this page, in catalog order.
	Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
	// Pagination cursor; carries next_page_token for the following call.
	Page          *v1.PageResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListModelsResponse) ProtoMessage() {}

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

func (x *ListModelsResponse) GetModels() []*Model {
	if x != nil {
		return x.Models
	}
	return nil
}

func (x *ListModelsResponse) GetPage() *v1.PageResponse {
	if x != nil {
		return x.Page
	}
	return nil
}

type GetModelRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Model id (UUID) or unique model name. A UUID is looked up by id; any
	// other value is resolved by model name across the visible catalog. A
	// name that matches models from multiple providers is rejected with
	// InvalidArgument naming the candidates.
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetModelRequest) ProtoMessage() {}

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

func (x *GetModelRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

type GetModelResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The requested model.
	Model         *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetModelResponse) ProtoMessage() {}

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

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

// ProjectModelEntry pairs a project assignment row with the catalog
// Model it points at. The Model field is populated on List responses
// via a JOIN against ai_models.
type ProjectModelEntry struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Resource name of the project_models row (uuid).
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Customer that owns this assignment.
	CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// Project the model is assigned to.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Catalog model id (uuid). Same value as model.id when model is set.
	ModelId string `protobuf:"bytes,4,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
	// Full catalog Model resource. Populated on List responses; may be
	// empty on Add responses if the join was skipped.
	Model         *Model                 `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ProjectModelEntry) ProtoMessage() {}

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

func (x *ProjectModelEntry) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *ProjectModelEntry) GetCustomerId() string {
	if x != nil {
		return x.CustomerId
	}
	return ""
}

func (x *ProjectModelEntry) GetProjectId() string {
	if x != nil {
		return x.ProjectId
	}
	return ""
}

func (x *ProjectModelEntry) GetModelId() string {
	if x != nil {
		return x.ModelId
	}
	return ""
}

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

func (x *ProjectModelEntry) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

// UpsertProviderRequest carries the fields of a Provider as scalar
// top-level fields so the generated CLI can surface each one as a
// flag (`protoc-gen-ia-cli` skips message-typed fields). This is the
// one unavoidable divergence from IA's nested-`provider` shape; the
// HTTP body shape on the wire stays semantically equivalent.
type UpsertProviderRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Provider slug, e.g. "openai". Natural key; required. Must be canonical
	// lowercase alphanumeric [a-z0-9]+ (no hyphens, spaces, or uppercase).
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Human-readable display name, e.g. "OpenAI".
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Provider API base URL. The CLI flag is renamed to
	// --provider-base-url to avoid colliding with the root command's
	// persistent --base-url (which overrides the active profile's API
	// URL for one invocation).
	BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	// Auth schemes this provider supports, e.g. ["bearer"].
	SupportedAuthSchemes []string `protobuf:"bytes,4,rep,name=supported_auth_schemes,json=supportedAuthSchemes,proto3" json:"supported_auth_schemes,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*UpsertProviderRequest) ProtoMessage() {}

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

func (x *UpsertProviderRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

func (x *UpsertProviderRequest) GetBaseUrl() string {
	if x != nil {
		return x.BaseUrl
	}
	return ""
}

func (x *UpsertProviderRequest) GetSupportedAuthSchemes() []string {
	if x != nil {
		return x.SupportedAuthSchemes
	}
	return nil
}

// UpsertModelRequest carries the fields of a Model as scalar top-level
// fields for the same CLI-flag reason as UpsertProviderRequest.
type UpsertModelRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Provider slug this model belongs to.
	ProviderId string `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	// Logical model name, e.g. "gpt-4o". Unique within provider.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Provider-side model id (defaults to name when empty).
	UpstreamModel string `protobuf:"bytes,3,opt,name=upstream_model,json=upstreamModel,proto3" json:"upstream_model,omitempty"`
	// Cost in USD per million input tokens (decimal string).
	InputPerMillion string `protobuf:"bytes,4,opt,name=input_per_million,json=inputPerMillion,proto3" json:"input_per_million,omitempty"`
	// Cost in USD per million output tokens (decimal string).
	OutputPerMillion string `protobuf:"bytes,5,opt,name=output_per_million,json=outputPerMillion,proto3" json:"output_per_million,omitempty"`
	// Cost in USD per million cache-read tokens. Empty if not applicable.
	CacheReadPerMillion string `protobuf:"bytes,6,opt,name=cache_read_per_million,json=cacheReadPerMillion,proto3" json:"cache_read_per_million,omitempty"`
	// Hard cap in USD per single request. Empty means no cap.
	MaxCostPerRequest string `protobuf:"bytes,7,opt,name=max_cost_per_request,json=maxCostPerRequest,proto3" json:"max_cost_per_request,omitempty"`
	// Maximum context window in tokens.
	MaxContextTokens uint32 `protobuf:"varint,8,opt,name=max_context_tokens,json=maxContextTokens,proto3" json:"max_context_tokens,omitempty"`
	// Capabilities this model supports, e.g. ["chat", "embeddings"].
	Capabilities  []string `protobuf:"bytes,9,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpsertModelRequest) ProtoMessage() {}

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

func (x *UpsertModelRequest) GetProviderId() string {
	if x != nil {
		return x.ProviderId
	}
	return ""
}

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

func (x *UpsertModelRequest) GetUpstreamModel() string {
	if x != nil {
		return x.UpstreamModel
	}
	return ""
}

func (x *UpsertModelRequest) GetInputPerMillion() string {
	if x != nil {
		return x.InputPerMillion
	}
	return ""
}

func (x *UpsertModelRequest) GetOutputPerMillion() string {
	if x != nil {
		return x.OutputPerMillion
	}
	return ""
}

func (x *UpsertModelRequest) GetCacheReadPerMillion() string {
	if x != nil {
		return x.CacheReadPerMillion
	}
	return ""
}

func (x *UpsertModelRequest) GetMaxCostPerRequest() string {
	if x != nil {
		return x.MaxCostPerRequest
	}
	return ""
}

func (x *UpsertModelRequest) GetMaxContextTokens() uint32 {
	if x != nil {
		return x.MaxContextTokens
	}
	return 0
}

func (x *UpsertModelRequest) GetCapabilities() []string {
	if x != nil {
		return x.Capabilities
	}
	return nil
}

type SetProviderCredentialRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Provider id / slug.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Plaintext credential (API key, bearer token, etc.). Stored
	// server-side under envelope encryption and never returned.
	// Provider.credential_suffix reflects the last 4 chars.
	Credential    string `protobuf:"bytes,2,opt,name=credential,proto3" json:"credential,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SetProviderCredentialRequest) ProtoMessage() {}

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

func (x *SetProviderCredentialRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *SetProviderCredentialRequest) GetCredential() string {
	if x != nil {
		return x.Credential
	}
	return ""
}

type DeleteProviderRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Id of the provider to delete. prov_<ulid>.
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteProviderRequest) ProtoMessage() {}

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

func (x *DeleteProviderRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

type DeleteModelRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Id of the model to delete. mdl_<ulid>.
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteModelRequest) ProtoMessage() {}

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

func (x *DeleteModelRequest) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

type AssignModelToProjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Defaults to the caller's session customer when empty.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// Defaults to the caller's session project when empty.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Catalog model id (uuid).
	ModelId       string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AssignModelToProjectRequest) ProtoMessage() {}

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

func (x *AssignModelToProjectRequest) GetCustomerId() string {
	if x != nil {
		return x.CustomerId
	}
	return ""
}

func (x *AssignModelToProjectRequest) GetProjectId() string {
	if x != nil {
		return x.ProjectId
	}
	return ""
}

func (x *AssignModelToProjectRequest) GetModelId() string {
	if x != nil {
		return x.ModelId
	}
	return ""
}

type AssignModelToProjectResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The created (or already-existing) project-to-model assignment.
	Entry         *ProjectModelEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AssignModelToProjectResponse) ProtoMessage() {}

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

func (x *AssignModelToProjectResponse) GetEntry() *ProjectModelEntry {
	if x != nil {
		return x.Entry
	}
	return nil
}

type ListProjectModelsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Defaults to the caller's session customer when empty.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// Defaults to the caller's session project when empty.
	ProjectId     string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListProjectModelsRequest) ProtoMessage() {}

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

func (x *ListProjectModelsRequest) GetCustomerId() string {
	if x != nil {
		return x.CustomerId
	}
	return ""
}

func (x *ListProjectModelsRequest) GetProjectId() string {
	if x != nil {
		return x.ProjectId
	}
	return ""
}

type ListProjectModelsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Every model assigned to the project, each joined with its catalog Model.
	Entries       []*ProjectModelEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListProjectModelsResponse) Reset() {
	*x = ListProjectModelsResponse{}
	mi := &file_tars_catalog_v1_catalog_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListProjectModelsResponse) ProtoMessage() {}

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

func (x *ListProjectModelsResponse) GetEntries() []*ProjectModelEntry {
	if x != nil {
		return x.Entries
	}
	return nil
}

type UnassignModelFromProjectRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Defaults to the caller's session customer when empty.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// Defaults to the caller's session project when empty.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Catalog model id (uuid) to unassign from the project.
	ModelId       string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UnassignModelFromProjectRequest) Reset() {
	*x = UnassignModelFromProjectRequest{}
	mi := &file_tars_catalog_v1_catalog_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UnassignModelFromProjectRequest) ProtoMessage() {}

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

func (x *UnassignModelFromProjectRequest) GetCustomerId() string {
	if x != nil {
		return x.CustomerId
	}
	return ""
}

func (x *UnassignModelFromProjectRequest) GetProjectId() string {
	if x != nil {
		return x.ProjectId
	}
	return ""
}

func (x *UnassignModelFromProjectRequest) GetModelId() string {
	if x != nil {
		return x.ModelId
	}
	return ""
}

type UnassignModelFromProjectResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// True when the assignment was removed.
	Success       bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UnassignModelFromProjectResponse) Reset() {
	*x = UnassignModelFromProjectResponse{}
	mi := &file_tars_catalog_v1_catalog_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UnassignModelFromProjectResponse) ProtoMessage() {}

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

func (x *UnassignModelFromProjectResponse) GetSuccess() bool {
	if x != nil {
		return x.Success
	}
	return false
}

var File_tars_catalog_v1_catalog_proto protoreflect.FileDescriptor

const file_tars_catalog_v1_catalog_proto_rawDesc = "" +
	"\n" +
	"\x1dtars/catalog/v1/catalog.proto\x12\x0ftars.catalog.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1ftars/auth/v1/auth_options.proto\x1a\x15tars/cli/v1/cli.proto\x1a\x1atars/common/v1/types.proto\x1a\x17tars/docs/v1/docs.proto\"\xe8\x02\n" +
	"\bProvider\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x03R\x02id\x12\x17\n" +
	"\x04name\x18\x02 \x01(\tB\x03\xe0A\x02R\x04name\x12&\n" +
	"\fdisplay_name\x18\x03 \x01(\tB\x03\xe0A\x02R\vdisplayName\x12\x1e\n" +
	"\bbase_url\x18\x04 \x01(\tB\x03\xe0A\x02R\abaseUrl\x124\n" +
	"\x16supported_auth_schemes\x18\x05 \x03(\tR\x14supportedAuthSchemes\x120\n" +
	"\x11credential_suffix\x18\x06 \x01(\tB\x03\xe0A\x03R\x10credentialSuffix\x12>\n" +
	"\n" +
	"created_at\x182 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tcreatedAt\x12>\n" +
	"\n" +
	"updated_at\x183 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tupdatedAt\"\xc9\x01\n" +
	"\aPricing\x12*\n" +
	"\x11input_per_million\x18\x01 \x01(\tR\x0finputPerMillion\x12,\n" +
	"\x12output_per_million\x18\x02 \x01(\tR\x10outputPerMillion\x123\n" +
	"\x16cache_read_per_million\x18\x03 \x01(\tR\x13cacheReadPerMillion\x12/\n" +
	"\x14max_cost_per_request\x18\x04 \x01(\tR\x11maxCostPerRequest\"\x8d\x03\n" +
	"\x05Model\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x03R\x02id\x12$\n" +
	"\vprovider_id\x18\x02 \x01(\tB\x03\xe0A\x02R\n" +
	"providerId\x12\x17\n" +
	"\x04name\x18\x03 \x01(\tB\x03\xe0A\x02R\x04name\x12*\n" +
	"\x0eupstream_model\x18\x04 \x01(\tB\x03\xe0A\x02R\rupstreamModel\x122\n" +
	"\apricing\x18\x05 \x01(\v2\x18.tars.catalog.v1.PricingR\apricing\x12,\n" +
	"\x12max_context_tokens\x18\x06 \x01(\rR\x10maxContextTokens\x12\"\n" +
	"\fcapabilities\x18\a \x03(\tR\fcapabilities\x12>\n" +
	"\n" +
	"created_at\x182 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tcreatedAt\x12>\n" +
	"\n" +
	"updated_at\x183 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tupdatedAt\"G\n" +
	"\x14ListProvidersRequest\x12/\n" +
	"\x04page\x18\x01 \x01(\v2\x1b.tars.common.v1.PageRequestR\x04page\"\x82\x01\n" +
	"\x15ListProvidersResponse\x127\n" +
	"\tproviders\x18\x01 \x03(\v2\x19.tars.catalog.v1.ProviderR\tproviders\x120\n" +
	"\x04page\x18\x02 \x01(\v2\x1c.tars.common.v1.PageResponseR\x04page\")\n" +
	"\x12GetProviderRequest\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x02R\x02id\"L\n" +
	"\x13GetProviderResponse\x125\n" +
	"\bprovider\x18\x01 \x01(\v2\x19.tars.catalog.v1.ProviderR\bprovider\"e\n" +
	"\x11ListModelsRequest\x12\x1f\n" +
	"\vprovider_id\x18\x01 \x01(\tR\n" +
	"providerId\x12/\n" +
	"\x04page\x18\x02 \x01(\v2\x1b.tars.common.v1.PageRequestR\x04page\"v\n" +
	"\x12ListModelsResponse\x12.\n" +
	"\x06models\x18\x01 \x03(\v2\x16.tars.catalog.v1.ModelR\x06models\x120\n" +
	"\x04page\x18\x02 \x01(\v2\x1c.tars.common.v1.PageResponseR\x04page\"&\n" +
	"\x0fGetModelRequest\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x02R\x02id\"@\n" +
	"\x10GetModelResponse\x12,\n" +
	"\x05model\x18\x01 \x01(\v2\x16.tars.catalog.v1.ModelR\x05model\"\xf1\x01\n" +
	"\x11ProjectModelEntry\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x03R\x02id\x12\x1f\n" +
	"\vcustomer_id\x18\x02 \x01(\tR\n" +
	"customerId\x12\x1d\n" +
	"\n" +
	"project_id\x18\x03 \x01(\tR\tprojectId\x12\x19\n" +
	"\bmodel_id\x18\x04 \x01(\tR\amodelId\x12,\n" +
	"\x05model\x18\x05 \x01(\v2\x16.tars.catalog.v1.ModelR\x05model\x12>\n" +
	"\n" +
	"created_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tcreatedAt\"\xc1\x01\n" +
	"\x15UpsertProviderRequest\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x02R\x02id\x12&\n" +
	"\fdisplay_name\x18\x02 \x01(\tB\x03\xe0A\x02R\vdisplayName\x125\n" +
	"\bbase_url\x18\x03 \x01(\tB\x1a\xe0A\x02\x9a\xb5\x18\x13\n" +
	"\x11provider-base-urlR\abaseUrl\x124\n" +
	"\x16supported_auth_schemes\x18\x04 \x03(\tR\x14supportedAuthSchemes\"\x8c\x03\n" +
	"\x12UpsertModelRequest\x12$\n" +
	"\vprovider_id\x18\x01 \x01(\tB\x03\xe0A\x02R\n" +
	"providerId\x12\x17\n" +
	"\x04name\x18\x02 \x01(\tB\x03\xe0A\x02R\x04name\x12%\n" +
	"\x0eupstream_model\x18\x03 \x01(\tR\rupstreamModel\x12*\n" +
	"\x11input_per_million\x18\x04 \x01(\tR\x0finputPerMillion\x12,\n" +
	"\x12output_per_million\x18\x05 \x01(\tR\x10outputPerMillion\x123\n" +
	"\x16cache_read_per_million\x18\x06 \x01(\tR\x13cacheReadPerMillion\x12/\n" +
	"\x14max_cost_per_request\x18\a \x01(\tR\x11maxCostPerRequest\x12,\n" +
	"\x12max_context_tokens\x18\b \x01(\rR\x10maxContextTokens\x12\"\n" +
	"\fcapabilities\x18\t \x03(\tR\fcapabilities\"X\n" +
	"\x1cSetProviderCredentialRequest\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x02R\x02id\x12#\n" +
	"\n" +
	"credential\x18\x02 \x01(\tB\x03\xe0A\x02R\n" +
	"credential\",\n" +
	"\x15DeleteProviderRequest\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x02R\x02id\")\n" +
	"\x12DeleteModelRequest\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x02R\x02id\"\x9c\x01\n" +
	"\x1bAssignModelToProjectRequest\x12/\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x0e\x9a\xb5\x18\n" +
	"\n" +
	"\bcustomerR\n" +
	"customerId\x12,\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\r\x9a\xb5\x18\t\n" +
	"\aprojectR\tprojectId\x12\x1e\n" +
	"\bmodel_id\x18\x03 \x01(\tB\x03\xe0A\x02R\amodelId\"X\n" +
	"\x1cAssignModelToProjectResponse\x128\n" +
	"\x05entry\x18\x01 \x01(\v2\".tars.catalog.v1.ProjectModelEntryR\x05entry\"y\n" +
	"\x18ListProjectModelsRequest\x12/\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x0e\x9a\xb5\x18\n" +
	"\n" +
	"\bcustomerR\n" +
	"customerId\x12,\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\r\x9a\xb5\x18\t\n" +
	"\aprojectR\tprojectId\"Y\n" +
	"\x19ListProjectModelsResponse\x12<\n" +
	"\aentries\x18\x01 \x03(\v2\".tars.catalog.v1.ProjectModelEntryR\aentries\"\xa0\x01\n" +
	"\x1fUnassignModelFromProjectRequest\x12/\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x0e\x9a\xb5\x18\n" +
	"\n" +
	"\bcustomerR\n" +
	"customerId\x12,\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\r\x9a\xb5\x18\t\n" +
	"\aprojectR\tprojectId\x12\x1e\n" +
	"\bmodel_id\x18\x03 \x01(\tB\x03\xe0A\x02R\amodelId\"<\n" +
	" UnassignModelFromProjectResponse\x12\x18\n" +
	"\asuccess\x18\x01 \x01(\bR\asuccess2\xf7\x14\n" +
	"\x0eCatalogService\x12\xc6\x01\n" +
	"\rListProviders\x12%.tars.catalog.v1.ListProvidersRequest\x1a&.tars.catalog.v1.ListProvidersResponse\"f\x8a\xb5\x18\v\n" +
	"\x02\x03\x01\x12\x05admin\x92\xb5\x18\x14:\acatalog:\tproviders\xa2\xb5\x18\x0eList providers\xaa\xb5\x18\tProviders\x82\xd3\xe4\x93\x02\x17\x12\x15/v1/catalog/providers\x90\x02\x01\x12\xc8\x01\n" +
	"\vGetProvider\x12#.tars.catalog.v1.GetProviderRequest\x1a$.tars.catalog.v1.GetProviderResponse\"n\x8a\xb5\x18\v\n" +
	"\x02\x03\x01\x12\x05admin\x92\xb5\x18\x17\x1a\x02id:\acatalog:\bprovider\xa2\xb5\x18\x0eGet a provider\xaa\xb5\x18\tProviders\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/catalog/providers/{id}\x90\x02\x01\x12\xb1\x01\n" +
	"\n" +
	"ListModels\x12\".tars.catalog.v1.ListModelsRequest\x1a#.tars.catalog.v1.ListModelsResponse\"Z\x8a\xb5\x18\v\n" +
	"\x02\x03\x01\x12\x05admin\x92\xb5\x18\x11:\acatalog:\x06models\xa2\xb5\x18\vList models\xaa\xb5\x18\x06Models\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/catalog/models\x90\x02\x01\x12\xb3\x01\n" +
	"\bGetModel\x12 .tars.catalog.v1.GetModelRequest\x1a!.tars.catalog.v1.GetModelResponse\"b\x8a\xb5\x18\v\n" +
	"\x02\x03\x01\x12\x05admin\x92\xb5\x18\x14\x1a\x02id:\acatalog:\x05model\xa2\xb5\x18\vGet a model\xaa\xb5\x18\x06Models\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/catalog/models/{id}\x90\x02\x01\x12\xd0\x01\n" +
	"\x0eUpsertProvider\x12&.tars.catalog.v1.UpsertProviderRequest\x1a\x19.tars.catalog.v1.Provider\"{\x8a\xb5\x18\v\n" +
	"\x02\x03\x01\x12\x05admin\x92\xb5\x18\x1c:\acatalog:\tproviders:\x06upsert\xa2\xb5\x18\x1bCreate or update a provider\xaa\xb5\x18\tProviders\x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/v1/catalog/providers\x12\xbb\x01\n" +
	"\vUpsertModel\x12#.tars.catalog.v1.UpsertModelRequest\x1a\x16.tars.catalog.v1.Model\"o\x8a\xb5\x18\v\n" +
	"\x02\x03\x01\x12\x05admin\x92\xb5\x18\x19:\acatalog:\x06models:\x06upsert\xa2\xb5\x18\x18Create or update a model\xaa\xb5\x18\x06Models\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/v1/catalog/models\x12\xf9\x01\n" +
	"\x15SetProviderCredential\x12-.tars.catalog.v1.SetProviderCredentialRequest\x1a\x19.tars.catalog.v1.Provider\"\x95\x01\x8a\xb5\x18\v\n" +
	"\x02\x03\x01\x12\x05admin\x92\xb5\x18(\x1a\x02id:\acatalog:\tproviders:\x0eset-credential\xa2\xb5\x18\x19Set a provider credential\xaa\xb5\x18\tProviders\x82\xd3\xe4\x93\x02*:\x01*\"%/v1/catalog/providers/{id}/credential\x12\xc9\x01\n" +
	"\x0eDeleteProvider\x12&.tars.catalog.v1.DeleteProviderRequest\x1a\x16.google.protobuf.Empty\"w\x8a\xb5\x18\v\n" +
	"\x02\x03\x01\x12\x05admin\x92\xb5\x18 \x1a\x02id:\acatalog:\tproviders:\x06delete\xa2\xb5\x18\x11Delete a provider\xaa\xb5\x18\tProviders\x82\xd3\xe4\x93\x02\x1c*\x1a/v1/catalog/providers/{id}\x12\xb7\x01\n" +
	"\vDeleteModel\x12#.tars.catalog.v1.DeleteModelRequest\x1a\x16.google.protobuf.Empty\"k\x8a\xb5\x18\v\n" +
	"\x02\x03\x01\x12\x05admin\x92\xb5\x18\x1d\x1a\x02id:\acatalog:\x06models:\x06delete\xa2\xb5\x18\x0eDelete a model\xaa\xb5\x18\x06Models\x82\xd3\xe4\x93\x02\x19*\x17/v1/catalog/models/{id}\x12\x9b\x02\n" +
	"\x14AssignModelToProject\x12,.tars.catalog.v1.AssignModelToProjectRequest\x1a-.tars.catalog.v1.AssignModelToProjectResponse\"\xa5\x01\x8a\xb5\x18\x13\n" +
	"\x02\x03\x01\x12\rproject_owner\x92\xb5\x18\x16:\aproject:\x06models:\x03add\xa2\xb5\x18\x1bAssign a model to a project\xaa\xb5\x18\x0eProject Models\x82\xd3\xe4\x93\x02=:\x01*\"8/v1/customers/{customer_id}/projects/{project_id}/models\x12\xfc\x01\n" +
	"\x11ListProjectModels\x12).tars.catalog.v1.ListProjectModelsRequest\x1a*.tars.catalog.v1.ListProjectModelsResponse\"\x8f\x01\x8a\xb5\x18\x04\n" +
	"\x02\x03\x01\x92\xb5\x18\x17:\aproject:\x06models:\x04list\xa2\xb5\x18\x13List project models\xaa\xb5\x18\x0eProject Models\x82\xd3\xe4\x93\x02:\x128/v1/customers/{customer_id}/projects/{project_id}/models\x90\x02\x01\x12\xb6\x02\n" +
	"\x18UnassignModelFromProject\x120.tars.catalog.v1.UnassignModelFromProjectRequest\x1a1.tars.catalog.v1.UnassignModelFromProjectResponse\"\xb4\x01\x8a\xb5\x18\x13\n" +
	"\x02\x03\x01\x12\rproject_owner\x92\xb5\x18\x19:\aproject:\x06models:\x06remove\xa2\xb5\x18\x1fUnassign a model from a project\xaa\xb5\x18\x0eProject Models\x82\xd3\xe4\x93\x02E*C/v1/customers/{customer_id}/projects/{project_id}/models/{model_id}B\xbc\x01\n" +
	"\x13com.tars.catalog.v1B\fCatalogProtoP\x01Z9github.com/tetrateio/fraser/api/tars/catalog/v1;catalogv1\xa2\x02\x03TCX\xaa\x02\x0fTars.Catalog.V1\xca\x02\x0fTars\\Catalog\\V1\xe2\x02\x1bTars\\Catalog\\V1\\GPBMetadata\xea\x02\x11Tars::Catalog::V1b\x06proto3"

var (
	file_tars_catalog_v1_catalog_proto_rawDescOnce sync.Once
	file_tars_catalog_v1_catalog_proto_rawDescData []byte
)

func file_tars_catalog_v1_catalog_proto_rawDescGZIP() []byte {
	file_tars_catalog_v1_catalog_proto_rawDescOnce.Do(func() {
		file_tars_catalog_v1_catalog_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_tars_catalog_v1_catalog_proto_rawDesc), len(file_tars_catalog_v1_catalog_proto_rawDesc)))
	})
	return file_tars_catalog_v1_catalog_proto_rawDescData
}

var file_tars_catalog_v1_catalog_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
var file_tars_catalog_v1_catalog_proto_goTypes = []any{
	(*Provider)(nil),                         // 0: tars.catalog.v1.Provider
	(*Pricing)(nil),                          // 1: tars.catalog.v1.Pricing
	(*Model)(nil),                            // 2: tars.catalog.v1.Model
	(*ListProvidersRequest)(nil),             // 3: tars.catalog.v1.ListProvidersRequest
	(*ListProvidersResponse)(nil),            // 4: tars.catalog.v1.ListProvidersResponse
	(*GetProviderRequest)(nil),               // 5: tars.catalog.v1.GetProviderRequest
	(*GetProviderResponse)(nil),              // 6: tars.catalog.v1.GetProviderResponse
	(*ListModelsRequest)(nil),                // 7: tars.catalog.v1.ListModelsRequest
	(*ListModelsResponse)(nil),               // 8: tars.catalog.v1.ListModelsResponse
	(*GetModelRequest)(nil),                  // 9: tars.catalog.v1.GetModelRequest
	(*GetModelResponse)(nil),                 // 10: tars.catalog.v1.GetModelResponse
	(*ProjectModelEntry)(nil),                // 11: tars.catalog.v1.ProjectModelEntry
	(*UpsertProviderRequest)(nil),            // 12: tars.catalog.v1.UpsertProviderRequest
	(*UpsertModelRequest)(nil),               // 13: tars.catalog.v1.UpsertModelRequest
	(*SetProviderCredentialRequest)(nil),     // 14: tars.catalog.v1.SetProviderCredentialRequest
	(*DeleteProviderRequest)(nil),            // 15: tars.catalog.v1.DeleteProviderRequest
	(*DeleteModelRequest)(nil),               // 16: tars.catalog.v1.DeleteModelRequest
	(*AssignModelToProjectRequest)(nil),      // 17: tars.catalog.v1.AssignModelToProjectRequest
	(*AssignModelToProjectResponse)(nil),     // 18: tars.catalog.v1.AssignModelToProjectResponse
	(*ListProjectModelsRequest)(nil),         // 19: tars.catalog.v1.ListProjectModelsRequest
	(*ListProjectModelsResponse)(nil),        // 20: tars.catalog.v1.ListProjectModelsResponse
	(*UnassignModelFromProjectRequest)(nil),  // 21: tars.catalog.v1.UnassignModelFromProjectRequest
	(*UnassignModelFromProjectResponse)(nil), // 22: tars.catalog.v1.UnassignModelFromProjectResponse
	(*timestamppb.Timestamp)(nil),            // 23: google.protobuf.Timestamp
	(*v1.PageRequest)(nil),                   // 24: tars.common.v1.PageRequest
	(*v1.PageResponse)(nil),                  // 25: tars.common.v1.PageResponse
	(*emptypb.Empty)(nil),                    // 26: google.protobuf.Empty
}
var file_tars_catalog_v1_catalog_proto_depIdxs = []int32{
	23, // 0: tars.catalog.v1.Provider.created_at:type_name -> google.protobuf.Timestamp
	23, // 1: tars.catalog.v1.Provider.updated_at:type_name -> google.protobuf.Timestamp
	1,  // 2: tars.catalog.v1.Model.pricing:type_name -> tars.catalog.v1.Pricing
	23, // 3: tars.catalog.v1.Model.created_at:type_name -> google.protobuf.Timestamp
	23, // 4: tars.catalog.v1.Model.updated_at:type_name -> google.protobuf.Timestamp
	24, // 5: tars.catalog.v1.ListProvidersRequest.page:type_name -> tars.common.v1.PageRequest
	0,  // 6: tars.catalog.v1.ListProvidersResponse.providers:type_name -> tars.catalog.v1.Provider
	25, // 7: tars.catalog.v1.ListProvidersResponse.page:type_name -> tars.common.v1.PageResponse
	0,  // 8: tars.catalog.v1.GetProviderResponse.provider:type_name -> tars.catalog.v1.Provider
	24, // 9: tars.catalog.v1.ListModelsRequest.page:type_name -> tars.common.v1.PageRequest
	2,  // 10: tars.catalog.v1.ListModelsResponse.models:type_name -> tars.catalog.v1.Model
	25, // 11: tars.catalog.v1.ListModelsResponse.page:type_name -> tars.common.v1.PageResponse
	2,  // 12: tars.catalog.v1.GetModelResponse.model:type_name -> tars.catalog.v1.Model
	2,  // 13: tars.catalog.v1.ProjectModelEntry.model:type_name -> tars.catalog.v1.Model
	23, // 14: tars.catalog.v1.ProjectModelEntry.created_at:type_name -> google.protobuf.Timestamp
	11, // 15: tars.catalog.v1.AssignModelToProjectResponse.entry:type_name -> tars.catalog.v1.ProjectModelEntry
	11, // 16: tars.catalog.v1.ListProjectModelsResponse.entries:type_name -> tars.catalog.v1.ProjectModelEntry
	3,  // 17: tars.catalog.v1.CatalogService.ListProviders:input_type -> tars.catalog.v1.ListProvidersRequest
	5,  // 18: tars.catalog.v1.CatalogService.GetProvider:input_type -> tars.catalog.v1.GetProviderRequest
	7,  // 19: tars.catalog.v1.CatalogService.ListModels:input_type -> tars.catalog.v1.ListModelsRequest
	9,  // 20: tars.catalog.v1.CatalogService.GetModel:input_type -> tars.catalog.v1.GetModelRequest
	12, // 21: tars.catalog.v1.CatalogService.UpsertProvider:input_type -> tars.catalog.v1.UpsertProviderRequest
	13, // 22: tars.catalog.v1.CatalogService.UpsertModel:input_type -> tars.catalog.v1.UpsertModelRequest
	14, // 23: tars.catalog.v1.CatalogService.SetProviderCredential:input_type -> tars.catalog.v1.SetProviderCredentialRequest
	15, // 24: tars.catalog.v1.CatalogService.DeleteProvider:input_type -> tars.catalog.v1.DeleteProviderRequest
	16, // 25: tars.catalog.v1.CatalogService.DeleteModel:input_type -> tars.catalog.v1.DeleteModelRequest
	17, // 26: tars.catalog.v1.CatalogService.AssignModelToProject:input_type -> tars.catalog.v1.AssignModelToProjectRequest
	19, // 27: tars.catalog.v1.CatalogService.ListProjectModels:input_type -> tars.catalog.v1.ListProjectModelsRequest
	21, // 28: tars.catalog.v1.CatalogService.UnassignModelFromProject:input_type -> tars.catalog.v1.UnassignModelFromProjectRequest
	4,  // 29: tars.catalog.v1.CatalogService.ListProviders:output_type -> tars.catalog.v1.ListProvidersResponse
	6,  // 30: tars.catalog.v1.CatalogService.GetProvider:output_type -> tars.catalog.v1.GetProviderResponse
	8,  // 31: tars.catalog.v1.CatalogService.ListModels:output_type -> tars.catalog.v1.ListModelsResponse
	10, // 32: tars.catalog.v1.CatalogService.GetModel:output_type -> tars.catalog.v1.GetModelResponse
	0,  // 33: tars.catalog.v1.CatalogService.UpsertProvider:output_type -> tars.catalog.v1.Provider
	2,  // 34: tars.catalog.v1.CatalogService.UpsertModel:output_type -> tars.catalog.v1.Model
	0,  // 35: tars.catalog.v1.CatalogService.SetProviderCredential:output_type -> tars.catalog.v1.Provider
	26, // 36: tars.catalog.v1.CatalogService.DeleteProvider:output_type -> google.protobuf.Empty
	26, // 37: tars.catalog.v1.CatalogService.DeleteModel:output_type -> google.protobuf.Empty
	18, // 38: tars.catalog.v1.CatalogService.AssignModelToProject:output_type -> tars.catalog.v1.AssignModelToProjectResponse
	20, // 39: tars.catalog.v1.CatalogService.ListProjectModels:output_type -> tars.catalog.v1.ListProjectModelsResponse
	22, // 40: tars.catalog.v1.CatalogService.UnassignModelFromProject:output_type -> tars.catalog.v1.UnassignModelFromProjectResponse
	29, // [29:41] is the sub-list for method output_type
	17, // [17:29] is the sub-list for method input_type
	17, // [17:17] is the sub-list for extension type_name
	17, // [17:17] is the sub-list for extension extendee
	0,  // [0:17] is the sub-list for field type_name
}

func init() { file_tars_catalog_v1_catalog_proto_init() }
func file_tars_catalog_v1_catalog_proto_init() {
	if File_tars_catalog_v1_catalog_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_tars_catalog_v1_catalog_proto_rawDesc), len(file_tars_catalog_v1_catalog_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   23,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_tars_catalog_v1_catalog_proto_goTypes,
		DependencyIndexes: file_tars_catalog_v1_catalog_proto_depIdxs,
		MessageInfos:      file_tars_catalog_v1_catalog_proto_msgTypes,
	}.Build()
	File_tars_catalog_v1_catalog_proto = out.File
	file_tars_catalog_v1_catalog_proto_goTypes = nil
	file_tars_catalog_v1_catalog_proto_depIdxs = nil
}
