# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: v1/shared/condition.proto

require 'google/protobuf'

require 'google/protobuf/timestamp_pb'


descriptor_data = "\n\x19v1/shared/condition.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\"t\n\x12\x42\x61seMatchCondition\x12\x19\n\x11readable_data_key\x18\x01 \x01(\t\x12\x1a\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\n.v1.Action\x12\x13\n\x0bor_group_id\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\"`\n\x1cParentOverrideMatchCondition\x12$\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x16.v1.BaseMatchCondition\x12\x1a\n\x12parent_readable_id\x18\x02 \x01(\t\"N\n\x13SleepMatchCondition\x12$\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x16.v1.BaseMatchCondition\x12\x11\n\tsleep_for\x18\x02 \x01(\t\"\xdb\x01\n\x17UserEventMatchCondition\x12$\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x16.v1.BaseMatchCondition\x12\x16\n\x0euser_event_key\x18\x02 \x01(\t\x12\x18\n\x0b\x65vent_scope\x18\x03 \x01(\tH\x00\x88\x01\x01\x12>\n\x15\x63onsider_events_since\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x42\x0e\n\x0c_event_scopeB\x18\n\x16_consider_events_since\"\xc5\x01\n\x0eTaskConditions\x12\x44\n\x1aparent_override_conditions\x18\x01 \x03(\x0b\x32 .v1.ParentOverrideMatchCondition\x12\x31\n\x10sleep_conditions\x18\x02 \x03(\x0b\x32\x17.v1.SleepMatchCondition\x12:\n\x15user_event_conditions\x18\x03 \x03(\x0b\x32\x1b.v1.UserEventMatchCondition\"\x8f\x01\n\x1e\x44urableEventListenerConditions\x12\x31\n\x10sleep_conditions\x18\x01 \x03(\x0b\x32\x17.v1.SleepMatchCondition\x12:\n\x15user_event_conditions\x18\x02 \x03(\x0b\x32\x1b.v1.UserEventMatchCondition*5\n\x06\x41\x63tion\x12\n\n\x06\x43REATE\x10\x00\x12\t\n\x05QUEUE\x10\x01\x12\n\n\x06\x43\x41NCEL\x10\x02\x12\x08\n\x04SKIP\x10\x03\x42\x42Z@github.com/hatchet-dev/hatchet/internal/services/shared/proto/v1b\x06proto3"

pool = ::Google::Protobuf::DescriptorPool.generated_pool
pool.add_serialized_file(descriptor_data)

module V1
  BaseMatchCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.BaseMatchCondition").msgclass
  ParentOverrideMatchCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ParentOverrideMatchCondition").msgclass
  SleepMatchCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SleepMatchCondition").msgclass
  UserEventMatchCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.UserEventMatchCondition").msgclass
  TaskConditions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.TaskConditions").msgclass
  DurableEventListenerConditions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DurableEventListenerConditions").msgclass
  Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Action").enummodule
end
