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

package optionv1

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

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

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

func (*ActivityWithInputRequest) ProtoMessage() {}

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

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

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

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

func (*ActivityWithInputResponse) ProtoMessage() {}

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

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

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

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

func (*UpdateWithInputRequest) ProtoMessage() {}

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

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

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

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

func (*WorkflowWithInputRequest) ProtoMessage() {}

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

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

var File_test_option_v1_option_proto protoreflect.FileDescriptor

const file_test_option_v1_option_proto_rawDesc = "" +
	"\n" +
	"\x1btest/option/v1/option.proto\x12\x0etest.option.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1atemporal/v1/temporal.proto\".\n" +
	"\x18ActivityWithInputRequest\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\"3\n" +
	"\x19ActivityWithInputResponse\x12\x16\n" +
	"\x06result\x18\x01 \x01(\tR\x06result\",\n" +
	"\x16UpdateWithInputRequest\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\".\n" +
	"\x18WorkflowWithInputRequest\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name2\xab\x04\n" +
	"\x04Test\x12\x91\x01\n" +
	"\x11ActivityWithInput\x12(.test.option.v1.ActivityWithInputRequest\x1a).test.option.v1.ActivityWithInputResponse\"'\x92\xc4\x03#\n" +
	"\toption-v2\x12\x02\bx\x1a\x02\b\n" +
	"\"\x02\b<*\x02\b\x1e2\x04\x1a\x02\b\x05@\x01\x12\x97\x01\n" +
	"\x0fUpdateWithInput\x12&.test.option.v1.UpdateWithInputRequest\x1a\x16.google.protobuf.Empty\"D\xaa\xc4\x03@\n" +
	":update-with-input:${! name.or(throw(\"name is required\")) }\x18\x018\x03\x12\xe3\x01\n" +
	"\x11WorkflowWithInput\x12(.test.option.v1.WorkflowWithInputRequest\x1a\x16.google.protobuf.Empty\"\x8b\x01\x8a\xc4\x03\x86\x01\x1a\x11\n" +
	"\x0fUpdateWithInput\"\x03\b\xd8\x04*<workflow-with-input:${! name.or(throw(\"name is required\")) }0\x02@\x03J\x02 \x05R\x03\b\xac\x02Z\toption-v2b\x02\b\n" +
	"h\x01z\rname = name \n" +
	"\xa0\x01\x02\x1a\x0f\x8a\xc4\x03\v\n" +
	"\toption-v1B\xc2\x01\n" +
	"\x12com.test.option.v1B\vOptionProtoP\x01ZEgithub.com/cludden/protoc-gen-go-temporal/gen/test/option/v1;optionv1\xa2\x02\x03TOX\xaa\x02\x0eTest.Option.V1\xca\x02\x0eTest\\Option\\V1\xe2\x02\x1aTest\\Option\\V1\\GPBMetadata\xea\x02\x10Test::Option::V1b\x06proto3"

var (
	file_test_option_v1_option_proto_rawDescOnce sync.Once
	file_test_option_v1_option_proto_rawDescData []byte
)

func file_test_option_v1_option_proto_rawDescGZIP() []byte {
	file_test_option_v1_option_proto_rawDescOnce.Do(func() {
		file_test_option_v1_option_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_test_option_v1_option_proto_rawDesc), len(file_test_option_v1_option_proto_rawDesc)))
	})
	return file_test_option_v1_option_proto_rawDescData
}

var file_test_option_v1_option_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_test_option_v1_option_proto_goTypes = []any{
	(*ActivityWithInputRequest)(nil),  // 0: test.option.v1.ActivityWithInputRequest
	(*ActivityWithInputResponse)(nil), // 1: test.option.v1.ActivityWithInputResponse
	(*UpdateWithInputRequest)(nil),    // 2: test.option.v1.UpdateWithInputRequest
	(*WorkflowWithInputRequest)(nil),  // 3: test.option.v1.WorkflowWithInputRequest
	(*emptypb.Empty)(nil),             // 4: google.protobuf.Empty
}
var file_test_option_v1_option_proto_depIdxs = []int32{
	0, // 0: test.option.v1.Test.ActivityWithInput:input_type -> test.option.v1.ActivityWithInputRequest
	2, // 1: test.option.v1.Test.UpdateWithInput:input_type -> test.option.v1.UpdateWithInputRequest
	3, // 2: test.option.v1.Test.WorkflowWithInput:input_type -> test.option.v1.WorkflowWithInputRequest
	1, // 3: test.option.v1.Test.ActivityWithInput:output_type -> test.option.v1.ActivityWithInputResponse
	4, // 4: test.option.v1.Test.UpdateWithInput:output_type -> google.protobuf.Empty
	4, // 5: test.option.v1.Test.WorkflowWithInput:output_type -> google.protobuf.Empty
	3, // [3:6] is the sub-list for method output_type
	0, // [0:3] 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_test_option_v1_option_proto_init() }
func file_test_option_v1_option_proto_init() {
	if File_test_option_v1_option_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_test_option_v1_option_proto_rawDesc), len(file_test_option_v1_option_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_test_option_v1_option_proto_goTypes,
		DependencyIndexes: file_test_option_v1_option_proto_depIdxs,
		MessageInfos:      file_test_option_v1_option_proto_msgTypes,
	}.Build()
	File_test_option_v1_option_proto = out.File
	file_test_option_v1_option_proto_goTypes = nil
	file_test_option_v1_option_proto_depIdxs = nil
}
