// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.8
// 	protoc        (unknown)
// source: example/nexus/v1/nexus.proto

package nexusv1

import (
	_ "github.com/bergundy/nexus-proto-annotations/go/nexus/v1"
	_ "github.com/cludden/protoc-gen-go-temporal/gen/temporal/v1"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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)
)

// Language is an enum representing supported languages for greetings
type Language int32

const (
	Language_LANGUAGE_UNSPECIFIED Language = 0
	Language_LANGUAGE_ENGLISH     Language = 1
	Language_LANGUAGE_SPANISH     Language = 2
	Language_LANGUAGE_FRENCH      Language = 3
	Language_LANGUAGE_GERMAN      Language = 4
	Language_LANGUAGE_TURKISH     Language = 5
)

// Enum value maps for Language.
var (
	Language_name = map[int32]string{
		0: "LANGUAGE_UNSPECIFIED",
		1: "LANGUAGE_ENGLISH",
		2: "LANGUAGE_SPANISH",
		3: "LANGUAGE_FRENCH",
		4: "LANGUAGE_GERMAN",
		5: "LANGUAGE_TURKISH",
	}
	Language_value = map[string]int32{
		"LANGUAGE_UNSPECIFIED": 0,
		"LANGUAGE_ENGLISH":     1,
		"LANGUAGE_SPANISH":     2,
		"LANGUAGE_FRENCH":      3,
		"LANGUAGE_GERMAN":      4,
		"LANGUAGE_TURKISH":     5,
	}
)

func (x Language) Enum() *Language {
	p := new(Language)
	*p = x
	return p
}

func (x Language) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Language) Descriptor() protoreflect.EnumDescriptor {
	return file_example_nexus_v1_nexus_proto_enumTypes[0].Descriptor()
}

func (Language) Type() protoreflect.EnumType {
	return &file_example_nexus_v1_nexus_proto_enumTypes[0]
}

func (x Language) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Language.Descriptor instead.
func (Language) EnumDescriptor() ([]byte, []int) {
	return file_example_nexus_v1_nexus_proto_rawDescGZIP(), []int{0}
}

// EchoInput describes the input to an Echo operation
type EchoInput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Language      Language               `protobuf:"varint,2,opt,name=language,proto3,enum=example.nexus.v1.Language" json:"language,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EchoInput) ProtoMessage() {}

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

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

func (x *EchoInput) GetLanguage() Language {
	if x != nil {
		return x.Language
	}
	return Language_LANGUAGE_UNSPECIFIED
}

// EchoOutput describes the output from an Echo operation
type EchoOutput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Message       string                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EchoOutput) ProtoMessage() {}

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

func (x *EchoOutput) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

// HelloInput describes the input to a Hello operation
type HelloInput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Language      Language               `protobuf:"varint,2,opt,name=language,proto3,enum=example.nexus.v1.Language" json:"language,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HelloInput) ProtoMessage() {}

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

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

func (x *HelloInput) GetLanguage() Language {
	if x != nil {
		return x.Language
	}
	return Language_LANGUAGE_UNSPECIFIED
}

// HelloOutput describes the output from a Hello operation
type HelloOutput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Message       string                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HelloOutput) ProtoMessage() {}

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

func (x *HelloOutput) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

var File_example_nexus_v1_nexus_proto protoreflect.FileDescriptor

