# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: temporal/api/rules/v1/message.proto
"""Generated protocol buffer code."""

from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n#temporal/api/rules/v1/message.proto\x12\x15temporal.api.rules.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x8f\x01\n\x12WorkflowRuleAction\x12W\n\x0e\x61\x63tivity_pause\x18\x01 \x01(\x0b\x32=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\x00\x1a\x15\n\x13\x41\x63tionActivityPauseB\t\n\x07variant"\xbd\x02\n\x10WorkflowRuleSpec\x12\n\n\x02id\x18\x01 \x01(\t\x12Y\n\x0e\x61\x63tivity_start\x18\x02 \x01(\x0b\x32?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\x00\x12\x18\n\x10visibility_query\x18\x03 \x01(\t\x12:\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32).temporal.api.rules.v1.WorkflowRuleAction\x12\x33\n\x0f\x65xpiration_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a,\n\x17\x41\x63tivityStartingTrigger\x12\x11\n\tpredicate\x18\x01 \x01(\tB\t\n\x07trigger"\xa8\x01\n\x0cWorkflowRule\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x04spec\x18\x02 \x01(\x0b\x32\'.temporal.api.rules.v1.WorkflowRuleSpec\x12\x1b\n\x13\x63reated_by_identity\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x84\x01\n\x18io.temporal.api.rules.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/rules/v1;rules\xaa\x02\x17Temporalio.Api.Rules.V1\xea\x02\x1aTemporalio::Api::Rules::V1b\x06proto3'
)


_WORKFLOWRULEACTION = DESCRIPTOR.message_types_by_name["WorkflowRuleAction"]
_WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE = _WORKFLOWRULEACTION.nested_types_by_name[
    "ActionActivityPause"
]
_WORKFLOWRULESPEC = DESCRIPTOR.message_types_by_name["WorkflowRuleSpec"]
_WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER = _WORKFLOWRULESPEC.nested_types_by_name[
    "ActivityStartingTrigger"
]
_WORKFLOWRULE = DESCRIPTOR.message_types_by_name["WorkflowRule"]
WorkflowRuleAction = _reflection.GeneratedProtocolMessageType(
    "WorkflowRuleAction",
    (_message.Message,),
    {
        "ActionActivityPause": _reflection.GeneratedProtocolMessageType(
            "ActionActivityPause",
            (_message.Message,),
            {
                "DESCRIPTOR": _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE,
                "__module__": "temporalio.api.rules.v1.message_pb2",
                # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause)
            },
        ),
        "DESCRIPTOR": _WORKFLOWRULEACTION,
        "__module__": "temporalio.api.rules.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleAction)
    },
)
_sym_db.RegisterMessage(WorkflowRuleAction)
_sym_db.RegisterMessage(WorkflowRuleAction.ActionActivityPause)

WorkflowRuleSpec = _reflection.GeneratedProtocolMessageType(
    "WorkflowRuleSpec",
    (_message.Message,),
    {
        "ActivityStartingTrigger": _reflection.GeneratedProtocolMessageType(
            "ActivityStartingTrigger",
            (_message.Message,),
            {
                "DESCRIPTOR": _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER,
                "__module__": "temporalio.api.rules.v1.message_pb2",
                # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger)
            },
        ),
        "DESCRIPTOR": _WORKFLOWRULESPEC,
        "__module__": "temporalio.api.rules.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRuleSpec)
    },
)
_sym_db.RegisterMessage(WorkflowRuleSpec)
_sym_db.RegisterMessage(WorkflowRuleSpec.ActivityStartingTrigger)

WorkflowRule = _reflection.GeneratedProtocolMessageType(
    "WorkflowRule",
    (_message.Message,),
    {
        "DESCRIPTOR": _WORKFLOWRULE,
        "__module__": "temporalio.api.rules.v1.message_pb2",
        # @@protoc_insertion_point(class_scope:temporal.api.rules.v1.WorkflowRule)
    },
)
_sym_db.RegisterMessage(WorkflowRule)

if _descriptor._USE_C_DESCRIPTORS == False:
    DESCRIPTOR._options = None
    DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.rules.v1B\014MessageProtoP\001Z!go.temporal.io/api/rules/v1;rules\252\002\027Temporalio.Api.Rules.V1\352\002\032Temporalio::Api::Rules::V1"
    _WORKFLOWRULEACTION._serialized_start = 96
    _WORKFLOWRULEACTION._serialized_end = 239
    _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_start = 207
    _WORKFLOWRULEACTION_ACTIONACTIVITYPAUSE._serialized_end = 228
    _WORKFLOWRULESPEC._serialized_start = 242
    _WORKFLOWRULESPEC._serialized_end = 559
    _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_start = 504
    _WORKFLOWRULESPEC_ACTIVITYSTARTINGTRIGGER._serialized_end = 548
    _WORKFLOWRULE._serialized_start = 562
    _WORKFLOWRULE._serialized_end = 730
# @@protoc_insertion_point(module_scope)
