// TelemetryService -- public CRUD surface for per-user OTel export
// configurations (sink URL + protocol + auth) the management plane
// forwards traces/metrics/logs to.
//
// Underlying storage is the existing `telemetry_configs` table the
// admin.v1 AdminService already manages. This file promotes those RPCs
// onto the proto-driven IA surface; the handler in
// `svc/internal/telemetrysvc/` is a thin shim that delegates to the
// same TelemetryConfigRepository -- no parallel SQL.
//
// Scoping model: telemetry config now has two scopes that share the same
// (customer, project) address:
//   - PER-USER config (Create/List/Get/Update/Delete) is account-tier:
//     every member manages their OWN config, keyed by the authenticated
//     caller's user_id.
//   - PROJECT-level config (SetProjectTelemetryConfig /
//     GetProjectTelemetryConfig) is project_owner-tier: the project owner
//     sets a shared default for the project.
// At telemetry-emit time the resolver PREFERS the user's own config and
// falls back to the project-level config (see telemetrysvc.ResolveEffective
// and the consumer wiring note there).
//
// Storage note: the underlying `telemetry_configs` table is user-keyed
// (one row per (user_id, telemetry_type)). Project-level rows reuse that
// table under a deterministic synthetic owner key
// ("proj::<customer>::<project>") so no schema migration to the admin
// telemetry table is required; the public surface and the override
// resolution live in the telemetrysvc shim.

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

package telemetryv1

import (
	_ "github.com/tetrateio/agentrouter-go/genapi/api/tars/auth/v1"
	_ "github.com/tetrateio/agentrouter-go/genapi/api/tars/cli/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)
)

// TelemetryConfig is one configuration row -- a sink + protocol +
// optional auth credentials.
type TelemetryConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// id is the server-assigned unique identifier for this config row.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// user_id is the owning (authenticated) caller; the row key.
	UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// telemetry_type partitions sinks for traces, metrics, logs.
	TelemetryType string `protobuf:"bytes,3,opt,name=telemetry_type,json=telemetryType,proto3" json:"telemetry_type,omitempty"`
	// sink_url is the destination OTLP endpoint.
	SinkUrl string `protobuf:"bytes,4,opt,name=sink_url,json=sinkUrl,proto3" json:"sink_url,omitempty"`
	// protocol is one of: grpc, http/json, http/protobuf.
	Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// auth_type is one of: none, bearer, basic, api_key.
	AuthType string `protobuf:"bytes,6,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"`
	// auth_value is a secret reference. Returned on Get / Create. Empty
	// on List (avoid leakage in bulk reads).
	AuthValue string `protobuf:"bytes,7,opt,name=auth_value,json=authValue,proto3" json:"auth_value,omitempty"`
	// api_key_header is the header name for api_key auth (defaults to
	// X-API-Key).
	ApiKeyHeader string `protobuf:"bytes,8,opt,name=api_key_header,json=apiKeyHeader,proto3" json:"api_key_header,omitempty"`
	// enabled indicates whether exports to this sink are active.
	Enabled bool `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// last_checked_at is when the sink's reachability was last probed.
	LastCheckedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_checked_at,json=lastCheckedAt,proto3" json:"last_checked_at,omitempty"`
	// status is one of: connected, disconnected, error, testing.
	Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	// created_at is when this config was first created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// updated_at is when this config was last modified.
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*TelemetryConfig) ProtoMessage() {}

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

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

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

func (x *TelemetryConfig) GetTelemetryType() string {
	if x != nil {
		return x.TelemetryType
	}
	return ""
}

func (x *TelemetryConfig) GetSinkUrl() string {
	if x != nil {
		return x.SinkUrl
	}
	return ""
}

func (x *TelemetryConfig) GetProtocol() string {
	if x != nil {
		return x.Protocol
	}
	return ""
}

func (x *TelemetryConfig) GetAuthType() string {
	if x != nil {
		return x.AuthType
	}
	return ""
}

func (x *TelemetryConfig) GetAuthValue() string {
	if x != nil {
		return x.AuthValue
	}
	return ""
}