const file_example_nexus_v1_nexus_proto_rawDesc = "" +
	"\n" +
	"\x1cexample/nexus/v1/nexus.proto\x12\x10example.nexus.v1\x1a\x16nexus/v1/options.proto\x1a\x1atemporal/v1/temporal.proto\"W\n" +
	"\tEchoInput\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x126\n" +
	"\blanguage\x18\x02 \x01(\x0e2\x1a.example.nexus.v1.LanguageR\blanguage\"&\n" +
	"\n" +
	"EchoOutput\x12\x18\n" +
	"\amessage\x18\x01 \x01(\tR\amessage\"X\n" +
	"\n" +
	"HelloInput\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x126\n" +
	"\blanguage\x18\x02 \x01(\x0e2\x1a.example.nexus.v1.LanguageR\blanguage\"'\n" +
	"\vHelloOutput\x12\x18\n" +
	"\amessage\x18\x01 \x01(\tR\amessage*\x90\x01\n" +
	"\bLanguage\x12\x18\n" +
	"\x14LANGUAGE_UNSPECIFIED\x10\x00\x12\x14\n" +
	"\x10LANGUAGE_ENGLISH\x10\x01\x12\x14\n" +
	"\x10LANGUAGE_SPANISH\x10\x02\x12\x13\n" +
	"\x0fLANGUAGE_FRENCH\x10\x03\x12\x13\n" +
	"\x0fLANGUAGE_GERMAN\x10\x04\x12\x14\n" +
	"\x10LANGUAGE_TURKISH\x10\x052\xdf\x01\n" +
	"\x0fGreetingService\x12\xaa\x01\n" +
	"\x05Hello\x12\x1c.example.nexus.v1.HelloInput\x1a\x1d.example.nexus.v1.HelloOutput\"d\x8a\xc4\x03X*Vexample.nexus.v1.Hello/${! language.or(throw(\"language required\")) }/${! name.slug() }\x92\xc4\x03\x04\"\x02\b\x05\x1a\x1f\x8a\xc4\x03\r\n" +
	"\vgreeting-v1\x92\xc4\x03\n" +
	"\x12\bgreeting2\xd5\x01\n" +
	"\vEchoService\x12\x9e\x01\n" +
	"\x04Echo\x12\x1b.example.nexus.v1.EchoInput\x1a\x1c.example.nexus.v1.EchoOutput\"[\x8a\xc4\x03W*Uexample.nexus.v1.Echo/${! language.or(throw(\"language required\")) }/${! name.slug() }\x1a%\x8a\xc4\x03\t\n" +
	"\aecho-v1\x92\xc4\x03\x06\x12\x04echoʂ\x04\n" +
	"\x12\bdisabledB\xcc\x01\n" +
	"\x14com.example.nexus.v1B\n" +
	"NexusProtoP\x01ZFgithub.com/cludden/protoc-gen-go-temporal/gen/example/nexus/v1;nexusv1\xa2\x02\x03ENX\xaa\x02\x10Example.Nexus.V1\xca\x02\x10Example\\Nexus\\V1\xe2\x02\x1cExample\\Nexus\\V1\\GPBMetadata\xea\x02\x12Example::Nexus::V1b\x06proto3"

var (
	file_example_nexus_v1_nexus_proto_rawDescOnce sync.Once
	file_example_nexus_v1_nexus_proto_rawDescData []byte
)

func file_example_nexus_v1_nexus_proto_rawDescGZIP() []byte {
	file_example_nexus_v1_nexus_proto_rawDescOnce.Do(func() {
		file_example_nexus_v1_nexus_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_example_nexus_v1_nexus_proto_rawDesc), len(file_example_nexus_v1_nexus_proto_rawDesc)))
	})
	return file_example_nexus_v1_nexus_proto_rawDescData
}

var file_example_nexus_v1_nexus_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_example_nexus_v1_nexus_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_example_nexus_v1_nexus_proto_goTypes = []any{
	(Language)(0),       // 0: example.nexus.v1.Language
	(*EchoInput)(nil),   // 1: example.nexus.v1.EchoInput
	(*EchoOutput)(nil),  // 2: example.nexus.v1.EchoOutput
	(*HelloInput)(nil),  // 3: example.nexus.v1.HelloInput
	(*HelloOutput)(nil), // 4: example.nexus.v1.HelloOutput
}
var file_example_nexus_v1_nexus_proto_depIdxs = []int32{
	0, // 0: example.nexus.v1.EchoInput.language:type_name -> example.nexus.v1.Language
	0, // 1: example.nexus.v1.HelloInput.language:type_name -> example.nexus.v1.Language
	3, // 2: example.nexus.v1.GreetingService.Hello:input_type -> example.nexus.v1.HelloInput
	1, // 3: example.nexus.v1.EchoService.Echo:input_type -> example.nexus.v1.EchoInput
	4, // 4: example.nexus.v1.GreetingService.Hello:output_type -> example.nexus.v1.HelloOutput
	2, // 5: example.nexus.v1.EchoService.Echo:output_type -> example.nexus.v1.EchoOutput
	4, // [4:6] is the sub-list for method output_type
	2, // [2:4] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_example_nexus_v1_nexus_proto_init() }
func file_example_nexus_v1_nexus_proto_init() {
	if File_example_nexus_v1_nexus_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_example_nexus_v1_nexus_proto_rawDesc), len(file_example_nexus_v1_nexus_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   2,
		},
		GoTypes:           file_example_nexus_v1_nexus_proto_goTypes,
		DependencyIndexes: file_example_nexus_v1_nexus_proto_depIdxs,
		EnumInfos:         file_example_nexus_v1_nexus_proto_enumTypes,
		MessageInfos:      file_example_nexus_v1_nexus_proto_msgTypes,
	}.Build()
	File_example_nexus_v1_nexus_proto = out.File
	file_example_nexus_v1_nexus_proto_goTypes = nil
	file_example_nexus_v1_nexus_proto_depIdxs = nil
}
