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

package updatabletimerv1

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

// GetWakeUpTimeOutput describes the input to a GetWakeUpTime query
type GetWakeUpTimeOutput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	WakeUpTime    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=wake_up_time,json=wakeUpTime,proto3" json:"wake_up_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetWakeUpTimeOutput) ProtoMessage() {}

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

func (x *GetWakeUpTimeOutput) GetWakeUpTime() *timestamppb.Timestamp {
	if x != nil {
		return x.WakeUpTime
	}
	return nil
}

// UpdatableTimerInput describes the input to a UpdatableTimer workflow
type UpdatableTimerInput struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	InitialWakeUpTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=initial_wake_up_time,json=initialWakeUpTime,proto3" json:"initial_wake_up_time,omitempty"`
	Name              string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*UpdatableTimerInput) ProtoMessage() {}

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

func (x *UpdatableTimerInput) GetInitialWakeUpTime() *timestamppb.Timestamp {
	if x != nil {
		return x.InitialWakeUpTime
	}
	return nil
}

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

// UpdateWakeUpTimeInput describes the input to a UpdateWakeUpTime signal
type UpdateWakeUpTimeInput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	WakeUpTime    *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=wake_up_time,json=wakeUpTime,proto3" json:"wake_up_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateWakeUpTimeInput) ProtoMessage() {}

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

func (x *UpdateWakeUpTimeInput) GetWakeUpTime() *timestamppb.Timestamp {
	if x != nil {
		return x.WakeUpTime
	}
	return nil
}

var File_example_updatabletimer_v1_updatabletimer_proto protoreflect.FileDescriptor

const file_example_updatabletimer_v1_updatabletimer_proto_rawDesc = "" +
	"\n" +
	".example/updatabletimer/v1/updatabletimer.proto\x12\x19example.updatabletimer.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1atemporal/v1/temporal.proto\"S\n" +
	"\x13GetWakeUpTimeOutput\x12<\n" +
	"\fwake_up_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"wakeUpTime\"v\n" +
	"\x13UpdatableTimerInput\x12K\n" +
	"\x14initial_wake_up_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\x11initialWakeUpTime\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\"U\n" +
	"\x15UpdateWakeUpTimeInput\x12<\n" +
	"\fwake_up_time\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"wakeUpTime2\xa3\x03\n" +
	"\aExample\x12]\n" +
	"\rGetWakeUpTime\x12\x16.google.protobuf.Empty\x1a..example.updatabletimer.v1.GetWakeUpTimeOutput\"\x04\x9a\xc4\x03\x00\x12\xbd\x01\n" +
	"\x0eUpdatableTimer\x12..example.updatabletimer.v1.UpdatableTimerInput\x1a\x16.google.protobuf.Empty\"c\x8a\xc4\x03_\n" +
	"\x0f\n" +
	"\rGetWakeUpTime\x12\x12\n" +
	"\x10UpdateWakeUpTime*(updatable-timer/${! name.or(uuid_v4()) }r\x0eUpdatableTimer\x12b\n" +
	"\x10UpdateWakeUpTime\x120.example.updatabletimer.v1.UpdateWakeUpTimeInput\x1a\x16.google.protobuf.Empty\"\x04\xa2\xc4\x03\x00\x1a\x15\x8a\xc4\x03\x11\n" +
	"\x0fupdatable-timerB\x94\x02\n" +
	"\x1dcom.example.updatabletimer.v1B\x13UpdatabletimerProtoP\x01ZXgithub.com/cludden/protoc-gen-go-temporal/gen/example/updatabletimer/v1;updatabletimerv1\xa2\x02\x03EUX\xaa\x02\x19Example.Updatabletimer.V1\xca\x02\x19Example\\Updatabletimer\\V1\xe2\x02%Example\\Updatabletimer\\V1\\GPBMetadata\xea\x02\x1bExample::Updatabletimer::V1b\x06proto3"

var (
	file_example_updatabletimer_v1_updatabletimer_proto_rawDescOnce sync.Once
	file_example_updatabletimer_v1_updatabletimer_proto_rawDescData []byte
)

func file_example_updatabletimer_v1_updatabletimer_proto_rawDescGZIP() []byte {
	file_example_updatabletimer_v1_updatabletimer_proto_rawDescOnce.Do(func() {
		file_example_updatabletimer_v1_updatabletimer_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_example_updatabletimer_v1_updatabletimer_proto_rawDesc), len(file_example_updatabletimer_v1_updatabletimer_proto_rawDesc)))
	})
	return file_example_updatabletimer_v1_updatabletimer_proto_rawDescData
}

var file_example_updatabletimer_v1_updatabletimer_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_example_updatabletimer_v1_updatabletimer_proto_goTypes = []any{
	(*GetWakeUpTimeOutput)(nil),   // 0: example.updatabletimer.v1.GetWakeUpTimeOutput
	(*UpdatableTimerInput)(nil),   // 1: example.updatabletimer.v1.UpdatableTimerInput
	(*UpdateWakeUpTimeInput)(nil), // 2: example.updatabletimer.v1.UpdateWakeUpTimeInput
	(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
	(*emptypb.Empty)(nil),         // 4: google.protobuf.Empty
}
var file_example_updatabletimer_v1_updatabletimer_proto_depIdxs = []int32{
	3, // 0: example.updatabletimer.v1.GetWakeUpTimeOutput.wake_up_time:type_name -> google.protobuf.Timestamp
	3, // 1: example.updatabletimer.v1.UpdatableTimerInput.initial_wake_up_time:type_name -> google.protobuf.Timestamp
	3, // 2: example.updatabletimer.v1.UpdateWakeUpTimeInput.wake_up_time:type_name -> google.protobuf.Timestamp
	4, // 3: example.updatabletimer.v1.Example.GetWakeUpTime:input_type -> google.protobuf.Empty
	1, // 4: example.updatabletimer.v1.Example.UpdatableTimer:input_type -> example.updatabletimer.v1.UpdatableTimerInput
	2, // 5: example.updatabletimer.v1.Example.UpdateWakeUpTime:input_type -> example.updatabletimer.v1.UpdateWakeUpTimeInput
	0, // 6: example.updatabletimer.v1.Example.GetWakeUpTime:output_type -> example.updatabletimer.v1.GetWakeUpTimeOutput
	4, // 7: example.updatabletimer.v1.Example.UpdatableTimer:output_type -> google.protobuf.Empty
	4, // 8: example.updatabletimer.v1.Example.UpdateWakeUpTime:output_type -> google.protobuf.Empty
	6, // [6:9] is the sub-list for method output_type
	3, // [3:6] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_example_updatabletimer_v1_updatabletimer_proto_init() }
func file_example_updatabletimer_v1_updatabletimer_proto_init() {
	if File_example_updatabletimer_v1_updatabletimer_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_example_updatabletimer_v1_updatabletimer_proto_rawDesc), len(file_example_updatabletimer_v1_updatabletimer_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_example_updatabletimer_v1_updatabletimer_proto_goTypes,
		DependencyIndexes: file_example_updatabletimer_v1_updatabletimer_proto_depIdxs,
		MessageInfos:      file_example_updatabletimer_v1_updatabletimer_proto_msgTypes,
	}.Build()
	File_example_updatabletimer_v1_updatabletimer_proto = out.File
	file_example_updatabletimer_v1_updatabletimer_proto_goTypes = nil
	file_example_updatabletimer_v1_updatabletimer_proto_depIdxs = nil
}
