# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: temporal/sdk/core/common/common.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
from google.protobuf.internal import enum_type_wrapper

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2

DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n%temporal/sdk/core/common/common.proto\x12\x0e\x63oresdk.common\x1a\x1egoogle/protobuf/duration.proto"U\n\x1bNamespacedWorkflowExecution\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x13\n\x0bworkflow_id\x18\x02 \x01(\t\x12\x0e\n\x06run_id\x18\x03 \x01(\t"D\n\x17WorkerDeploymentVersion\x12\x17\n\x0f\x64\x65ployment_name\x18\x01 \x01(\t\x12\x10\n\x08\x62uild_id\x18\x02 \x01(\t*@\n\x10VersioningIntent\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0e\n\nCOMPATIBLE\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\x42,\xea\x02)Temporalio::Internal::Bridge::Api::Commonb\x06proto3'
)

_VERSIONINGINTENT = DESCRIPTOR.enum_types_by_name["VersioningIntent"]
VersioningIntent = enum_type_wrapper.EnumTypeWrapper(_VERSIONINGINTENT)
UNSPECIFIED = 0
COMPATIBLE = 1
DEFAULT = 2


_NAMESPACEDWORKFLOWEXECUTION = DESCRIPTOR.message_types_by_name[
    "NamespacedWorkflowExecution"
]
_WORKERDEPLOYMENTVERSION = DESCRIPTOR.message_types_by_name["WorkerDeploymentVersion"]
NamespacedWorkflowExecution = _reflection.GeneratedProtocolMessageType(
    "NamespacedWorkflowExecution",
    (_message.Message,),
    {
        "DESCRIPTOR": _NAMESPACEDWORKFLOWEXECUTION,
        "__module__": "temporal.sdk.core.common.common_pb2",
        # @@protoc_insertion_point(class_scope:coresdk.common.NamespacedWorkflowExecution)
    },
)
_sym_db.RegisterMessage(NamespacedWorkflowExecution)

WorkerDeploymentVersion = _reflection.GeneratedProtocolMessageType(
    "WorkerDeploymentVersion",
    (_message.Message,),
    {
        "DESCRIPTOR": _WORKERDEPLOYMENTVERSION,
        "__module__": "temporal.sdk.core.common.common_pb2",
        # @@protoc_insertion_point(class_scope:coresdk.common.WorkerDeploymentVersion)
    },
)
_sym_db.RegisterMessage(WorkerDeploymentVersion)

if _descriptor._USE_C_DESCRIPTORS == False:
    DESCRIPTOR._options = None
    DESCRIPTOR._serialized_options = (
        b"\352\002)Temporalio::Internal::Bridge::Api::Common"
    )
    _VERSIONINGINTENT._serialized_start = 246
    _VERSIONINGINTENT._serialized_end = 310
    _NAMESPACEDWORKFLOWEXECUTION._serialized_start = 89
    _NAMESPACEDWORKFLOWEXECUTION._serialized_end = 174
    _WORKERDEPLOYMENTVERSION._serialized_start = 176
    _WORKERDEPLOYMENTVERSION._serialized_end = 244
# @@protoc_insertion_point(module_scope)