func (x *TelemetryConfig) GetApiKeyHeader() string {
	if x != nil {
		return x.ApiKeyHeader
	}
	return ""
}

func (x *TelemetryConfig) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *TelemetryConfig) GetLastCheckedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.LastCheckedAt
	}
	return nil
}

func (x *TelemetryConfig) GetStatus() string {
	if x != nil {
		return x.Status
	}
	return ""
}

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

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

type CreateTelemetryConfigRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// customer_id scopes the request path; used for path-level validation.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// project_id scopes the request path; used for path-level validation.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// telemetry_type partitions sinks; defaults to "traces" when empty.
	TelemetryType string `protobuf:"bytes,3,opt,name=telemetry_type,json=telemetryType,proto3" json:"telemetry_type,omitempty"`
	// endpoint is the OTLP sink URL.
	Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// protocol defaults to "http/protobuf" when empty.
	Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// auth_type defaults to "none" when empty.
	AuthType string `protobuf:"bytes,6,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"`
	// auth_value is the plaintext credential to encrypt at rest.
	AuthValue string `protobuf:"bytes,7,opt,name=auth_value,json=authValue,proto3" json:"auth_value,omitempty"`
	// api_key_header is the header name when auth_type is api_key.
	ApiKeyHeader string `protobuf:"bytes,8,opt,name=api_key_header,json=apiKeyHeader,proto3" json:"api_key_header,omitempty"`
	// headers is sugar for the CLI: any of these are appended as basic
	// headers on outbound exports. Currently advisory -- the backing
	// configuration carries auth_type + auth_value.
	Headers map[string]string `protobuf:"bytes,9,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// enabled toggles the configuration; defaults to true when unset.
	// Use the "yes"/"no"/"true"/"false" CLI form; absent is treated as
	// true.
	Enabled       bool `protobuf:"varint,10,opt,name=enabled,proto3" json:"enabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateTelemetryConfigRequest) ProtoMessage() {}

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

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

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

func (x *CreateTelemetryConfigRequest) GetTelemetryType() string {
	if x != nil {
		return x.TelemetryType
	}
	return ""
}

func (x *CreateTelemetryConfigRequest) GetEndpoint() string {
	if x != nil {
		return x.Endpoint
	}
	return ""
}

func (x *CreateTelemetryConfigRequest) GetProtocol() string {
	if x != nil {
		return x.Protocol
	}
	return ""
}

func (x *CreateTelemetryConfigRequest) GetAuthType() string {
	if x != nil {
		return x.AuthType
	}
	return ""
}

func (x *CreateTelemetryConfigRequest) GetAuthValue() string {
	if x != nil {
		return x.AuthValue
	}
	return ""
}

func (x *CreateTelemetryConfigRequest) GetApiKeyHeader() string {
	if x != nil {
		return x.ApiKeyHeader
	}
	return ""
}

func (x *CreateTelemetryConfigRequest) GetHeaders() map[string]string {
	if x != nil {
		return x.Headers
	}
	return nil
}

func (x *CreateTelemetryConfigRequest) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

type ListTelemetryConfigsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// customer_id scopes the request path; used for path-level validation.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// project_id scopes the request path; used for path-level validation.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Optional telemetry_type filter.
	TelemetryType string `protobuf:"bytes,3,opt,name=telemetry_type,json=telemetryType,proto3" json:"telemetry_type,omitempty"`
	// enabled is a tri-state encoded as a string: "" (no filter), "true",
	// "false". Avoids `optional bool` because the CLI generator does not
	// yet emit pointer assignments.
	Enabled       string `protobuf:"bytes,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListTelemetryConfigsRequest) ProtoMessage() {}

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

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

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

func (x *ListTelemetryConfigsRequest) GetTelemetryType() string {
	if x != nil {
		return x.TelemetryType
	}
	return ""
}

func (x *ListTelemetryConfigsRequest) GetEnabled() string {
	if x != nil {
		return x.Enabled
	}
	return ""
}

type ListTelemetryConfigsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// configs is the matching set of configs owned by the caller.
	Configs []*TelemetryConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	// total is the count of returned configs.
	Total         int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListTelemetryConfigsResponse) ProtoMessage() {}

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

func (x *ListTelemetryConfigsResponse) GetConfigs() []*TelemetryConfig {
	if x != nil {
		return x.Configs
	}
	return nil
}

func (x *ListTelemetryConfigsResponse) GetTotal() int32 {
	if x != nil {
		return x.Total
	}
	return 0
}

type GetTelemetryConfigRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// customer_id scopes the request path; used for path-level validation.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// project_id scopes the request path; used for path-level validation.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// config_id is the id of the config to fetch.
	ConfigId      string `protobuf:"bytes,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetTelemetryConfigRequest) ProtoMessage() {}

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

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

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

