@@ -288,6 +288,15 @@ message TerminateOrchestrationAction {
288288    bool  recurse  =  3 ;
289289}
290290
291+ message  SendEntityMessageAction  {
292+     oneof  EntityMessageType  {
293+         EntityOperationSignaledEvent  entityOperationSignaled  =  1 ;
294+         EntityOperationCalledEvent  entityOperationCalled  =  2 ;
295+         EntityLockRequestedEvent  entityLockRequested  =  3 ;
296+         EntityUnlockSentEvent  entityUnlockSent  =  4 ;
297+     }
298+ }
299+ 
291300message  OrchestratorAction  {
292301    int32  id  =  1 ;
293302    oneof  orchestratorActionType  {
@@ -297,6 +306,7 @@ message OrchestratorAction {
297306        SendEventAction  sendEvent  =  5 ;
298307        CompleteOrchestrationAction  completeOrchestration  =  6 ;
299308        TerminateOrchestrationAction  terminateOrchestration  =  7 ;
309+         SendEntityMessageAction  sendEntityMessage  =  8 ;
300310    }
301311}
302312
@@ -329,6 +339,7 @@ message CreateInstanceRequest {
329339    OrchestrationIdReusePolicy  orchestrationIdReusePolicy  =  6 ;
330340    google.protobuf.StringValue  executionId  =  7 ;
331341    map <string , string > tags  =  8 ;
342+     TraceContext  parentTraceContext  =  9 ;
332343}
333344
334345message  OrchestrationIdReusePolicy  {
@@ -550,6 +561,8 @@ message EntityBatchResult {
550561    repeated  OperationAction  actions  =  2 ;
551562    google.protobuf.StringValue  entityState  =  3 ;
552563    TaskFailureDetails  failureDetails  =  4 ;
564+     string  completionToken  =  5 ;
565+     repeated  OperationInfo  operationInfos  =  6 ; // used only with DTS 
553566}
554567
555568message  EntityRequest  {
@@ -572,6 +585,11 @@ message OperationResult {
572585    }
573586}
574587
588+ message  OperationInfo  {
589+     string  requestId  =  1 ;
590+     OrchestrationInstance  responseDestination  =  2 ; // null for signals 
591+ }
592+ 
575593message  OperationResultSuccess  {
576594    google.protobuf.StringValue  result  =  1 ;
577595}
0 commit comments