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

package helloworldv1

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

// HelloRequest describes the input to a Hello workflow
type HelloRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HelloRequest) ProtoMessage() {}

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

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

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

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

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

func (*HelloResponse) ProtoMessage() {}

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

func (x *HelloResponse) GetResult() string {
	if x != nil {
		return x.Result
	}
	return ""
}

type GoodbyeRequest 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 *GoodbyeRequest) Reset() {
	*x = GoodbyeRequest{}
	mi := &file_example_helloworld_v1_example_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GoodbyeRequest) ProtoMessage() {}

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

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

var File_example_helloworld_v1_example_proto protoreflect.FileDescriptor

const file_example_helloworld_v1_example_proto_rawDesc = "" +
	"\n" +
	"#example/helloworld/v1/example.proto\x12\x15example.helloworld.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1atemporal/v1/temporal.proto\"\"\n" +
	"\fHelloRequest\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\"'\n" +
	"\rHelloResponse\x12\x16\n" +
	"\x06result\x18\x01 \x01(\tR\x06result\"*\n" +
	"\x0eGoodbyeRequest\x12\x18\n" +
	"\amessage\x18\x01 \x01(\tR\amessage2\x82\x02\n" +
	"\aExample\x12\x93\x01\n" +
	"\x05Hello\x12#.example.helloworld.v1.HelloRequest\x1a$.example.helloworld.v1.HelloResponse\"?\x8a\xc4\x03;\x12\t\n" +
	"\aGoodbye*\x1chello/${! name.or(\"World\") }r\x10example.v1.Hello\x12N\n" +
	"\aGoodbye\x12%.example.helloworld.v1.GoodbyeRequest\x1a\x16.google.protobuf.Empty\"\x04\xa2\xc4\x03\x00\x1a\x11\x8a\xc4\x03\r\n" +
	"\vhello-worldB\xf1\x01\n" +
	"\x19com.example.helloworld.v1B\fExampleProtoP\x01ZPgithub.com/cludden/protoc-gen-go-temporal/gen/example/helloworld/v1;helloworldv1\xa2\x02\x03EHX\xaa\x02\x15Example.Helloworld.V1\xca\x02\x15Example\\Helloworld\\V1\xe2\x02!Example\\Helloworld\\V1\\GPBMetadata\xea\x02\x17Example::Helloworld::V1b\x06proto3"

var (
	file_example_helloworld_v1_example_proto_rawDescOnce sync.Once
	file_example_helloworld_v1_example_proto_rawDescData []byte
)

func file_example_helloworld_v1_example_proto_rawDescGZIP() []byte {
	file_example_helloworld_v1_example_proto_rawDescOnce.Do(func() {
		file_example_helloworld_v1_example_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_example_helloworld_v1_example_proto_rawDesc), len(file_example_helloworld_v1_example_proto_rawDesc)))
	})
	return file_example_helloworld_v1_example_proto_rawDescData
}

var file_example_helloworld_v1_example_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_example_helloworld_v1_example_proto_goTypes = []any{
	(*HelloRequest)(nil),   // 0: example.helloworld.v1.HelloRequest
	(*HelloResponse)(nil),  // 1: example.helloworld.v1.HelloResponse
	(*GoodbyeRequest)(nil), // 2: example.helloworld.v1.GoodbyeRequest
	(*emptypb.Empty)(nil),  // 3: google.protobuf.Empty
}
var file_example_helloworld_v1_example_proto_depIdxs = []int32{
	0, // 0: example.helloworld.v1.Example.Hello:input_type -> example.helloworld.v1.HelloRequest
	2, // 1: example.helloworld.v1.Example.Goodbye:input_type -> example.helloworld.v1.GoodbyeRequest
	1, // 2: example.helloworld.v1.Example.Hello:output_type -> example.helloworld.v1.HelloResponse
	3, // 3: example.helloworld.v1.Example.Goodbye:output_type -> google.protobuf.Empty
	2, // [2:4] is the sub-list for method output_type
	0, // [0:2] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_example_helloworld_v1_example_proto_init() }
func file_example_helloworld_v1_example_proto_init() {
	if File_example_helloworld_v1_example_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_example_helloworld_v1_example_proto_rawDesc), len(file_example_helloworld_v1_example_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_example_helloworld_v1_example_proto_goTypes,
		DependencyIndexes: file_example_helloworld_v1_example_proto_depIdxs,
		MessageInfos:      file_example_helloworld_v1_example_proto_msgTypes,
	}.Build()
	File_example_helloworld_v1_example_proto = out.File
	file_example_helloworld_v1_example_proto_goTypes = nil
	file_example_helloworld_v1_example_proto_depIdxs = nil
}
