// SDK-wrapper annotation extension types.
//
// The TARS Go SDK (sdks/go) ships hand-written ergonomic wrappers in
// services.go and PROTO-DRIVEN wrappers generated by tools/sdkgen into
// services_gen.go + client_gen.go. The generated shape is deterministic from
// the proto contract: the accessor (handle) name defaults to the service name
// minus the "Service" suffix (AdminService -> Admin) and each wrapper method
// name defaults to the RPC name. These two extensions let a proto author
// override those defaults IN the proto, so the ergonomic name lives next to
// the contract instead of in generator config.
//
// Field-number allocation (google.protobuf.{Service,Method}Options):
//   50001 -- tars.auth.v1.auth          (MethodOptions)
//   50002 -- tars.cli.v1.command        (MethodOptions)
//   50003 -- tars.cli.v1.field          (FieldOptions)
//   50004 -- tars.docs.v1.title         (MethodOptions) / tars.docs.v1.internal (ServiceOptions)
//   50005 -- tars.docs.v1.group         (MethodOptions)
//   50006 -- tars.sdk.v1.handle         (ServiceOptions)  <- allocated here
//   50006 -- tars.sdk.v1.method         (MethodOptions)   <- allocated here
//
// 50006 is free in BOTH MethodOptions and ServiceOptions (the docs extension's
// only ServiceOptions use, `internal`, sits at 50004), so the same number is
// reused across the two distinct option message types without collision.

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

package sdkv1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	descriptorpb "google.golang.org/protobuf/types/descriptorpb"
	reflect "reflect"
	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)
)

var file_tars_sdk_v1_sdk_proto_extTypes = []protoimpl.ExtensionInfo{
	{
		ExtendedType:  (*descriptorpb.ServiceOptions)(nil),
		ExtensionType: (*string)(nil),
		Field:         50006,
		Name:          "tars.sdk.v1.handle",
		Tag:           "bytes,50006,opt,name=handle",
		Filename:      "tars/sdk/v1/sdk.proto",
	},
	{
		ExtendedType:  (*descriptorpb.MethodOptions)(nil),
		ExtensionType: (*string)(nil),
		Field:         50006,
		Name:          "tars.sdk.v1.method",
		Tag:           "bytes,50006,opt,name=method",
		Filename:      "tars/sdk/v1/sdk.proto",
	},
}

// Extension fields to descriptorpb.ServiceOptions.
var (
	// handle overrides the generated SDK accessor / wrapper-type stem for this
	// service. Default (when empty) is the service name with the trailing
	// "Service" stripped: AdminService -> "Admin" (accessor Client.Admin(),
	// wrapper type AdminClient). Set this when the ergonomic name should differ
	// from that default, e.g. handle = "Insights" on RequestLogsService.
	//
	// optional string handle = 50006;
	E_Handle = &file_tars_sdk_v1_sdk_proto_extTypes[0]
)

// Extension fields to descriptorpb.MethodOptions.
var (
	// method overrides the generated SDK wrapper-method name for this RPC.
	// Default (when empty) is the RPC name verbatim: AdminService.CreateWorkspace
	// -> func (x *AdminClient) CreateWorkspace(...). Set this for a shorter or
	// more idiomatic name, e.g. method = "Create" on CreateWorkspace.
	//
	// optional string method = 50006;
	E_Method = &file_tars_sdk_v1_sdk_proto_extTypes[1]
)

var File_tars_sdk_v1_sdk_proto protoreflect.FileDescriptor

const file_tars_sdk_v1_sdk_proto_rawDesc = "" +
	"\n" +
	"\x15tars/sdk/v1/sdk.proto\x12\vtars.sdk.v1\x1a google/protobuf/descriptor.proto:9\n" +
	"\x06handle\x12\x1f.google.protobuf.ServiceOptions\x18ֆ\x03 \x01(\tR\x06handle:8\n" +
	"\x06method\x12\x1e.google.protobuf.MethodOptions\x18ֆ\x03 \x01(\tR\x06methodB\x9c\x01\n" +
	"\x0fcom.tars.sdk.v1B\bSdkProtoP\x01Z1github.com/tetrateio/fraser/api/tars/sdk/v1;sdkv1\xa2\x02\x03TSX\xaa\x02\vTars.Sdk.V1\xca\x02\vTars\\Sdk\\V1\xe2\x02\x17Tars\\Sdk\\V1\\GPBMetadata\xea\x02\rTars::Sdk::V1b\x06proto3"

var file_tars_sdk_v1_sdk_proto_goTypes = []any{
	(*descriptorpb.ServiceOptions)(nil), // 0: google.protobuf.ServiceOptions
	(*descriptorpb.MethodOptions)(nil),  // 1: google.protobuf.MethodOptions
}
var file_tars_sdk_v1_sdk_proto_depIdxs = []int32{
	0, // 0: tars.sdk.v1.handle:extendee -> google.protobuf.ServiceOptions
	1, // 1: tars.sdk.v1.method:extendee -> google.protobuf.MethodOptions
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	0, // [0:2] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_tars_sdk_v1_sdk_proto_init() }
func file_tars_sdk_v1_sdk_proto_init() {
	if File_tars_sdk_v1_sdk_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_tars_sdk_v1_sdk_proto_rawDesc), len(file_tars_sdk_v1_sdk_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   0,
			NumExtensions: 2,
			NumServices:   0,
		},
		GoTypes:           file_tars_sdk_v1_sdk_proto_goTypes,
		DependencyIndexes: file_tars_sdk_v1_sdk_proto_depIdxs,
		ExtensionInfos:    file_tars_sdk_v1_sdk_proto_extTypes,
	}.Build()
	File_tars_sdk_v1_sdk_proto = out.File
	file_tars_sdk_v1_sdk_proto_goTypes = nil
	file_tars_sdk_v1_sdk_proto_depIdxs = nil
}