func (x *GetTelemetryConfigRequest) GetConfigId() string {
	if x != nil {
		return x.ConfigId
	}
	return ""
}

type UpdateTelemetryConfigRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// customer_id scopes the request path; used for path-level validation.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// project_id scopes the request path; used for path-level validation.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// config_id is the id of the config to update.
	ConfigId string `protobuf:"bytes,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// Empty string means "leave unchanged".
	Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// protocol -- empty leaves unchanged; otherwise grpc, http/json, http/protobuf.
	Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// auth_type -- empty leaves unchanged; otherwise none, bearer, basic, api_key.
	AuthType string `protobuf:"bytes,6,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"`
	// auth_value -- new plaintext credential to encrypt; empty leaves unchanged.
	AuthValue string `protobuf:"bytes,7,opt,name=auth_value,json=authValue,proto3" json:"auth_value,omitempty"`
	// api_key_header -- header name for api_key auth; empty leaves unchanged.
	ApiKeyHeader string `protobuf:"bytes,8,opt,name=api_key_header,json=apiKeyHeader,proto3" json:"api_key_header,omitempty"`
	// enabled tri-state encoded as "" (unchanged), "true", "false".
	Enabled string `protobuf:"bytes,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// status -- reported connection state; empty leaves unchanged.
	Status        string `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateTelemetryConfigRequest) ProtoMessage() {}

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

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

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

func (x *UpdateTelemetryConfigRequest) GetConfigId() string {
	if x != nil {
		return x.ConfigId
	}
	return ""
}

func (x *UpdateTelemetryConfigRequest) GetEndpoint() string {
	if x != nil {
		return x.Endpoint
	}
	return ""
}

func (x *UpdateTelemetryConfigRequest) GetProtocol() string {
	if x != nil {
		return x.Protocol
	}
	return ""
}

func (x *UpdateTelemetryConfigRequest) GetAuthType() string {
	if x != nil {
		return x.AuthType
	}
	return ""
}

func (x *UpdateTelemetryConfigRequest) GetAuthValue() string {
	if x != nil {
		return x.AuthValue
	}
	return ""
}

func (x *UpdateTelemetryConfigRequest) GetApiKeyHeader() string {
	if x != nil {
		return x.ApiKeyHeader
	}
	return ""
}

func (x *UpdateTelemetryConfigRequest) GetEnabled() string {
	if x != nil {
		return x.Enabled
	}
	return ""
}

func (x *UpdateTelemetryConfigRequest) GetStatus() string {
	if x != nil {
		return x.Status
	}
	return ""
}

type DeleteTelemetryConfigRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// customer_id scopes the request path; used for path-level validation.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// project_id scopes the request path; used for path-level validation.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// config_id is the id of the config to delete.
	ConfigId      string `protobuf:"bytes,3,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteTelemetryConfigRequest) ProtoMessage() {}

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

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

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

func (x *DeleteTelemetryConfigRequest) GetConfigId() string {
	if x != nil {
		return x.ConfigId
	}
	return ""
}

type SetProjectTelemetryConfigRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// customer_id identifies the project's customer.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// project_id identifies the project whose shared config is being set.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// telemetry_type partitions sinks; defaults to "traces" when empty.
	TelemetryType string `protobuf:"bytes,3,opt,name=telemetry_type,json=telemetryType,proto3" json:"telemetry_type,omitempty"`
	// endpoint is the OTLP sink URL.
	Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// protocol defaults to "http/protobuf" when empty.
	Protocol string `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// auth_type defaults to "none" when empty.
	AuthType string `protobuf:"bytes,6,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"`
	// auth_value is the plaintext credential to encrypt at rest.
	AuthValue string `protobuf:"bytes,7,opt,name=auth_value,json=authValue,proto3" json:"auth_value,omitempty"`
	// api_key_header is the header name when auth_type is api_key.
	ApiKeyHeader string `protobuf:"bytes,8,opt,name=api_key_header,json=apiKeyHeader,proto3" json:"api_key_header,omitempty"`
	// enabled toggles the configuration; defaults to true when unset.
	Enabled       bool `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SetProjectTelemetryConfigRequest) ProtoMessage() {}

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

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

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

func (x *SetProjectTelemetryConfigRequest) GetTelemetryType() string {
	if x != nil {
		return x.TelemetryType
	}
	return ""
}

func (x *SetProjectTelemetryConfigRequest) GetEndpoint() string {
	if x != nil {
		return x.Endpoint
	}
	return ""
}

func (x *SetProjectTelemetryConfigRequest) GetProtocol() string {
	if x != nil {
		return x.Protocol
	}
	return ""
}

func (x *SetProjectTelemetryConfigRequest) GetAuthType() string {
	if x != nil {
		return x.AuthType
	}
	return ""
}

func (x *SetProjectTelemetryConfigRequest) GetAuthValue() string {
	if x != nil {
		return x.AuthValue
	}
	return ""
}

func (x *SetProjectTelemetryConfigRequest) GetApiKeyHeader() string {
	if x != nil {
		return x.ApiKeyHeader
	}
	return ""
}

func (x *SetProjectTelemetryConfigRequest) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

type GetProjectTelemetryConfigRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// customer_id identifies the project's customer.
	CustomerId string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	// project_id identifies the project whose shared config is requested.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// telemetry_type partitions sinks; defaults to "traces" when empty.
	TelemetryType string `protobuf:"bytes,3,opt,name=telemetry_type,json=telemetryType,proto3" json:"telemetry_type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetProjectTelemetryConfigRequest) ProtoMessage() {}

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

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

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

func (x *GetProjectTelemetryConfigRequest) GetTelemetryType() string {
	if x != nil {
		return x.TelemetryType
	}
	return ""
}

var File_tars_telemetry_v1_telemetry_proto protoreflect.FileDescriptor

const file_tars_telemetry_v1_telemetry_proto_rawDesc = "" +
	"\n" +
	"!tars/telemetry/v1/telemetry.proto\x12\x11tars.telemetry.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\x17tars/docs/v1/docs.proto\"\xe6\x03\n" +
	"\x0fTelemetryConfig\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
	"\auser_id\x18\x02 \x01(\tR\x06userId\x12%\n" +
	"\x0etelemetry_type\x18\x03 \x01(\tR\rtelemetryType\x12\x19\n" +
	"\bsink_url\x18\x04 \x01(\tR\asinkUrl\x12\x1a\n" +
	"\bprotocol\x18\x05 \x01(\tR\bprotocol\x12\x1b\n" +
	"\tauth_type\x18\x06 \x01(\tR\bauthType\x12\x1d\n" +
	"\n" +
	"auth_value\x18\a \x01(\tR\tauthValue\x12$\n" +
	"\x0eapi_key_header\x18\b \x01(\tR\fapiKeyHeader\x12\x18\n" +
	"\aenabled\x18\t \x01(\bR\aenabled\x12B\n" +
	"\x0flast_checked_at\x18\n" +
	" \x01(\v2\x1a.google.protobuf.TimestampR\rlastCheckedAt\x12\x16\n" +
	"\x06status\x18\v \x01(\tR\x06status\x129\n" +
	"\n" +
	"created_at\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
	"\n" +
	"updated_at\x18\r \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xdc\x03\n" +
	"\x1cCreateTelemetryConfigRequest\x12$\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x03\xe0A\x02R\n" +
	"customerId\x12\"\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\x03\xe0A\x02R\tprojectId\x12%\n" +
	"\x0etelemetry_type\x18\x03 \x01(\tR\rtelemetryType\x12\x1f\n" +
	"\bendpoint\x18\x04 \x01(\tB\x03\xe0A\x02R\bendpoint\x12\x1a\n" +
	"\bprotocol\x18\x05 \x01(\tR\bprotocol\x12\x1b\n" +
	"\tauth_type\x18\x06 \x01(\tR\bauthType\x12\x1d\n" +
	"\n" +
	"auth_value\x18\a \x01(\tR\tauthValue\x12$\n" +
	"\x0eapi_key_header\x18\b \x01(\tR\fapiKeyHeader\x12V\n" +
	"\aheaders\x18\t \x03(\v2<.tars.telemetry.v1.CreateTelemetryConfigRequest.HeadersEntryR\aheaders\x12\x18\n" +
	"\aenabled\x18\n" +
	" \x01(\bR\aenabled\x1a:\n" +
	"\fHeadersEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa8\x01\n" +
	"\x1bListTelemetryConfigsRequest\x12$\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x03\xe0A\x02R\n" +
	"customerId\x12\"\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\x03\xe0A\x02R\tprojectId\x12%\n" +
	"\x0etelemetry_type\x18\x03 \x01(\tR\rtelemetryType\x12\x18\n" +
	"\aenabled\x18\x04 \x01(\tR\aenabled\"r\n" +
	"\x1cListTelemetryConfigsResponse\x12<\n" +
	"\aconfigs\x18\x01 \x03(\v2\".tars.telemetry.v1.TelemetryConfigR\aconfigs\x12\x14\n" +
	"\x05total\x18\x02 \x01(\x05R\x05total\"\x87\x01\n" +
	"\x19GetTelemetryConfigRequest\x12$\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x03\xe0A\x02R\n" +
	"customerId\x12\"\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\x03\xe0A\x02R\tprojectId\x12 \n" +
	"\tconfig_id\x18\x03 \x01(\tB\x03\xe0A\x02R\bconfigId\"\xd6\x02\n" +
	"\x1cUpdateTelemetryConfigRequest\x12$\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x03\xe0A\x02R\n" +
	"customerId\x12\"\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\x03\xe0A\x02R\tprojectId\x12 \n" +
	"\tconfig_id\x18\x03 \x01(\tB\x03\xe0A\x02R\bconfigId\x12\x1a\n" +
	"\bendpoint\x18\x04 \x01(\tR\bendpoint\x12\x1a\n" +
	"\bprotocol\x18\x05 \x01(\tR\bprotocol\x12\x1b\n" +
	"\tauth_type\x18\x06 \x01(\tR\bauthType\x12\x1d\n" +
	"\n" +
	"auth_value\x18\a \x01(\tR\tauthValue\x12$\n" +
	"\x0eapi_key_header\x18\b \x01(\tR\fapiKeyHeader\x12\x18\n" +
	"\aenabled\x18\t \x01(\tR\aenabled\x12\x16\n" +
	"\x06status\x18\n" +
	" \x01(\tR\x06status\"\x8a\x01\n" +
	"\x1cDeleteTelemetryConfigRequest\x12$\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x03\xe0A\x02R\n" +
	"customerId\x12\"\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\x03\xe0A\x02R\tprojectId\x12 \n" +
	"\tconfig_id\x18\x03 \x01(\tB\x03\xe0A\x02R\bconfigId\"\xcc\x02\n" +
	" SetProjectTelemetryConfigRequest\x12$\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x03\xe0A\x02R\n" +
	"customerId\x12\"\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\x03\xe0A\x02R\tprojectId\x12%\n" +
	"\x0etelemetry_type\x18\x03 \x01(\tR\rtelemetryType\x12\x1f\n" +
	"\bendpoint\x18\x04 \x01(\tB\x03\xe0A\x02R\bendpoint\x12\x1a\n" +
	"\bprotocol\x18\x05 \x01(\tR\bprotocol\x12\x1b\n" +
	"\tauth_type\x18\x06 \x01(\tR\bauthType\x12\x1d\n" +
	"\n" +
	"auth_value\x18\a \x01(\tR\tauthValue\x12$\n" +
	"\x0eapi_key_header\x18\b \x01(\tR\fapiKeyHeader\x12\x18\n" +
	"\aenabled\x18\t \x01(\bR\aenabled\"\x93\x01\n" +
	" GetProjectTelemetryConfigRequest\x12$\n" +
	"\vcustomer_id\x18\x01 \x01(\tB\x03\xe0A\x02R\n" +
	"customerId\x12\"\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tB\x03\xe0A\x02R\tprojectId\x12%\n" +
	"\x0etelemetry_type\x18\x03 \x01(\tR\rtelemetryType2\xaf\x0f\n" +
	"\x10TelemetryService\x12\x85\x02\n" +
	"\x15CreateTelemetryConfig\x12/.tars.telemetry.v1.CreateTelemetryConfigRequest\x1a\".tars.telemetry.v1.TelemetryConfig\"\x96\x01\x8a\xb5\x18\x04\n" +
	"\x02\x03\x01\x92\xb5\x18\x13:\ttelemetry:\x06create\xa2\xb5\x18 Create a telemetry export config\xaa\xb5\x18\tTelemetry\x82\xd3\xe4\x93\x02@:\x01*\";/v1/customers/{customer_id}/projects/{project_id}/telemetry\x12\x8b\x02\n" +
	"\x14ListTelemetryConfigs\x12..tars.telemetry.v1.ListTelemetryConfigsRequest\x1a/.tars.telemetry.v1.ListTelemetryConfigsResponse\"\x91\x01\x8a\xb5\x18\x04\n" +
	"\x02\x03\x01\x92\xb5\x18\x11:\ttelemetry:\x04list\xa2\xb5\x18\x1dList telemetry export configs\xaa\xb5\x18\tTelemetry\x82\xd3\xe4\x93\x02=\x12;/v1/customers/{customer_id}/projects/{project_id}/telemetry\x90\x02\x01\x12\x85\x02\n" +
	"\x12GetTelemetryConfig\x12,.tars.telemetry.v1.GetTelemetryConfigRequest\x1a\".tars.telemetry.v1.TelemetryConfig\"\x9c\x01\x8a\xb5\x18\x04\n" +
	"\x02\x03\x01\x92\xb5\x18\x10:\ttelemetry:\x03get\xa2\xb5\x18\x1dGet a telemetry export config\xaa\xb5\x18\tTelemetry\x82\xd3\xe4\x93\x02I\x12G/v1/customers/{customer_id}/projects/{project_id}/telemetry/{config_id}\x90\x02\x01\x12\x91\x02\n" +
	"\x15UpdateTelemetryConfig\x12/.tars.telemetry.v1.UpdateTelemetryConfigRequest\x1a\".tars.telemetry.v1.TelemetryConfig\"\xa2\x01\x8a\xb5\x18\x04\n" +
	"\x02\x03\x01\x92\xb5\x18\x13:\ttelemetry:\x06update\xa2\xb5\x18 Update a telemetry export config\xaa\xb5\x18\tTelemetry\x82\xd3\xe4\x93\x02L:\x01*2G/v1/customers/{customer_id}/projects/{project_id}/telemetry/{config_id}\x12\x82\x02\n" +
	"\x15DeleteTelemetryConfig\x12/.tars.telemetry.v1.DeleteTelemetryConfigRequest\x1a\x16.google.protobuf.Empty\"\x9f\x01\x8a\xb5\x18\x04\n" +
	"\x02\x03\x01\x92\xb5\x18\x13:\ttelemetry:\x06delete\xa2\xb5\x18 Delete a telemetry export config\xaa\xb5\x18\tTelemetry\x82\xd3\xe4\x93\x02I*G/v1/customers/{customer_id}/projects/{project_id}/telemetry/{config_id}\x12\xb0\x02\n" +
	"\x19SetProjectTelemetryConfig\x123.tars.telemetry.v1.SetProjectTelemetryConfigRequest\x1a\".tars.telemetry.v1.TelemetryConfig\"\xb9\x01\x8a\xb5\x18\x13\n" +
	"\x02\x03\x01\x12\rproject_owner\x92\xb5\x18\x18:\ttelemetry:\vset-project\xa2\xb5\x18'Set the project telemetry export config\xaa\xb5\x18\tTelemetry\x82\xd3\xe4\x93\x02H:\x01*\x1aC/v1/customers/{customer_id}/projects/{project_id}/telemetry/project\x12\xb0\x02\n" +
	"\x19GetProjectTelemetryConfig\x123.tars.telemetry.v1.GetProjectTelemetryConfigRequest\x1a\".tars.telemetry.v1.TelemetryConfig\"\xb9\x01\x8a\xb5\x18\x13\n" +
	"\x02\x03\x01\x12\rproject_owner\x92\xb5\x18\x18:\ttelemetry:\vget-project\xa2\xb5\x18'Get the project telemetry export config\xaa\xb5\x18\tTelemetry\x82\xd3\xe4\x93\x02E\x12C/v1/customers/{customer_id}/projects/{project_id}/telemetry/project\x90\x02\x01B\xcc\x01\n" +
	"\x15com.tars.telemetry.v1B\x0eTelemetryProtoP\x01Z=github.com/tetrateio/fraser/api/tars/telemetry/v1;telemetryv1\xa2\x02\x03TTX\xaa\x02\x11Tars.Telemetry.V1\xca\x02\x11Tars\\Telemetry\\V1\xe2\x02\x1dTars\\Telemetry\\V1\\GPBMetadata\xea\x02\x13Tars::Telemetry::V1b\x06proto3"

var (
	file_tars_telemetry_v1_telemetry_proto_rawDescOnce sync.Once
	file_tars_telemetry_v1_telemetry_proto_rawDescData []byte
)

func file_tars_telemetry_v1_telemetry_proto_rawDescGZIP() []byte {
	file_tars_telemetry_v1_telemetry_proto_rawDescOnce.Do(func() {
		file_tars_telemetry_v1_telemetry_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_tars_telemetry_v1_telemetry_proto_rawDesc), len(file_tars_telemetry_v1_telemetry_proto_rawDesc)))
	})
	return file_tars_telemetry_v1_telemetry_proto_rawDescData
}

var file_tars_telemetry_v1_telemetry_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_tars_telemetry_v1_telemetry_proto_goTypes = []any{
	(*TelemetryConfig)(nil),                  // 0: tars.telemetry.v1.TelemetryConfig
	(*CreateTelemetryConfigRequest)(nil),     // 1: tars.telemetry.v1.CreateTelemetryConfigRequest
	(*ListTelemetryConfigsRequest)(nil),      // 2: tars.telemetry.v1.ListTelemetryConfigsRequest
	(*ListTelemetryConfigsResponse)(nil),     // 3: tars.telemetry.v1.ListTelemetryConfigsResponse
	(*GetTelemetryConfigRequest)(nil),        // 4: tars.telemetry.v1.GetTelemetryConfigRequest
	(*UpdateTelemetryConfigRequest)(nil),     // 5: tars.telemetry.v1.UpdateTelemetryConfigRequest
	(*DeleteTelemetryConfigRequest)(nil),     // 6: tars.telemetry.v1.DeleteTelemetryConfigRequest
	(*SetProjectTelemetryConfigRequest)(nil), // 7: tars.telemetry.v1.SetProjectTelemetryConfigRequest
	(*GetProjectTelemetryConfigRequest)(nil), // 8: tars.telemetry.v1.GetProjectTelemetryConfigRequest
	nil,                                      // 9: tars.telemetry.v1.CreateTelemetryConfigRequest.HeadersEntry
	(*timestamppb.Timestamp)(nil),            // 10: google.protobuf.Timestamp
	(*emptypb.Empty)(nil),                    // 11: google.protobuf.Empty
}
var file_tars_telemetry_v1_telemetry_proto_depIdxs = []int32{
	10, // 0: tars.telemetry.v1.TelemetryConfig.last_checked_at:type_name -> google.protobuf.Timestamp
	10, // 1: tars.telemetry.v1.TelemetryConfig.created_at:type_name -> google.protobuf.Timestamp
	10, // 2: tars.telemetry.v1.TelemetryConfig.updated_at:type_name -> google.protobuf.Timestamp
	9,  // 3: tars.telemetry.v1.CreateTelemetryConfigRequest.headers:type_name -> tars.telemetry.v1.CreateTelemetryConfigRequest.HeadersEntry
	0,  // 4: tars.telemetry.v1.ListTelemetryConfigsResponse.configs:type_name -> tars.telemetry.v1.TelemetryConfig
	1,  // 5: tars.telemetry.v1.TelemetryService.CreateTelemetryConfig:input_type -> tars.telemetry.v1.CreateTelemetryConfigRequest
	2,  // 6: tars.telemetry.v1.TelemetryService.ListTelemetryConfigs:input_type -> tars.telemetry.v1.ListTelemetryConfigsRequest
	4,  // 7: tars.telemetry.v1.TelemetryService.GetTelemetryConfig:input_type -> tars.telemetry.v1.GetTelemetryConfigRequest
	5,  // 8: tars.telemetry.v1.TelemetryService.UpdateTelemetryConfig:input_type -> tars.telemetry.v1.UpdateTelemetryConfigRequest
	6,  // 9: tars.telemetry.v1.TelemetryService.DeleteTelemetryConfig:input_type -> tars.telemetry.v1.DeleteTelemetryConfigRequest
	7,  // 10: tars.telemetry.v1.TelemetryService.SetProjectTelemetryConfig:input_type -> tars.telemetry.v1.SetProjectTelemetryConfigRequest
	8,  // 11: tars.telemetry.v1.TelemetryService.GetProjectTelemetryConfig:input_type -> tars.telemetry.v1.GetProjectTelemetryConfigRequest
	0,  // 12: tars.telemetry.v1.TelemetryService.CreateTelemetryConfig:output_type -> tars.telemetry.v1.TelemetryConfig
	3,  // 13: tars.telemetry.v1.TelemetryService.ListTelemetryConfigs:output_type -> tars.telemetry.v1.ListTelemetryConfigsResponse
	0,  // 14: tars.telemetry.v1.TelemetryService.GetTelemetryConfig:output_type -> tars.telemetry.v1.TelemetryConfig
	0,  // 15: tars.telemetry.v1.TelemetryService.UpdateTelemetryConfig:output_type -> tars.telemetry.v1.TelemetryConfig
	11, // 16: tars.telemetry.v1.TelemetryService.DeleteTelemetryConfig:output_type -> google.protobuf.Empty
	0,  // 17: tars.telemetry.v1.TelemetryService.SetProjectTelemetryConfig:output_type -> tars.telemetry.v1.TelemetryConfig
	0,  // 18: tars.telemetry.v1.TelemetryService.GetProjectTelemetryConfig:output_type -> tars.telemetry.v1.TelemetryConfig
	12, // [12:19] is the sub-list for method output_type
	5,  // [5:12] is the sub-list for method input_type
	5,  // [5:5] is the sub-list for extension type_name
	5,  // [5:5] is the sub-list for extension extendee
	0,  // [0:5] is the sub-list for field type_name
}

func init() { file_tars_telemetry_v1_telemetry_proto_init() }
func file_tars_telemetry_v1_telemetry_proto_init() {
	if File_tars_telemetry_v1_telemetry_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_tars_telemetry_v1_telemetry_proto_rawDesc), len(file_tars_telemetry_v1_telemetry_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   10,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_tars_telemetry_v1_telemetry_proto_goTypes,
		DependencyIndexes: file_tars_telemetry_v1_telemetry_proto_depIdxs,
		MessageInfos:      file_tars_telemetry_v1_telemetry_proto_msgTypes,
	}.Build()
	File_tars_telemetry_v1_telemetry_proto = out.File
	file_tars_telemetry_v1_telemetry_proto_goTypes = nil
	file_tars_telemetry_v1_telemetry_proto_depIdxs = nil
}
