All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.temporal.api.workflowservice.v1.WorkflowServiceGrpc Maven / Gradle / Ivy

There is a newer version: 1.24.1
Show newest version
package io.temporal.api.workflowservice.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
 * 
 * WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
 * to create and interact with workflows and activities.
 * Users are expected to call `StartWorkflowExecution` to create a new workflow execution.
 * To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow
 * and activity tasks from the service. For each workflow task, the sdk must process the
 * (incremental or complete) event history and respond back with any newly generated commands.
 * For each activity task, the worker is expected to execute the user's code which implements that
 * activity, responding with completion or failure.
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.34.1)", comments = "Source: temporal/api/workflowservice/v1/service.proto") public final class WorkflowServiceGrpc { private WorkflowServiceGrpc() {} public static final String SERVICE_NAME = "temporal.api.workflowservice.v1.WorkflowService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor getRegisterNamespaceMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RegisterNamespace", requestType = io.temporal.api.workflowservice.v1.RegisterNamespaceRequest.class, responseType = io.temporal.api.workflowservice.v1.RegisterNamespaceResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRegisterNamespaceMethod() { io.grpc.MethodDescriptor getRegisterNamespaceMethod; if ((getRegisterNamespaceMethod = WorkflowServiceGrpc.getRegisterNamespaceMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRegisterNamespaceMethod = WorkflowServiceGrpc.getRegisterNamespaceMethod) == null) { WorkflowServiceGrpc.getRegisterNamespaceMethod = getRegisterNamespaceMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterNamespace")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RegisterNamespaceRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RegisterNamespaceResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RegisterNamespace")) .build(); } } } return getRegisterNamespaceMethod; } private static volatile io.grpc.MethodDescriptor getDescribeNamespaceMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DescribeNamespace", requestType = io.temporal.api.workflowservice.v1.DescribeNamespaceRequest.class, responseType = io.temporal.api.workflowservice.v1.DescribeNamespaceResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDescribeNamespaceMethod() { io.grpc.MethodDescriptor getDescribeNamespaceMethod; if ((getDescribeNamespaceMethod = WorkflowServiceGrpc.getDescribeNamespaceMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getDescribeNamespaceMethod = WorkflowServiceGrpc.getDescribeNamespaceMethod) == null) { WorkflowServiceGrpc.getDescribeNamespaceMethod = getDescribeNamespaceMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeNamespace")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeNamespaceRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeNamespaceResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("DescribeNamespace")) .build(); } } } return getDescribeNamespaceMethod; } private static volatile io.grpc.MethodDescriptor getListNamespacesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListNamespaces", requestType = io.temporal.api.workflowservice.v1.ListNamespacesRequest.class, responseType = io.temporal.api.workflowservice.v1.ListNamespacesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListNamespacesMethod() { io.grpc.MethodDescriptor getListNamespacesMethod; if ((getListNamespacesMethod = WorkflowServiceGrpc.getListNamespacesMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getListNamespacesMethod = WorkflowServiceGrpc.getListNamespacesMethod) == null) { WorkflowServiceGrpc.getListNamespacesMethod = getListNamespacesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNamespaces")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListNamespacesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListNamespacesResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ListNamespaces")) .build(); } } } return getListNamespacesMethod; } private static volatile io.grpc.MethodDescriptor getUpdateNamespaceMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateNamespace", requestType = io.temporal.api.workflowservice.v1.UpdateNamespaceRequest.class, responseType = io.temporal.api.workflowservice.v1.UpdateNamespaceResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateNamespaceMethod() { io.grpc.MethodDescriptor getUpdateNamespaceMethod; if ((getUpdateNamespaceMethod = WorkflowServiceGrpc.getUpdateNamespaceMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getUpdateNamespaceMethod = WorkflowServiceGrpc.getUpdateNamespaceMethod) == null) { WorkflowServiceGrpc.getUpdateNamespaceMethod = getUpdateNamespaceMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNamespace")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.UpdateNamespaceRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.UpdateNamespaceResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("UpdateNamespace")) .build(); } } } return getUpdateNamespaceMethod; } private static volatile io.grpc.MethodDescriptor getDeprecateNamespaceMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeprecateNamespace", requestType = io.temporal.api.workflowservice.v1.DeprecateNamespaceRequest.class, responseType = io.temporal.api.workflowservice.v1.DeprecateNamespaceResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDeprecateNamespaceMethod() { io.grpc.MethodDescriptor getDeprecateNamespaceMethod; if ((getDeprecateNamespaceMethod = WorkflowServiceGrpc.getDeprecateNamespaceMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getDeprecateNamespaceMethod = WorkflowServiceGrpc.getDeprecateNamespaceMethod) == null) { WorkflowServiceGrpc.getDeprecateNamespaceMethod = getDeprecateNamespaceMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeprecateNamespace")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DeprecateNamespaceRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DeprecateNamespaceResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("DeprecateNamespace")) .build(); } } } return getDeprecateNamespaceMethod; } private static volatile io.grpc.MethodDescriptor getStartWorkflowExecutionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "StartWorkflowExecution", requestType = io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.class, responseType = io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getStartWorkflowExecutionMethod() { io.grpc.MethodDescriptor getStartWorkflowExecutionMethod; if ((getStartWorkflowExecutionMethod = WorkflowServiceGrpc.getStartWorkflowExecutionMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getStartWorkflowExecutionMethod = WorkflowServiceGrpc.getStartWorkflowExecutionMethod) == null) { WorkflowServiceGrpc.getStartWorkflowExecutionMethod = getStartWorkflowExecutionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartWorkflowExecution")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("StartWorkflowExecution")) .build(); } } } return getStartWorkflowExecutionMethod; } private static volatile io.grpc.MethodDescriptor getGetWorkflowExecutionHistoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetWorkflowExecutionHistory", requestType = io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest.class, responseType = io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetWorkflowExecutionHistoryMethod() { io.grpc.MethodDescriptor getGetWorkflowExecutionHistoryMethod; if ((getGetWorkflowExecutionHistoryMethod = WorkflowServiceGrpc.getGetWorkflowExecutionHistoryMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getGetWorkflowExecutionHistoryMethod = WorkflowServiceGrpc.getGetWorkflowExecutionHistoryMethod) == null) { WorkflowServiceGrpc.getGetWorkflowExecutionHistoryMethod = getGetWorkflowExecutionHistoryMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkflowExecutionHistory")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("GetWorkflowExecutionHistory")) .build(); } } } return getGetWorkflowExecutionHistoryMethod; } private static volatile io.grpc.MethodDescriptor getGetWorkflowExecutionHistoryReverseMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetWorkflowExecutionHistoryReverse", requestType = io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest.class, responseType = io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetWorkflowExecutionHistoryReverseMethod() { io.grpc.MethodDescriptor getGetWorkflowExecutionHistoryReverseMethod; if ((getGetWorkflowExecutionHistoryReverseMethod = WorkflowServiceGrpc.getGetWorkflowExecutionHistoryReverseMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getGetWorkflowExecutionHistoryReverseMethod = WorkflowServiceGrpc.getGetWorkflowExecutionHistoryReverseMethod) == null) { WorkflowServiceGrpc.getGetWorkflowExecutionHistoryReverseMethod = getGetWorkflowExecutionHistoryReverseMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkflowExecutionHistoryReverse")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("GetWorkflowExecutionHistoryReverse")) .build(); } } } return getGetWorkflowExecutionHistoryReverseMethod; } private static volatile io.grpc.MethodDescriptor getPollWorkflowTaskQueueMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "PollWorkflowTaskQueue", requestType = io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.class, responseType = io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getPollWorkflowTaskQueueMethod() { io.grpc.MethodDescriptor getPollWorkflowTaskQueueMethod; if ((getPollWorkflowTaskQueueMethod = WorkflowServiceGrpc.getPollWorkflowTaskQueueMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getPollWorkflowTaskQueueMethod = WorkflowServiceGrpc.getPollWorkflowTaskQueueMethod) == null) { WorkflowServiceGrpc.getPollWorkflowTaskQueueMethod = getPollWorkflowTaskQueueMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PollWorkflowTaskQueue")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("PollWorkflowTaskQueue")) .build(); } } } return getPollWorkflowTaskQueueMethod; } private static volatile io.grpc.MethodDescriptor getRespondWorkflowTaskCompletedMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RespondWorkflowTaskCompleted", requestType = io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.class, responseType = io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRespondWorkflowTaskCompletedMethod() { io.grpc.MethodDescriptor getRespondWorkflowTaskCompletedMethod; if ((getRespondWorkflowTaskCompletedMethod = WorkflowServiceGrpc.getRespondWorkflowTaskCompletedMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRespondWorkflowTaskCompletedMethod = WorkflowServiceGrpc.getRespondWorkflowTaskCompletedMethod) == null) { WorkflowServiceGrpc.getRespondWorkflowTaskCompletedMethod = getRespondWorkflowTaskCompletedMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RespondWorkflowTaskCompleted")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RespondWorkflowTaskCompleted")) .build(); } } } return getRespondWorkflowTaskCompletedMethod; } private static volatile io.grpc.MethodDescriptor getRespondWorkflowTaskFailedMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RespondWorkflowTaskFailed", requestType = io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.class, responseType = io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRespondWorkflowTaskFailedMethod() { io.grpc.MethodDescriptor getRespondWorkflowTaskFailedMethod; if ((getRespondWorkflowTaskFailedMethod = WorkflowServiceGrpc.getRespondWorkflowTaskFailedMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRespondWorkflowTaskFailedMethod = WorkflowServiceGrpc.getRespondWorkflowTaskFailedMethod) == null) { WorkflowServiceGrpc.getRespondWorkflowTaskFailedMethod = getRespondWorkflowTaskFailedMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RespondWorkflowTaskFailed")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RespondWorkflowTaskFailed")) .build(); } } } return getRespondWorkflowTaskFailedMethod; } private static volatile io.grpc.MethodDescriptor getPollActivityTaskQueueMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "PollActivityTaskQueue", requestType = io.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest.class, responseType = io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getPollActivityTaskQueueMethod() { io.grpc.MethodDescriptor getPollActivityTaskQueueMethod; if ((getPollActivityTaskQueueMethod = WorkflowServiceGrpc.getPollActivityTaskQueueMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getPollActivityTaskQueueMethod = WorkflowServiceGrpc.getPollActivityTaskQueueMethod) == null) { WorkflowServiceGrpc.getPollActivityTaskQueueMethod = getPollActivityTaskQueueMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PollActivityTaskQueue")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("PollActivityTaskQueue")) .build(); } } } return getPollActivityTaskQueueMethod; } private static volatile io.grpc.MethodDescriptor getRecordActivityTaskHeartbeatMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RecordActivityTaskHeartbeat", requestType = io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest.class, responseType = io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRecordActivityTaskHeartbeatMethod() { io.grpc.MethodDescriptor getRecordActivityTaskHeartbeatMethod; if ((getRecordActivityTaskHeartbeatMethod = WorkflowServiceGrpc.getRecordActivityTaskHeartbeatMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRecordActivityTaskHeartbeatMethod = WorkflowServiceGrpc.getRecordActivityTaskHeartbeatMethod) == null) { WorkflowServiceGrpc.getRecordActivityTaskHeartbeatMethod = getRecordActivityTaskHeartbeatMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RecordActivityTaskHeartbeat")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RecordActivityTaskHeartbeat")) .build(); } } } return getRecordActivityTaskHeartbeatMethod; } private static volatile io.grpc.MethodDescriptor getRecordActivityTaskHeartbeatByIdMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RecordActivityTaskHeartbeatById", requestType = io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest.class, responseType = io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRecordActivityTaskHeartbeatByIdMethod() { io.grpc.MethodDescriptor getRecordActivityTaskHeartbeatByIdMethod; if ((getRecordActivityTaskHeartbeatByIdMethod = WorkflowServiceGrpc.getRecordActivityTaskHeartbeatByIdMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRecordActivityTaskHeartbeatByIdMethod = WorkflowServiceGrpc.getRecordActivityTaskHeartbeatByIdMethod) == null) { WorkflowServiceGrpc.getRecordActivityTaskHeartbeatByIdMethod = getRecordActivityTaskHeartbeatByIdMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RecordActivityTaskHeartbeatById")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RecordActivityTaskHeartbeatById")) .build(); } } } return getRecordActivityTaskHeartbeatByIdMethod; } private static volatile io.grpc.MethodDescriptor getRespondActivityTaskCompletedMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RespondActivityTaskCompleted", requestType = io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest.class, responseType = io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRespondActivityTaskCompletedMethod() { io.grpc.MethodDescriptor getRespondActivityTaskCompletedMethod; if ((getRespondActivityTaskCompletedMethod = WorkflowServiceGrpc.getRespondActivityTaskCompletedMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRespondActivityTaskCompletedMethod = WorkflowServiceGrpc.getRespondActivityTaskCompletedMethod) == null) { WorkflowServiceGrpc.getRespondActivityTaskCompletedMethod = getRespondActivityTaskCompletedMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RespondActivityTaskCompleted")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RespondActivityTaskCompleted")) .build(); } } } return getRespondActivityTaskCompletedMethod; } private static volatile io.grpc.MethodDescriptor getRespondActivityTaskCompletedByIdMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RespondActivityTaskCompletedById", requestType = io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest.class, responseType = io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRespondActivityTaskCompletedByIdMethod() { io.grpc.MethodDescriptor getRespondActivityTaskCompletedByIdMethod; if ((getRespondActivityTaskCompletedByIdMethod = WorkflowServiceGrpc.getRespondActivityTaskCompletedByIdMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRespondActivityTaskCompletedByIdMethod = WorkflowServiceGrpc.getRespondActivityTaskCompletedByIdMethod) == null) { WorkflowServiceGrpc.getRespondActivityTaskCompletedByIdMethod = getRespondActivityTaskCompletedByIdMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RespondActivityTaskCompletedById")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RespondActivityTaskCompletedById")) .build(); } } } return getRespondActivityTaskCompletedByIdMethod; } private static volatile io.grpc.MethodDescriptor getRespondActivityTaskFailedMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RespondActivityTaskFailed", requestType = io.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest.class, responseType = io.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRespondActivityTaskFailedMethod() { io.grpc.MethodDescriptor getRespondActivityTaskFailedMethod; if ((getRespondActivityTaskFailedMethod = WorkflowServiceGrpc.getRespondActivityTaskFailedMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRespondActivityTaskFailedMethod = WorkflowServiceGrpc.getRespondActivityTaskFailedMethod) == null) { WorkflowServiceGrpc.getRespondActivityTaskFailedMethod = getRespondActivityTaskFailedMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RespondActivityTaskFailed")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RespondActivityTaskFailed")) .build(); } } } return getRespondActivityTaskFailedMethod; } private static volatile io.grpc.MethodDescriptor getRespondActivityTaskFailedByIdMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RespondActivityTaskFailedById", requestType = io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest.class, responseType = io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRespondActivityTaskFailedByIdMethod() { io.grpc.MethodDescriptor getRespondActivityTaskFailedByIdMethod; if ((getRespondActivityTaskFailedByIdMethod = WorkflowServiceGrpc.getRespondActivityTaskFailedByIdMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRespondActivityTaskFailedByIdMethod = WorkflowServiceGrpc.getRespondActivityTaskFailedByIdMethod) == null) { WorkflowServiceGrpc.getRespondActivityTaskFailedByIdMethod = getRespondActivityTaskFailedByIdMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RespondActivityTaskFailedById")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RespondActivityTaskFailedById")) .build(); } } } return getRespondActivityTaskFailedByIdMethod; } private static volatile io.grpc.MethodDescriptor getRespondActivityTaskCanceledMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RespondActivityTaskCanceled", requestType = io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.class, responseType = io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRespondActivityTaskCanceledMethod() { io.grpc.MethodDescriptor getRespondActivityTaskCanceledMethod; if ((getRespondActivityTaskCanceledMethod = WorkflowServiceGrpc.getRespondActivityTaskCanceledMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRespondActivityTaskCanceledMethod = WorkflowServiceGrpc.getRespondActivityTaskCanceledMethod) == null) { WorkflowServiceGrpc.getRespondActivityTaskCanceledMethod = getRespondActivityTaskCanceledMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RespondActivityTaskCanceled")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RespondActivityTaskCanceled")) .build(); } } } return getRespondActivityTaskCanceledMethod; } private static volatile io.grpc.MethodDescriptor getRespondActivityTaskCanceledByIdMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RespondActivityTaskCanceledById", requestType = io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest.class, responseType = io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRespondActivityTaskCanceledByIdMethod() { io.grpc.MethodDescriptor getRespondActivityTaskCanceledByIdMethod; if ((getRespondActivityTaskCanceledByIdMethod = WorkflowServiceGrpc.getRespondActivityTaskCanceledByIdMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRespondActivityTaskCanceledByIdMethod = WorkflowServiceGrpc.getRespondActivityTaskCanceledByIdMethod) == null) { WorkflowServiceGrpc.getRespondActivityTaskCanceledByIdMethod = getRespondActivityTaskCanceledByIdMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RespondActivityTaskCanceledById")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RespondActivityTaskCanceledById")) .build(); } } } return getRespondActivityTaskCanceledByIdMethod; } private static volatile io.grpc.MethodDescriptor getRequestCancelWorkflowExecutionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RequestCancelWorkflowExecution", requestType = io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest.class, responseType = io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRequestCancelWorkflowExecutionMethod() { io.grpc.MethodDescriptor getRequestCancelWorkflowExecutionMethod; if ((getRequestCancelWorkflowExecutionMethod = WorkflowServiceGrpc.getRequestCancelWorkflowExecutionMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRequestCancelWorkflowExecutionMethod = WorkflowServiceGrpc.getRequestCancelWorkflowExecutionMethod) == null) { WorkflowServiceGrpc.getRequestCancelWorkflowExecutionMethod = getRequestCancelWorkflowExecutionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RequestCancelWorkflowExecution")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RequestCancelWorkflowExecution")) .build(); } } } return getRequestCancelWorkflowExecutionMethod; } private static volatile io.grpc.MethodDescriptor getSignalWorkflowExecutionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SignalWorkflowExecution", requestType = io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.class, responseType = io.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getSignalWorkflowExecutionMethod() { io.grpc.MethodDescriptor getSignalWorkflowExecutionMethod; if ((getSignalWorkflowExecutionMethod = WorkflowServiceGrpc.getSignalWorkflowExecutionMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getSignalWorkflowExecutionMethod = WorkflowServiceGrpc.getSignalWorkflowExecutionMethod) == null) { WorkflowServiceGrpc.getSignalWorkflowExecutionMethod = getSignalWorkflowExecutionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SignalWorkflowExecution")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("SignalWorkflowExecution")) .build(); } } } return getSignalWorkflowExecutionMethod; } private static volatile io.grpc.MethodDescriptor getSignalWithStartWorkflowExecutionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SignalWithStartWorkflowExecution", requestType = io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.class, responseType = io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getSignalWithStartWorkflowExecutionMethod() { io.grpc.MethodDescriptor getSignalWithStartWorkflowExecutionMethod; if ((getSignalWithStartWorkflowExecutionMethod = WorkflowServiceGrpc.getSignalWithStartWorkflowExecutionMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getSignalWithStartWorkflowExecutionMethod = WorkflowServiceGrpc.getSignalWithStartWorkflowExecutionMethod) == null) { WorkflowServiceGrpc.getSignalWithStartWorkflowExecutionMethod = getSignalWithStartWorkflowExecutionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SignalWithStartWorkflowExecution")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("SignalWithStartWorkflowExecution")) .build(); } } } return getSignalWithStartWorkflowExecutionMethod; } private static volatile io.grpc.MethodDescriptor getResetWorkflowExecutionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ResetWorkflowExecution", requestType = io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.class, responseType = io.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getResetWorkflowExecutionMethod() { io.grpc.MethodDescriptor getResetWorkflowExecutionMethod; if ((getResetWorkflowExecutionMethod = WorkflowServiceGrpc.getResetWorkflowExecutionMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getResetWorkflowExecutionMethod = WorkflowServiceGrpc.getResetWorkflowExecutionMethod) == null) { WorkflowServiceGrpc.getResetWorkflowExecutionMethod = getResetWorkflowExecutionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetWorkflowExecution")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ResetWorkflowExecution")) .build(); } } } return getResetWorkflowExecutionMethod; } private static volatile io.grpc.MethodDescriptor getTerminateWorkflowExecutionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TerminateWorkflowExecution", requestType = io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest.class, responseType = io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getTerminateWorkflowExecutionMethod() { io.grpc.MethodDescriptor getTerminateWorkflowExecutionMethod; if ((getTerminateWorkflowExecutionMethod = WorkflowServiceGrpc.getTerminateWorkflowExecutionMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getTerminateWorkflowExecutionMethod = WorkflowServiceGrpc.getTerminateWorkflowExecutionMethod) == null) { WorkflowServiceGrpc.getTerminateWorkflowExecutionMethod = getTerminateWorkflowExecutionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TerminateWorkflowExecution")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("TerminateWorkflowExecution")) .build(); } } } return getTerminateWorkflowExecutionMethod; } private static volatile io.grpc.MethodDescriptor getDeleteWorkflowExecutionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflowExecution", requestType = io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest.class, responseType = io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDeleteWorkflowExecutionMethod() { io.grpc.MethodDescriptor getDeleteWorkflowExecutionMethod; if ((getDeleteWorkflowExecutionMethod = WorkflowServiceGrpc.getDeleteWorkflowExecutionMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getDeleteWorkflowExecutionMethod = WorkflowServiceGrpc.getDeleteWorkflowExecutionMethod) == null) { WorkflowServiceGrpc.getDeleteWorkflowExecutionMethod = getDeleteWorkflowExecutionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkflowExecution")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("DeleteWorkflowExecution")) .build(); } } } return getDeleteWorkflowExecutionMethod; } private static volatile io.grpc.MethodDescriptor getListOpenWorkflowExecutionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListOpenWorkflowExecutions", requestType = io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest.class, responseType = io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListOpenWorkflowExecutionsMethod() { io.grpc.MethodDescriptor getListOpenWorkflowExecutionsMethod; if ((getListOpenWorkflowExecutionsMethod = WorkflowServiceGrpc.getListOpenWorkflowExecutionsMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getListOpenWorkflowExecutionsMethod = WorkflowServiceGrpc.getListOpenWorkflowExecutionsMethod) == null) { WorkflowServiceGrpc.getListOpenWorkflowExecutionsMethod = getListOpenWorkflowExecutionsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOpenWorkflowExecutions")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ListOpenWorkflowExecutions")) .build(); } } } return getListOpenWorkflowExecutionsMethod; } private static volatile io.grpc.MethodDescriptor getListClosedWorkflowExecutionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListClosedWorkflowExecutions", requestType = io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest.class, responseType = io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListClosedWorkflowExecutionsMethod() { io.grpc.MethodDescriptor getListClosedWorkflowExecutionsMethod; if ((getListClosedWorkflowExecutionsMethod = WorkflowServiceGrpc.getListClosedWorkflowExecutionsMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getListClosedWorkflowExecutionsMethod = WorkflowServiceGrpc.getListClosedWorkflowExecutionsMethod) == null) { WorkflowServiceGrpc.getListClosedWorkflowExecutionsMethod = getListClosedWorkflowExecutionsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClosedWorkflowExecutions")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ListClosedWorkflowExecutions")) .build(); } } } return getListClosedWorkflowExecutionsMethod; } private static volatile io.grpc.MethodDescriptor getListWorkflowExecutionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListWorkflowExecutions", requestType = io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest.class, responseType = io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListWorkflowExecutionsMethod() { io.grpc.MethodDescriptor getListWorkflowExecutionsMethod; if ((getListWorkflowExecutionsMethod = WorkflowServiceGrpc.getListWorkflowExecutionsMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getListWorkflowExecutionsMethod = WorkflowServiceGrpc.getListWorkflowExecutionsMethod) == null) { WorkflowServiceGrpc.getListWorkflowExecutionsMethod = getListWorkflowExecutionsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkflowExecutions")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ListWorkflowExecutions")) .build(); } } } return getListWorkflowExecutionsMethod; } private static volatile io.grpc.MethodDescriptor getListArchivedWorkflowExecutionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListArchivedWorkflowExecutions", requestType = io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest.class, responseType = io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListArchivedWorkflowExecutionsMethod() { io.grpc.MethodDescriptor getListArchivedWorkflowExecutionsMethod; if ((getListArchivedWorkflowExecutionsMethod = WorkflowServiceGrpc.getListArchivedWorkflowExecutionsMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getListArchivedWorkflowExecutionsMethod = WorkflowServiceGrpc.getListArchivedWorkflowExecutionsMethod) == null) { WorkflowServiceGrpc.getListArchivedWorkflowExecutionsMethod = getListArchivedWorkflowExecutionsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListArchivedWorkflowExecutions")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ListArchivedWorkflowExecutions")) .build(); } } } return getListArchivedWorkflowExecutionsMethod; } private static volatile io.grpc.MethodDescriptor getScanWorkflowExecutionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ScanWorkflowExecutions", requestType = io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest.class, responseType = io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getScanWorkflowExecutionsMethod() { io.grpc.MethodDescriptor getScanWorkflowExecutionsMethod; if ((getScanWorkflowExecutionsMethod = WorkflowServiceGrpc.getScanWorkflowExecutionsMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getScanWorkflowExecutionsMethod = WorkflowServiceGrpc.getScanWorkflowExecutionsMethod) == null) { WorkflowServiceGrpc.getScanWorkflowExecutionsMethod = getScanWorkflowExecutionsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ScanWorkflowExecutions")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ScanWorkflowExecutions")) .build(); } } } return getScanWorkflowExecutionsMethod; } private static volatile io.grpc.MethodDescriptor getCountWorkflowExecutionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CountWorkflowExecutions", requestType = io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest.class, responseType = io.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCountWorkflowExecutionsMethod() { io.grpc.MethodDescriptor getCountWorkflowExecutionsMethod; if ((getCountWorkflowExecutionsMethod = WorkflowServiceGrpc.getCountWorkflowExecutionsMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getCountWorkflowExecutionsMethod = WorkflowServiceGrpc.getCountWorkflowExecutionsMethod) == null) { WorkflowServiceGrpc.getCountWorkflowExecutionsMethod = getCountWorkflowExecutionsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CountWorkflowExecutions")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("CountWorkflowExecutions")) .build(); } } } return getCountWorkflowExecutionsMethod; } private static volatile io.grpc.MethodDescriptor getGetSearchAttributesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetSearchAttributes", requestType = io.temporal.api.workflowservice.v1.GetSearchAttributesRequest.class, responseType = io.temporal.api.workflowservice.v1.GetSearchAttributesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetSearchAttributesMethod() { io.grpc.MethodDescriptor getGetSearchAttributesMethod; if ((getGetSearchAttributesMethod = WorkflowServiceGrpc.getGetSearchAttributesMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getGetSearchAttributesMethod = WorkflowServiceGrpc.getGetSearchAttributesMethod) == null) { WorkflowServiceGrpc.getGetSearchAttributesMethod = getGetSearchAttributesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSearchAttributes")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetSearchAttributesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetSearchAttributesResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("GetSearchAttributes")) .build(); } } } return getGetSearchAttributesMethod; } private static volatile io.grpc.MethodDescriptor getRespondQueryTaskCompletedMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RespondQueryTaskCompleted", requestType = io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest.class, responseType = io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRespondQueryTaskCompletedMethod() { io.grpc.MethodDescriptor getRespondQueryTaskCompletedMethod; if ((getRespondQueryTaskCompletedMethod = WorkflowServiceGrpc.getRespondQueryTaskCompletedMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getRespondQueryTaskCompletedMethod = WorkflowServiceGrpc.getRespondQueryTaskCompletedMethod) == null) { WorkflowServiceGrpc.getRespondQueryTaskCompletedMethod = getRespondQueryTaskCompletedMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RespondQueryTaskCompleted")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("RespondQueryTaskCompleted")) .build(); } } } return getRespondQueryTaskCompletedMethod; } private static volatile io.grpc.MethodDescriptor getResetStickyTaskQueueMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ResetStickyTaskQueue", requestType = io.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest.class, responseType = io.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getResetStickyTaskQueueMethod() { io.grpc.MethodDescriptor getResetStickyTaskQueueMethod; if ((getResetStickyTaskQueueMethod = WorkflowServiceGrpc.getResetStickyTaskQueueMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getResetStickyTaskQueueMethod = WorkflowServiceGrpc.getResetStickyTaskQueueMethod) == null) { WorkflowServiceGrpc.getResetStickyTaskQueueMethod = getResetStickyTaskQueueMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetStickyTaskQueue")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ResetStickyTaskQueue")) .build(); } } } return getResetStickyTaskQueueMethod; } private static volatile io.grpc.MethodDescriptor getQueryWorkflowMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "QueryWorkflow", requestType = io.temporal.api.workflowservice.v1.QueryWorkflowRequest.class, responseType = io.temporal.api.workflowservice.v1.QueryWorkflowResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getQueryWorkflowMethod() { io.grpc.MethodDescriptor getQueryWorkflowMethod; if ((getQueryWorkflowMethod = WorkflowServiceGrpc.getQueryWorkflowMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getQueryWorkflowMethod = WorkflowServiceGrpc.getQueryWorkflowMethod) == null) { WorkflowServiceGrpc.getQueryWorkflowMethod = getQueryWorkflowMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryWorkflow")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.QueryWorkflowRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.QueryWorkflowResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("QueryWorkflow")) .build(); } } } return getQueryWorkflowMethod; } private static volatile io.grpc.MethodDescriptor getDescribeWorkflowExecutionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DescribeWorkflowExecution", requestType = io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest.class, responseType = io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDescribeWorkflowExecutionMethod() { io.grpc.MethodDescriptor getDescribeWorkflowExecutionMethod; if ((getDescribeWorkflowExecutionMethod = WorkflowServiceGrpc.getDescribeWorkflowExecutionMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getDescribeWorkflowExecutionMethod = WorkflowServiceGrpc.getDescribeWorkflowExecutionMethod) == null) { WorkflowServiceGrpc.getDescribeWorkflowExecutionMethod = getDescribeWorkflowExecutionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeWorkflowExecution")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("DescribeWorkflowExecution")) .build(); } } } return getDescribeWorkflowExecutionMethod; } private static volatile io.grpc.MethodDescriptor getDescribeTaskQueueMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DescribeTaskQueue", requestType = io.temporal.api.workflowservice.v1.DescribeTaskQueueRequest.class, responseType = io.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDescribeTaskQueueMethod() { io.grpc.MethodDescriptor getDescribeTaskQueueMethod; if ((getDescribeTaskQueueMethod = WorkflowServiceGrpc.getDescribeTaskQueueMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getDescribeTaskQueueMethod = WorkflowServiceGrpc.getDescribeTaskQueueMethod) == null) { WorkflowServiceGrpc.getDescribeTaskQueueMethod = getDescribeTaskQueueMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeTaskQueue")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeTaskQueueRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeTaskQueueResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("DescribeTaskQueue")) .build(); } } } return getDescribeTaskQueueMethod; } private static volatile io.grpc.MethodDescriptor getGetClusterInfoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetClusterInfo", requestType = io.temporal.api.workflowservice.v1.GetClusterInfoRequest.class, responseType = io.temporal.api.workflowservice.v1.GetClusterInfoResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetClusterInfoMethod() { io.grpc.MethodDescriptor getGetClusterInfoMethod; if ((getGetClusterInfoMethod = WorkflowServiceGrpc.getGetClusterInfoMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getGetClusterInfoMethod = WorkflowServiceGrpc.getGetClusterInfoMethod) == null) { WorkflowServiceGrpc.getGetClusterInfoMethod = getGetClusterInfoMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetClusterInfo")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetClusterInfoRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetClusterInfoResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("GetClusterInfo")) .build(); } } } return getGetClusterInfoMethod; } private static volatile io.grpc.MethodDescriptor getGetSystemInfoMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetSystemInfo", requestType = io.temporal.api.workflowservice.v1.GetSystemInfoRequest.class, responseType = io.temporal.api.workflowservice.v1.GetSystemInfoResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetSystemInfoMethod() { io.grpc.MethodDescriptor getGetSystemInfoMethod; if ((getGetSystemInfoMethod = WorkflowServiceGrpc.getGetSystemInfoMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getGetSystemInfoMethod = WorkflowServiceGrpc.getGetSystemInfoMethod) == null) { WorkflowServiceGrpc.getGetSystemInfoMethod = getGetSystemInfoMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemInfo")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetSystemInfoRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetSystemInfoResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("GetSystemInfo")) .build(); } } } return getGetSystemInfoMethod; } private static volatile io.grpc.MethodDescriptor getListTaskQueuePartitionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListTaskQueuePartitions", requestType = io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest.class, responseType = io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListTaskQueuePartitionsMethod() { io.grpc.MethodDescriptor getListTaskQueuePartitionsMethod; if ((getListTaskQueuePartitionsMethod = WorkflowServiceGrpc.getListTaskQueuePartitionsMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getListTaskQueuePartitionsMethod = WorkflowServiceGrpc.getListTaskQueuePartitionsMethod) == null) { WorkflowServiceGrpc.getListTaskQueuePartitionsMethod = getListTaskQueuePartitionsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaskQueuePartitions")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ListTaskQueuePartitions")) .build(); } } } return getListTaskQueuePartitionsMethod; } private static volatile io.grpc.MethodDescriptor getCreateScheduleMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateSchedule", requestType = io.temporal.api.workflowservice.v1.CreateScheduleRequest.class, responseType = io.temporal.api.workflowservice.v1.CreateScheduleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCreateScheduleMethod() { io.grpc.MethodDescriptor getCreateScheduleMethod; if ((getCreateScheduleMethod = WorkflowServiceGrpc.getCreateScheduleMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getCreateScheduleMethod = WorkflowServiceGrpc.getCreateScheduleMethod) == null) { WorkflowServiceGrpc.getCreateScheduleMethod = getCreateScheduleMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSchedule")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.CreateScheduleRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.CreateScheduleResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("CreateSchedule")) .build(); } } } return getCreateScheduleMethod; } private static volatile io.grpc.MethodDescriptor getDescribeScheduleMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DescribeSchedule", requestType = io.temporal.api.workflowservice.v1.DescribeScheduleRequest.class, responseType = io.temporal.api.workflowservice.v1.DescribeScheduleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDescribeScheduleMethod() { io.grpc.MethodDescriptor getDescribeScheduleMethod; if ((getDescribeScheduleMethod = WorkflowServiceGrpc.getDescribeScheduleMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getDescribeScheduleMethod = WorkflowServiceGrpc.getDescribeScheduleMethod) == null) { WorkflowServiceGrpc.getDescribeScheduleMethod = getDescribeScheduleMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeSchedule")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeScheduleRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeScheduleResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("DescribeSchedule")) .build(); } } } return getDescribeScheduleMethod; } private static volatile io.grpc.MethodDescriptor getUpdateScheduleMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateSchedule", requestType = io.temporal.api.workflowservice.v1.UpdateScheduleRequest.class, responseType = io.temporal.api.workflowservice.v1.UpdateScheduleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateScheduleMethod() { io.grpc.MethodDescriptor getUpdateScheduleMethod; if ((getUpdateScheduleMethod = WorkflowServiceGrpc.getUpdateScheduleMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getUpdateScheduleMethod = WorkflowServiceGrpc.getUpdateScheduleMethod) == null) { WorkflowServiceGrpc.getUpdateScheduleMethod = getUpdateScheduleMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSchedule")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.UpdateScheduleRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.UpdateScheduleResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("UpdateSchedule")) .build(); } } } return getUpdateScheduleMethod; } private static volatile io.grpc.MethodDescriptor getPatchScheduleMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "PatchSchedule", requestType = io.temporal.api.workflowservice.v1.PatchScheduleRequest.class, responseType = io.temporal.api.workflowservice.v1.PatchScheduleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getPatchScheduleMethod() { io.grpc.MethodDescriptor getPatchScheduleMethod; if ((getPatchScheduleMethod = WorkflowServiceGrpc.getPatchScheduleMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getPatchScheduleMethod = WorkflowServiceGrpc.getPatchScheduleMethod) == null) { WorkflowServiceGrpc.getPatchScheduleMethod = getPatchScheduleMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchSchedule")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.PatchScheduleRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.PatchScheduleResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("PatchSchedule")) .build(); } } } return getPatchScheduleMethod; } private static volatile io.grpc.MethodDescriptor getListScheduleMatchingTimesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListScheduleMatchingTimes", requestType = io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest.class, responseType = io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListScheduleMatchingTimesMethod() { io.grpc.MethodDescriptor getListScheduleMatchingTimesMethod; if ((getListScheduleMatchingTimesMethod = WorkflowServiceGrpc.getListScheduleMatchingTimesMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getListScheduleMatchingTimesMethod = WorkflowServiceGrpc.getListScheduleMatchingTimesMethod) == null) { WorkflowServiceGrpc.getListScheduleMatchingTimesMethod = getListScheduleMatchingTimesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListScheduleMatchingTimes")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ListScheduleMatchingTimes")) .build(); } } } return getListScheduleMatchingTimesMethod; } private static volatile io.grpc.MethodDescriptor getDeleteScheduleMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteSchedule", requestType = io.temporal.api.workflowservice.v1.DeleteScheduleRequest.class, responseType = io.temporal.api.workflowservice.v1.DeleteScheduleResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDeleteScheduleMethod() { io.grpc.MethodDescriptor getDeleteScheduleMethod; if ((getDeleteScheduleMethod = WorkflowServiceGrpc.getDeleteScheduleMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getDeleteScheduleMethod = WorkflowServiceGrpc.getDeleteScheduleMethod) == null) { WorkflowServiceGrpc.getDeleteScheduleMethod = getDeleteScheduleMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSchedule")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DeleteScheduleRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DeleteScheduleResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("DeleteSchedule")) .build(); } } } return getDeleteScheduleMethod; } private static volatile io.grpc.MethodDescriptor getListSchedulesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListSchedules", requestType = io.temporal.api.workflowservice.v1.ListSchedulesRequest.class, responseType = io.temporal.api.workflowservice.v1.ListSchedulesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListSchedulesMethod() { io.grpc.MethodDescriptor getListSchedulesMethod; if ((getListSchedulesMethod = WorkflowServiceGrpc.getListSchedulesMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getListSchedulesMethod = WorkflowServiceGrpc.getListSchedulesMethod) == null) { WorkflowServiceGrpc.getListSchedulesMethod = getListSchedulesMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSchedules")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListSchedulesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListSchedulesResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ListSchedules")) .build(); } } } return getListSchedulesMethod; } private static volatile io.grpc.MethodDescriptor getUpdateWorkerBuildIdCompatibilityMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateWorkerBuildIdCompatibility", requestType = io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.class, responseType = io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateWorkerBuildIdCompatibilityMethod() { io.grpc.MethodDescriptor getUpdateWorkerBuildIdCompatibilityMethod; if ((getUpdateWorkerBuildIdCompatibilityMethod = WorkflowServiceGrpc.getUpdateWorkerBuildIdCompatibilityMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getUpdateWorkerBuildIdCompatibilityMethod = WorkflowServiceGrpc.getUpdateWorkerBuildIdCompatibilityMethod) == null) { WorkflowServiceGrpc.getUpdateWorkerBuildIdCompatibilityMethod = getUpdateWorkerBuildIdCompatibilityMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateWorkerBuildIdCompatibility")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("UpdateWorkerBuildIdCompatibility")) .build(); } } } return getUpdateWorkerBuildIdCompatibilityMethod; } private static volatile io.grpc.MethodDescriptor getGetWorkerBuildIdCompatibilityMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetWorkerBuildIdCompatibility", requestType = io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest.class, responseType = io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetWorkerBuildIdCompatibilityMethod() { io.grpc.MethodDescriptor getGetWorkerBuildIdCompatibilityMethod; if ((getGetWorkerBuildIdCompatibilityMethod = WorkflowServiceGrpc.getGetWorkerBuildIdCompatibilityMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getGetWorkerBuildIdCompatibilityMethod = WorkflowServiceGrpc.getGetWorkerBuildIdCompatibilityMethod) == null) { WorkflowServiceGrpc.getGetWorkerBuildIdCompatibilityMethod = getGetWorkerBuildIdCompatibilityMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkerBuildIdCompatibility")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("GetWorkerBuildIdCompatibility")) .build(); } } } return getGetWorkerBuildIdCompatibilityMethod; } private static volatile io.grpc.MethodDescriptor getGetWorkerTaskReachabilityMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetWorkerTaskReachability", requestType = io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest.class, responseType = io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetWorkerTaskReachabilityMethod() { io.grpc.MethodDescriptor getGetWorkerTaskReachabilityMethod; if ((getGetWorkerTaskReachabilityMethod = WorkflowServiceGrpc.getGetWorkerTaskReachabilityMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getGetWorkerTaskReachabilityMethod = WorkflowServiceGrpc.getGetWorkerTaskReachabilityMethod) == null) { WorkflowServiceGrpc.getGetWorkerTaskReachabilityMethod = getGetWorkerTaskReachabilityMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkerTaskReachability")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("GetWorkerTaskReachability")) .build(); } } } return getGetWorkerTaskReachabilityMethod; } private static volatile io.grpc.MethodDescriptor getUpdateWorkflowExecutionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateWorkflowExecution", requestType = io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.class, responseType = io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateWorkflowExecutionMethod() { io.grpc.MethodDescriptor getUpdateWorkflowExecutionMethod; if ((getUpdateWorkflowExecutionMethod = WorkflowServiceGrpc.getUpdateWorkflowExecutionMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getUpdateWorkflowExecutionMethod = WorkflowServiceGrpc.getUpdateWorkflowExecutionMethod) == null) { WorkflowServiceGrpc.getUpdateWorkflowExecutionMethod = getUpdateWorkflowExecutionMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateWorkflowExecution")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("UpdateWorkflowExecution")) .build(); } } } return getUpdateWorkflowExecutionMethod; } private static volatile io.grpc.MethodDescriptor getPollWorkflowExecutionUpdateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "PollWorkflowExecutionUpdate", requestType = io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest.class, responseType = io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getPollWorkflowExecutionUpdateMethod() { io.grpc.MethodDescriptor getPollWorkflowExecutionUpdateMethod; if ((getPollWorkflowExecutionUpdateMethod = WorkflowServiceGrpc.getPollWorkflowExecutionUpdateMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getPollWorkflowExecutionUpdateMethod = WorkflowServiceGrpc.getPollWorkflowExecutionUpdateMethod) == null) { WorkflowServiceGrpc.getPollWorkflowExecutionUpdateMethod = getPollWorkflowExecutionUpdateMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PollWorkflowExecutionUpdate")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("PollWorkflowExecutionUpdate")) .build(); } } } return getPollWorkflowExecutionUpdateMethod; } private static volatile io.grpc.MethodDescriptor getStartBatchOperationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "StartBatchOperation", requestType = io.temporal.api.workflowservice.v1.StartBatchOperationRequest.class, responseType = io.temporal.api.workflowservice.v1.StartBatchOperationResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getStartBatchOperationMethod() { io.grpc.MethodDescriptor getStartBatchOperationMethod; if ((getStartBatchOperationMethod = WorkflowServiceGrpc.getStartBatchOperationMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getStartBatchOperationMethod = WorkflowServiceGrpc.getStartBatchOperationMethod) == null) { WorkflowServiceGrpc.getStartBatchOperationMethod = getStartBatchOperationMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartBatchOperation")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.StartBatchOperationRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.StartBatchOperationResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("StartBatchOperation")) .build(); } } } return getStartBatchOperationMethod; } private static volatile io.grpc.MethodDescriptor getStopBatchOperationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "StopBatchOperation", requestType = io.temporal.api.workflowservice.v1.StopBatchOperationRequest.class, responseType = io.temporal.api.workflowservice.v1.StopBatchOperationResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getStopBatchOperationMethod() { io.grpc.MethodDescriptor getStopBatchOperationMethod; if ((getStopBatchOperationMethod = WorkflowServiceGrpc.getStopBatchOperationMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getStopBatchOperationMethod = WorkflowServiceGrpc.getStopBatchOperationMethod) == null) { WorkflowServiceGrpc.getStopBatchOperationMethod = getStopBatchOperationMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopBatchOperation")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.StopBatchOperationRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.StopBatchOperationResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("StopBatchOperation")) .build(); } } } return getStopBatchOperationMethod; } private static volatile io.grpc.MethodDescriptor getDescribeBatchOperationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DescribeBatchOperation", requestType = io.temporal.api.workflowservice.v1.DescribeBatchOperationRequest.class, responseType = io.temporal.api.workflowservice.v1.DescribeBatchOperationResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDescribeBatchOperationMethod() { io.grpc.MethodDescriptor getDescribeBatchOperationMethod; if ((getDescribeBatchOperationMethod = WorkflowServiceGrpc.getDescribeBatchOperationMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getDescribeBatchOperationMethod = WorkflowServiceGrpc.getDescribeBatchOperationMethod) == null) { WorkflowServiceGrpc.getDescribeBatchOperationMethod = getDescribeBatchOperationMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeBatchOperation")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeBatchOperationRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.DescribeBatchOperationResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("DescribeBatchOperation")) .build(); } } } return getDescribeBatchOperationMethod; } private static volatile io.grpc.MethodDescriptor getListBatchOperationsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListBatchOperations", requestType = io.temporal.api.workflowservice.v1.ListBatchOperationsRequest.class, responseType = io.temporal.api.workflowservice.v1.ListBatchOperationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListBatchOperationsMethod() { io.grpc.MethodDescriptor getListBatchOperationsMethod; if ((getListBatchOperationsMethod = WorkflowServiceGrpc.getListBatchOperationsMethod) == null) { synchronized (WorkflowServiceGrpc.class) { if ((getListBatchOperationsMethod = WorkflowServiceGrpc.getListBatchOperationsMethod) == null) { WorkflowServiceGrpc.getListBatchOperationsMethod = getListBatchOperationsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBatchOperations")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListBatchOperationsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.temporal.api.workflowservice.v1.ListBatchOperationsResponse.getDefaultInstance())) .setSchemaDescriptor(new WorkflowServiceMethodDescriptorSupplier("ListBatchOperations")) .build(); } } } return getListBatchOperationsMethod; } /** * Creates a new async stub that supports all call types for the service */ public static WorkflowServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public WorkflowServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new WorkflowServiceStub(channel, callOptions); } }; return WorkflowServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static WorkflowServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public WorkflowServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new WorkflowServiceBlockingStub(channel, callOptions); } }; return WorkflowServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static WorkflowServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public WorkflowServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new WorkflowServiceFutureStub(channel, callOptions); } }; return WorkflowServiceFutureStub.newStub(factory, channel); } /** *
   * WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
   * to create and interact with workflows and activities.
   * Users are expected to call `StartWorkflowExecution` to create a new workflow execution.
   * To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow
   * and activity tasks from the service. For each workflow task, the sdk must process the
   * (incremental or complete) event history and respond back with any newly generated commands.
   * For each activity task, the worker is expected to execute the user's code which implements that
   * activity, responding with completion or failure.
   * 
*/ public static abstract class WorkflowServiceImplBase implements io.grpc.BindableService { /** *
     * RegisterNamespace creates a new namespace which can be used as a container for all resources.
     * A Namespace is a top level entity within Temporal, and is used as a container for resources
     * like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides
     * isolation for all resources within the namespace. All resources belongs to exactly one
     * namespace.
     * 
*/ public void registerNamespace(io.temporal.api.workflowservice.v1.RegisterNamespaceRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRegisterNamespaceMethod(), responseObserver); } /** *
     * DescribeNamespace returns the information and configuration for a registered namespace.
     * 
*/ public void describeNamespace(io.temporal.api.workflowservice.v1.DescribeNamespaceRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDescribeNamespaceMethod(), responseObserver); } /** *
     * ListNamespaces returns the information and configuration for all namespaces.
     * 
*/ public void listNamespaces(io.temporal.api.workflowservice.v1.ListNamespacesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListNamespacesMethod(), responseObserver); } /** *
     * UpdateNamespace is used to update the information and configuration of a registered
     * namespace.
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
     * 
*/ public void updateNamespace(io.temporal.api.workflowservice.v1.UpdateNamespaceRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateNamespaceMethod(), responseObserver); } /** *
     * DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED.
     * Once the namespace is deprecated it cannot be used to start new workflow executions. Existing
     * workflow executions will continue to run on deprecated namespaces.
     * Deprecated.
     * 
*/ public void deprecateNamespace(io.temporal.api.workflowservice.v1.DeprecateNamespaceRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeprecateNamespaceMethod(), responseObserver); } /** *
     * StartWorkflowExecution starts a new workflow execution.
     * It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and
     * also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an
     * instance already exists with same workflow id.
     * 
*/ public void startWorkflowExecution(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getStartWorkflowExecutionMethod(), responseObserver); } /** *
     * GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with
     * `NotFound` if the specified workflow execution is unknown to the service.
     * 
*/ public void getWorkflowExecutionHistory(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetWorkflowExecutionHistoryMethod(), responseObserver); } /** *
     * GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse 
     * order (starting from last event). Fails with`NotFound` if the specified workflow execution is 
     * unknown to the service.
     * 
*/ public void getWorkflowExecutionHistoryReverse(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetWorkflowExecutionHistoryReverseMethod(), responseObserver); } /** *
     * PollWorkflowTaskQueue is called by workers to make progress on workflows.
     * A WorkflowTask is dispatched to callers for active workflow executions with pending workflow
     * tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done
     * processing the task. The service will create a `WorkflowTaskStarted` event in the history for
     * this task before handing it to the worker.
     * 
*/ public void pollWorkflowTaskQueue(io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getPollWorkflowTaskQueueMethod(), responseObserver); } /** *
     * RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks
     * they received from `PollWorkflowTaskQueue`.
     * Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's
     * history, along with events corresponding to whatever commands the SDK generated while
     * executing the task (ex timer started, activity task scheduled, etc).
     * 
*/ public void respondWorkflowTaskCompleted(io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRespondWorkflowTaskCompletedMethod(), responseObserver); } /** *
     * RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task
     * failed.
     * This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow
     * task will be scheduled. This API can be used to report unhandled failures resulting from
     * applying the workflow task.
     * Temporal will only append first WorkflowTaskFailed event to the history of workflow execution
     * for consecutive failures.
     * 
*/ public void respondWorkflowTaskFailed(io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRespondWorkflowTaskFailedMethod(), responseObserver); } /** *
     * PollActivityTaskQueue is called by workers to process activity tasks from a specific task
     * queue.
     * The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done
     * processing the task.
     * An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during
     * workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state
     * before the task is dispatched to the worker. The started event, and the final event
     * (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be
     * written permanently to Workflow execution history when Activity is finished. This is done to
     * avoid writing many events in the case of a failure/retry loop.
     * 
*/ public void pollActivityTaskQueue(io.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getPollActivityTaskQueueMethod(), responseObserver); } /** *
     * RecordActivityTaskHeartbeat is optionally called by workers while they execute activities.
     * If worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task,
     * then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will be written to
     * the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in
     * such situations, in that event, the SDK should request cancellation of the activity.
     * 
*/ public void recordActivityTaskHeartbeat(io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRecordActivityTaskHeartbeatMethod(), responseObserver); } /** *
     * See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public void recordActivityTaskHeartbeatById(io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRecordActivityTaskHeartbeatByIdMethod(), responseObserver); } /** *
     * RespondActivityTaskCompleted is called by workers when they successfully complete an activity
     * task.
     * This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history
     * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
     * no longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public void respondActivityTaskCompleted(io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRespondActivityTaskCompletedMethod(), responseObserver); } /** *
     * See `RecordActivityTaskCompleted`. This version allows clients to record completions by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public void respondActivityTaskCompletedById(io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRespondActivityTaskCompletedByIdMethod(), responseObserver); } /** *
     * RespondActivityTaskFailed is called by workers when processing an activity task fails.
     * This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and
     * a new workflow task created for the workflow. Fails with `NotFound` if the task token is no
     * longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public void respondActivityTaskFailed(io.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRespondActivityTaskFailedMethod(), responseObserver); } /** *
     * See `RecordActivityTaskFailed`. This version allows clients to record failures by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public void respondActivityTaskFailedById(io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRespondActivityTaskFailedByIdMethod(), responseObserver); } /** *
     * RespondActivityTaskFailed is called by workers when processing an activity task fails.
     * This results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history
     * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
     * no longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public void respondActivityTaskCanceled(io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRespondActivityTaskCanceledMethod(), responseObserver); } /** *
     * See `RecordActivityTaskCanceled`. This version allows clients to record failures by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public void respondActivityTaskCanceledById(io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRespondActivityTaskCanceledByIdMethod(), responseObserver); } /** *
     * RequestCancelWorkflowExecution is called by workers when they want to request cancellation of
     * a workflow execution.
     * This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the
     * workflow history and a new workflow task created for the workflow. It returns success if the requested
     * workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist.
     * 
*/ public void requestCancelWorkflowExecution(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRequestCancelWorkflowExecutionMethod(), responseObserver); } /** *
     * SignalWorkflowExecution is used to send a signal to a running workflow execution.
     * This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow
     * task being created for the execution.
     * 
*/ public void signalWorkflowExecution(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getSignalWorkflowExecutionMethod(), responseObserver); } /** *
     * SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if
     * it isn't yet started.
     * If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history
     * and a workflow task is generated.
     * If the workflow is not running or not found, then the workflow is created with
     * `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a
     * workflow task is generated.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "With" is used to indicate combined operation. --)
     * 
*/ public void signalWithStartWorkflowExecution(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getSignalWithStartWorkflowExecutionMethod(), responseObserver); } /** *
     * ResetWorkflowExecution will reset an existing workflow execution to a specified
     * `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current
     * execution instance.
     * TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out?
     * 
*/ public void resetWorkflowExecution(io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getResetWorkflowExecutionMethod(), responseObserver); } /** *
     * TerminateWorkflowExecution terminates an existing workflow execution by recording a
     * `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the
     * execution instance.
     * 
*/ public void terminateWorkflowExecution(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getTerminateWorkflowExecutionMethod(), responseObserver); } /** *
     * DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when
     * WorkflowExecution.run_id is provided) or the latest Workflow Execution (when
     * WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be
     * terminated before deletion.
     * (-- api-linter: core::0135::method-signature=disabled
     *     aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0135::response-message-name=disabled
     *     aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
     * 
*/ public void deleteWorkflowExecution(io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteWorkflowExecutionMethod(), responseObserver); } /** *
     * ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace.
     * 
*/ public void listOpenWorkflowExecutions(io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListOpenWorkflowExecutionsMethod(), responseObserver); } /** *
     * ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace.
     * 
*/ public void listClosedWorkflowExecutions(io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListClosedWorkflowExecutionsMethod(), responseObserver); } /** *
     * ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.
     * 
*/ public void listWorkflowExecutions(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListWorkflowExecutionsMethod(), responseObserver); } /** *
     * ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.
     * 
*/ public void listArchivedWorkflowExecutions(io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListArchivedWorkflowExecutionsMethod(), responseObserver); } /** *
     * ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific namespace without order.
     * 
*/ public void scanWorkflowExecutions(io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getScanWorkflowExecutionsMethod(), responseObserver); } /** *
     * CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.
     * 
*/ public void countWorkflowExecutions(io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCountWorkflowExecutionsMethod(), responseObserver); } /** *
     * GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs
     * 
*/ public void getSearchAttributes(io.temporal.api.workflowservice.v1.GetSearchAttributesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetSearchAttributesMethod(), responseObserver); } /** *
     * RespondQueryTaskCompleted is called by workers to complete queries which were delivered on
     * the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`.
     * Completing the query will unblock the corresponding client call to `QueryWorkflow` and return
     * the query result a response.
     * 
*/ public void respondQueryTaskCompleted(io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRespondQueryTaskCompletedMethod(), responseObserver); } /** *
     * ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of
     * a given workflow. This is prudent for workers to perform if a workflow has been paged out of
     * their cache.
     * Things cleared are:
     * 1. StickyTaskQueue
     * 2. StickyScheduleToStartTimeout
     * 
*/ public void resetStickyTaskQueue(io.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getResetStickyTaskQueueMethod(), responseObserver); } /** *
     * QueryWorkflow requests a query be executed for a specified workflow execution.
     * 
*/ public void queryWorkflow(io.temporal.api.workflowservice.v1.QueryWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getQueryWorkflowMethod(), responseObserver); } /** *
     * DescribeWorkflowExecution returns information about the specified workflow execution.
     * 
*/ public void describeWorkflowExecution(io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDescribeWorkflowExecutionMethod(), responseObserver); } /** *
     * DescribeTaskQueue returns information about the target task queue.
     * 
*/ public void describeTaskQueue(io.temporal.api.workflowservice.v1.DescribeTaskQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDescribeTaskQueueMethod(), responseObserver); } /** *
     * GetClusterInfo returns information about temporal cluster
     * 
*/ public void getClusterInfo(io.temporal.api.workflowservice.v1.GetClusterInfoRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetClusterInfoMethod(), responseObserver); } /** *
     * GetSystemInfo returns information about the system.
     * 
*/ public void getSystemInfo(io.temporal.api.workflowservice.v1.GetSystemInfoRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetSystemInfoMethod(), responseObserver); } /** */ public void listTaskQueuePartitions(io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListTaskQueuePartitionsMethod(), responseObserver); } /** *
     * Creates a new schedule.
     * (-- api-linter: core::0133::method-signature=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0133::response-message-name=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0133::http-uri-parent=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * 
*/ public void createSchedule(io.temporal.api.workflowservice.v1.CreateScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCreateScheduleMethod(), responseObserver); } /** *
     * Returns the schedule description and current state of an existing schedule.
     * 
*/ public void describeSchedule(io.temporal.api.workflowservice.v1.DescribeScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDescribeScheduleMethod(), responseObserver); } /** *
     * Changes the configuration or state of an existing schedule.
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --)
     * 
*/ public void updateSchedule(io.temporal.api.workflowservice.v1.UpdateScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateScheduleMethod(), responseObserver); } /** *
     * Makes a specific change to a schedule or triggers an immediate action.
     * (-- api-linter: core::0134::synonyms=disabled
     *     aip.dev/not-precedent: we have both patch and update. --)
     * 
*/ public void patchSchedule(io.temporal.api.workflowservice.v1.PatchScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getPatchScheduleMethod(), responseObserver); } /** *
     * Lists matching times within a range.
     * 
*/ public void listScheduleMatchingTimes(io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListScheduleMatchingTimesMethod(), responseObserver); } /** *
     * Deletes a schedule, removing it from the system.
     * (-- api-linter: core::0135::method-signature=disabled
     *     aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0135::response-message-name=disabled
     *     aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
     * 
*/ public void deleteSchedule(io.temporal.api.workflowservice.v1.DeleteScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteScheduleMethod(), responseObserver); } /** *
     * List all schedules in a namespace.
     * 
*/ public void listSchedules(io.temporal.api.workflowservice.v1.ListSchedulesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListSchedulesMethod(), responseObserver); } /** *
     * Allows users to specify sets of worker build id versions on a per task queue basis. Versions
     * are ordered, and may be either compatible with some extant version, or a new incompatible
     * version, forming sets of ids which are incompatible with each other, but whose contained
     * members are compatible with one another.
     * A single build id may be mapped to multiple task queues using this API for cases where a single process hosts
     * multiple workers. 
     * 
     * To query which workers can be retired, use the `GetWorkerTaskReachability` API.
     * NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId`
     * (default is 20), if this limit is exceeded this API will error with a FailedPrecondition.
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --)
     * 
*/ public void updateWorkerBuildIdCompatibility(io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateWorkerBuildIdCompatibilityMethod(), responseObserver); } /** *
     * Fetches the worker build id versioning sets for a task queue.
     * 
*/ public void getWorkerBuildIdCompatibility(io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetWorkerBuildIdCompatibilityMethod(), responseObserver); } /** *
     * Fetches task reachability to determine whether a worker may be retired.
     * The request may specify task queues to query for or let the server fetch all task queues mapped to the given
     * build IDs.
     * When requesting a large number of task queues or all task queues associated with the given build ids in a
     * namespace, all task queues will be listed in the response but some of them may not contain reachability
     * information due to a server enforced limit. When reaching the limit, task queues that reachability information
     * could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue
     * another call to get the reachability for those task queues.
     * Open source users can adjust this limit by setting the server's dynamic config value for
     * `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store.
     * 
*/ public void getWorkerTaskReachability(io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetWorkerTaskReachabilityMethod(), responseObserver); } /** *
     * Invokes the specified update function on user workflow code.
     * (-- api-linter: core::0134=disabled
     *     aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --)
     * 
*/ public void updateWorkflowExecution(io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateWorkflowExecutionMethod(), responseObserver); } /** *
     * Polls a workflow execution for the outcome of a workflow execution update
     * previously issued through the UpdateWorkflowExecution RPC. The effective
     * timeout on this call will be shorter of the the caller-supplied gRPC
     * timeout and the server's configured long-poll timeout.
     * (-- api-linter: core::0134=disabled
     *     aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --)
     * 
*/ public void pollWorkflowExecutionUpdate(io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getPollWorkflowExecutionUpdateMethod(), responseObserver); } /** *
     * StartBatchOperation starts a new batch operation
     * 
*/ public void startBatchOperation(io.temporal.api.workflowservice.v1.StartBatchOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getStartBatchOperationMethod(), responseObserver); } /** *
     * StopBatchOperation stops a batch operation
     * 
*/ public void stopBatchOperation(io.temporal.api.workflowservice.v1.StopBatchOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getStopBatchOperationMethod(), responseObserver); } /** *
     * DescribeBatchOperation returns the information about a batch operation
     * 
*/ public void describeBatchOperation(io.temporal.api.workflowservice.v1.DescribeBatchOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDescribeBatchOperationMethod(), responseObserver); } /** *
     * ListBatchOperations returns a list of batch operations
     * 
*/ public void listBatchOperations(io.temporal.api.workflowservice.v1.ListBatchOperationsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListBatchOperationsMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getRegisterNamespaceMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RegisterNamespaceRequest, io.temporal.api.workflowservice.v1.RegisterNamespaceResponse>( this, METHODID_REGISTER_NAMESPACE))) .addMethod( getDescribeNamespaceMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.DescribeNamespaceRequest, io.temporal.api.workflowservice.v1.DescribeNamespaceResponse>( this, METHODID_DESCRIBE_NAMESPACE))) .addMethod( getListNamespacesMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ListNamespacesRequest, io.temporal.api.workflowservice.v1.ListNamespacesResponse>( this, METHODID_LIST_NAMESPACES))) .addMethod( getUpdateNamespaceMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.UpdateNamespaceRequest, io.temporal.api.workflowservice.v1.UpdateNamespaceResponse>( this, METHODID_UPDATE_NAMESPACE))) .addMethod( getDeprecateNamespaceMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.DeprecateNamespaceRequest, io.temporal.api.workflowservice.v1.DeprecateNamespaceResponse>( this, METHODID_DEPRECATE_NAMESPACE))) .addMethod( getStartWorkflowExecutionMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest, io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse>( this, METHODID_START_WORKFLOW_EXECUTION))) .addMethod( getGetWorkflowExecutionHistoryMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest, io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse>( this, METHODID_GET_WORKFLOW_EXECUTION_HISTORY))) .addMethod( getGetWorkflowExecutionHistoryReverseMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest, io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse>( this, METHODID_GET_WORKFLOW_EXECUTION_HISTORY_REVERSE))) .addMethod( getPollWorkflowTaskQueueMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest, io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse>( this, METHODID_POLL_WORKFLOW_TASK_QUEUE))) .addMethod( getRespondWorkflowTaskCompletedMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest, io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse>( this, METHODID_RESPOND_WORKFLOW_TASK_COMPLETED))) .addMethod( getRespondWorkflowTaskFailedMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest, io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse>( this, METHODID_RESPOND_WORKFLOW_TASK_FAILED))) .addMethod( getPollActivityTaskQueueMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest, io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse>( this, METHODID_POLL_ACTIVITY_TASK_QUEUE))) .addMethod( getRecordActivityTaskHeartbeatMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest, io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse>( this, METHODID_RECORD_ACTIVITY_TASK_HEARTBEAT))) .addMethod( getRecordActivityTaskHeartbeatByIdMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest, io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse>( this, METHODID_RECORD_ACTIVITY_TASK_HEARTBEAT_BY_ID))) .addMethod( getRespondActivityTaskCompletedMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest, io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse>( this, METHODID_RESPOND_ACTIVITY_TASK_COMPLETED))) .addMethod( getRespondActivityTaskCompletedByIdMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest, io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse>( this, METHODID_RESPOND_ACTIVITY_TASK_COMPLETED_BY_ID))) .addMethod( getRespondActivityTaskFailedMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest, io.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse>( this, METHODID_RESPOND_ACTIVITY_TASK_FAILED))) .addMethod( getRespondActivityTaskFailedByIdMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest, io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse>( this, METHODID_RESPOND_ACTIVITY_TASK_FAILED_BY_ID))) .addMethod( getRespondActivityTaskCanceledMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest, io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse>( this, METHODID_RESPOND_ACTIVITY_TASK_CANCELED))) .addMethod( getRespondActivityTaskCanceledByIdMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest, io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse>( this, METHODID_RESPOND_ACTIVITY_TASK_CANCELED_BY_ID))) .addMethod( getRequestCancelWorkflowExecutionMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest, io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse>( this, METHODID_REQUEST_CANCEL_WORKFLOW_EXECUTION))) .addMethod( getSignalWorkflowExecutionMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest, io.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse>( this, METHODID_SIGNAL_WORKFLOW_EXECUTION))) .addMethod( getSignalWithStartWorkflowExecutionMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest, io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse>( this, METHODID_SIGNAL_WITH_START_WORKFLOW_EXECUTION))) .addMethod( getResetWorkflowExecutionMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest, io.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse>( this, METHODID_RESET_WORKFLOW_EXECUTION))) .addMethod( getTerminateWorkflowExecutionMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest, io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse>( this, METHODID_TERMINATE_WORKFLOW_EXECUTION))) .addMethod( getDeleteWorkflowExecutionMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest, io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse>( this, METHODID_DELETE_WORKFLOW_EXECUTION))) .addMethod( getListOpenWorkflowExecutionsMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest, io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse>( this, METHODID_LIST_OPEN_WORKFLOW_EXECUTIONS))) .addMethod( getListClosedWorkflowExecutionsMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest, io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse>( this, METHODID_LIST_CLOSED_WORKFLOW_EXECUTIONS))) .addMethod( getListWorkflowExecutionsMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest, io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse>( this, METHODID_LIST_WORKFLOW_EXECUTIONS))) .addMethod( getListArchivedWorkflowExecutionsMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest, io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse>( this, METHODID_LIST_ARCHIVED_WORKFLOW_EXECUTIONS))) .addMethod( getScanWorkflowExecutionsMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest, io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse>( this, METHODID_SCAN_WORKFLOW_EXECUTIONS))) .addMethod( getCountWorkflowExecutionsMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest, io.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse>( this, METHODID_COUNT_WORKFLOW_EXECUTIONS))) .addMethod( getGetSearchAttributesMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.GetSearchAttributesRequest, io.temporal.api.workflowservice.v1.GetSearchAttributesResponse>( this, METHODID_GET_SEARCH_ATTRIBUTES))) .addMethod( getRespondQueryTaskCompletedMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest, io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse>( this, METHODID_RESPOND_QUERY_TASK_COMPLETED))) .addMethod( getResetStickyTaskQueueMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest, io.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse>( this, METHODID_RESET_STICKY_TASK_QUEUE))) .addMethod( getQueryWorkflowMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.QueryWorkflowRequest, io.temporal.api.workflowservice.v1.QueryWorkflowResponse>( this, METHODID_QUERY_WORKFLOW))) .addMethod( getDescribeWorkflowExecutionMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest, io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse>( this, METHODID_DESCRIBE_WORKFLOW_EXECUTION))) .addMethod( getDescribeTaskQueueMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.DescribeTaskQueueRequest, io.temporal.api.workflowservice.v1.DescribeTaskQueueResponse>( this, METHODID_DESCRIBE_TASK_QUEUE))) .addMethod( getGetClusterInfoMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.GetClusterInfoRequest, io.temporal.api.workflowservice.v1.GetClusterInfoResponse>( this, METHODID_GET_CLUSTER_INFO))) .addMethod( getGetSystemInfoMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.GetSystemInfoRequest, io.temporal.api.workflowservice.v1.GetSystemInfoResponse>( this, METHODID_GET_SYSTEM_INFO))) .addMethod( getListTaskQueuePartitionsMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest, io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse>( this, METHODID_LIST_TASK_QUEUE_PARTITIONS))) .addMethod( getCreateScheduleMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.CreateScheduleRequest, io.temporal.api.workflowservice.v1.CreateScheduleResponse>( this, METHODID_CREATE_SCHEDULE))) .addMethod( getDescribeScheduleMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.DescribeScheduleRequest, io.temporal.api.workflowservice.v1.DescribeScheduleResponse>( this, METHODID_DESCRIBE_SCHEDULE))) .addMethod( getUpdateScheduleMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.UpdateScheduleRequest, io.temporal.api.workflowservice.v1.UpdateScheduleResponse>( this, METHODID_UPDATE_SCHEDULE))) .addMethod( getPatchScheduleMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.PatchScheduleRequest, io.temporal.api.workflowservice.v1.PatchScheduleResponse>( this, METHODID_PATCH_SCHEDULE))) .addMethod( getListScheduleMatchingTimesMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest, io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse>( this, METHODID_LIST_SCHEDULE_MATCHING_TIMES))) .addMethod( getDeleteScheduleMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.DeleteScheduleRequest, io.temporal.api.workflowservice.v1.DeleteScheduleResponse>( this, METHODID_DELETE_SCHEDULE))) .addMethod( getListSchedulesMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ListSchedulesRequest, io.temporal.api.workflowservice.v1.ListSchedulesResponse>( this, METHODID_LIST_SCHEDULES))) .addMethod( getUpdateWorkerBuildIdCompatibilityMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest, io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse>( this, METHODID_UPDATE_WORKER_BUILD_ID_COMPATIBILITY))) .addMethod( getGetWorkerBuildIdCompatibilityMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest, io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse>( this, METHODID_GET_WORKER_BUILD_ID_COMPATIBILITY))) .addMethod( getGetWorkerTaskReachabilityMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest, io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse>( this, METHODID_GET_WORKER_TASK_REACHABILITY))) .addMethod( getUpdateWorkflowExecutionMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest, io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse>( this, METHODID_UPDATE_WORKFLOW_EXECUTION))) .addMethod( getPollWorkflowExecutionUpdateMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest, io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse>( this, METHODID_POLL_WORKFLOW_EXECUTION_UPDATE))) .addMethod( getStartBatchOperationMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.StartBatchOperationRequest, io.temporal.api.workflowservice.v1.StartBatchOperationResponse>( this, METHODID_START_BATCH_OPERATION))) .addMethod( getStopBatchOperationMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.StopBatchOperationRequest, io.temporal.api.workflowservice.v1.StopBatchOperationResponse>( this, METHODID_STOP_BATCH_OPERATION))) .addMethod( getDescribeBatchOperationMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.DescribeBatchOperationRequest, io.temporal.api.workflowservice.v1.DescribeBatchOperationResponse>( this, METHODID_DESCRIBE_BATCH_OPERATION))) .addMethod( getListBatchOperationsMethod(), asyncUnaryCall( new MethodHandlers< io.temporal.api.workflowservice.v1.ListBatchOperationsRequest, io.temporal.api.workflowservice.v1.ListBatchOperationsResponse>( this, METHODID_LIST_BATCH_OPERATIONS))) .build(); } } /** *
   * WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
   * to create and interact with workflows and activities.
   * Users are expected to call `StartWorkflowExecution` to create a new workflow execution.
   * To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow
   * and activity tasks from the service. For each workflow task, the sdk must process the
   * (incremental or complete) event history and respond back with any newly generated commands.
   * For each activity task, the worker is expected to execute the user's code which implements that
   * activity, responding with completion or failure.
   * 
*/ public static final class WorkflowServiceStub extends io.grpc.stub.AbstractAsyncStub { private WorkflowServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected WorkflowServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new WorkflowServiceStub(channel, callOptions); } /** *
     * RegisterNamespace creates a new namespace which can be used as a container for all resources.
     * A Namespace is a top level entity within Temporal, and is used as a container for resources
     * like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides
     * isolation for all resources within the namespace. All resources belongs to exactly one
     * namespace.
     * 
*/ public void registerNamespace(io.temporal.api.workflowservice.v1.RegisterNamespaceRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRegisterNamespaceMethod(), getCallOptions()), request, responseObserver); } /** *
     * DescribeNamespace returns the information and configuration for a registered namespace.
     * 
*/ public void describeNamespace(io.temporal.api.workflowservice.v1.DescribeNamespaceRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDescribeNamespaceMethod(), getCallOptions()), request, responseObserver); } /** *
     * ListNamespaces returns the information and configuration for all namespaces.
     * 
*/ public void listNamespaces(io.temporal.api.workflowservice.v1.ListNamespacesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getListNamespacesMethod(), getCallOptions()), request, responseObserver); } /** *
     * UpdateNamespace is used to update the information and configuration of a registered
     * namespace.
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
     * 
*/ public void updateNamespace(io.temporal.api.workflowservice.v1.UpdateNamespaceRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateNamespaceMethod(), getCallOptions()), request, responseObserver); } /** *
     * DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED.
     * Once the namespace is deprecated it cannot be used to start new workflow executions. Existing
     * workflow executions will continue to run on deprecated namespaces.
     * Deprecated.
     * 
*/ public void deprecateNamespace(io.temporal.api.workflowservice.v1.DeprecateNamespaceRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeprecateNamespaceMethod(), getCallOptions()), request, responseObserver); } /** *
     * StartWorkflowExecution starts a new workflow execution.
     * It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and
     * also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an
     * instance already exists with same workflow id.
     * 
*/ public void startWorkflowExecution(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getStartWorkflowExecutionMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with
     * `NotFound` if the specified workflow execution is unknown to the service.
     * 
*/ public void getWorkflowExecutionHistory(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetWorkflowExecutionHistoryMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse 
     * order (starting from last event). Fails with`NotFound` if the specified workflow execution is 
     * unknown to the service.
     * 
*/ public void getWorkflowExecutionHistoryReverse(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetWorkflowExecutionHistoryReverseMethod(), getCallOptions()), request, responseObserver); } /** *
     * PollWorkflowTaskQueue is called by workers to make progress on workflows.
     * A WorkflowTask is dispatched to callers for active workflow executions with pending workflow
     * tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done
     * processing the task. The service will create a `WorkflowTaskStarted` event in the history for
     * this task before handing it to the worker.
     * 
*/ public void pollWorkflowTaskQueue(io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getPollWorkflowTaskQueueMethod(), getCallOptions()), request, responseObserver); } /** *
     * RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks
     * they received from `PollWorkflowTaskQueue`.
     * Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's
     * history, along with events corresponding to whatever commands the SDK generated while
     * executing the task (ex timer started, activity task scheduled, etc).
     * 
*/ public void respondWorkflowTaskCompleted(io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRespondWorkflowTaskCompletedMethod(), getCallOptions()), request, responseObserver); } /** *
     * RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task
     * failed.
     * This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow
     * task will be scheduled. This API can be used to report unhandled failures resulting from
     * applying the workflow task.
     * Temporal will only append first WorkflowTaskFailed event to the history of workflow execution
     * for consecutive failures.
     * 
*/ public void respondWorkflowTaskFailed(io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRespondWorkflowTaskFailedMethod(), getCallOptions()), request, responseObserver); } /** *
     * PollActivityTaskQueue is called by workers to process activity tasks from a specific task
     * queue.
     * The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done
     * processing the task.
     * An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during
     * workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state
     * before the task is dispatched to the worker. The started event, and the final event
     * (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be
     * written permanently to Workflow execution history when Activity is finished. This is done to
     * avoid writing many events in the case of a failure/retry loop.
     * 
*/ public void pollActivityTaskQueue(io.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getPollActivityTaskQueueMethod(), getCallOptions()), request, responseObserver); } /** *
     * RecordActivityTaskHeartbeat is optionally called by workers while they execute activities.
     * If worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task,
     * then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will be written to
     * the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in
     * such situations, in that event, the SDK should request cancellation of the activity.
     * 
*/ public void recordActivityTaskHeartbeat(io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRecordActivityTaskHeartbeatMethod(), getCallOptions()), request, responseObserver); } /** *
     * See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public void recordActivityTaskHeartbeatById(io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRecordActivityTaskHeartbeatByIdMethod(), getCallOptions()), request, responseObserver); } /** *
     * RespondActivityTaskCompleted is called by workers when they successfully complete an activity
     * task.
     * This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history
     * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
     * no longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public void respondActivityTaskCompleted(io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRespondActivityTaskCompletedMethod(), getCallOptions()), request, responseObserver); } /** *
     * See `RecordActivityTaskCompleted`. This version allows clients to record completions by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public void respondActivityTaskCompletedById(io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRespondActivityTaskCompletedByIdMethod(), getCallOptions()), request, responseObserver); } /** *
     * RespondActivityTaskFailed is called by workers when processing an activity task fails.
     * This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and
     * a new workflow task created for the workflow. Fails with `NotFound` if the task token is no
     * longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public void respondActivityTaskFailed(io.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRespondActivityTaskFailedMethod(), getCallOptions()), request, responseObserver); } /** *
     * See `RecordActivityTaskFailed`. This version allows clients to record failures by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public void respondActivityTaskFailedById(io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRespondActivityTaskFailedByIdMethod(), getCallOptions()), request, responseObserver); } /** *
     * RespondActivityTaskFailed is called by workers when processing an activity task fails.
     * This results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history
     * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
     * no longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public void respondActivityTaskCanceled(io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRespondActivityTaskCanceledMethod(), getCallOptions()), request, responseObserver); } /** *
     * See `RecordActivityTaskCanceled`. This version allows clients to record failures by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public void respondActivityTaskCanceledById(io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRespondActivityTaskCanceledByIdMethod(), getCallOptions()), request, responseObserver); } /** *
     * RequestCancelWorkflowExecution is called by workers when they want to request cancellation of
     * a workflow execution.
     * This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the
     * workflow history and a new workflow task created for the workflow. It returns success if the requested
     * workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist.
     * 
*/ public void requestCancelWorkflowExecution(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRequestCancelWorkflowExecutionMethod(), getCallOptions()), request, responseObserver); } /** *
     * SignalWorkflowExecution is used to send a signal to a running workflow execution.
     * This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow
     * task being created for the execution.
     * 
*/ public void signalWorkflowExecution(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getSignalWorkflowExecutionMethod(), getCallOptions()), request, responseObserver); } /** *
     * SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if
     * it isn't yet started.
     * If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history
     * and a workflow task is generated.
     * If the workflow is not running or not found, then the workflow is created with
     * `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a
     * workflow task is generated.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "With" is used to indicate combined operation. --)
     * 
*/ public void signalWithStartWorkflowExecution(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getSignalWithStartWorkflowExecutionMethod(), getCallOptions()), request, responseObserver); } /** *
     * ResetWorkflowExecution will reset an existing workflow execution to a specified
     * `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current
     * execution instance.
     * TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out?
     * 
*/ public void resetWorkflowExecution(io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getResetWorkflowExecutionMethod(), getCallOptions()), request, responseObserver); } /** *
     * TerminateWorkflowExecution terminates an existing workflow execution by recording a
     * `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the
     * execution instance.
     * 
*/ public void terminateWorkflowExecution(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getTerminateWorkflowExecutionMethod(), getCallOptions()), request, responseObserver); } /** *
     * DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when
     * WorkflowExecution.run_id is provided) or the latest Workflow Execution (when
     * WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be
     * terminated before deletion.
     * (-- api-linter: core::0135::method-signature=disabled
     *     aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0135::response-message-name=disabled
     *     aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
     * 
*/ public void deleteWorkflowExecution(io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteWorkflowExecutionMethod(), getCallOptions()), request, responseObserver); } /** *
     * ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace.
     * 
*/ public void listOpenWorkflowExecutions(io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getListOpenWorkflowExecutionsMethod(), getCallOptions()), request, responseObserver); } /** *
     * ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace.
     * 
*/ public void listClosedWorkflowExecutions(io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getListClosedWorkflowExecutionsMethod(), getCallOptions()), request, responseObserver); } /** *
     * ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.
     * 
*/ public void listWorkflowExecutions(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getListWorkflowExecutionsMethod(), getCallOptions()), request, responseObserver); } /** *
     * ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.
     * 
*/ public void listArchivedWorkflowExecutions(io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getListArchivedWorkflowExecutionsMethod(), getCallOptions()), request, responseObserver); } /** *
     * ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific namespace without order.
     * 
*/ public void scanWorkflowExecutions(io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getScanWorkflowExecutionsMethod(), getCallOptions()), request, responseObserver); } /** *
     * CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.
     * 
*/ public void countWorkflowExecutions(io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCountWorkflowExecutionsMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs
     * 
*/ public void getSearchAttributes(io.temporal.api.workflowservice.v1.GetSearchAttributesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetSearchAttributesMethod(), getCallOptions()), request, responseObserver); } /** *
     * RespondQueryTaskCompleted is called by workers to complete queries which were delivered on
     * the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`.
     * Completing the query will unblock the corresponding client call to `QueryWorkflow` and return
     * the query result a response.
     * 
*/ public void respondQueryTaskCompleted(io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRespondQueryTaskCompletedMethod(), getCallOptions()), request, responseObserver); } /** *
     * ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of
     * a given workflow. This is prudent for workers to perform if a workflow has been paged out of
     * their cache.
     * Things cleared are:
     * 1. StickyTaskQueue
     * 2. StickyScheduleToStartTimeout
     * 
*/ public void resetStickyTaskQueue(io.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getResetStickyTaskQueueMethod(), getCallOptions()), request, responseObserver); } /** *
     * QueryWorkflow requests a query be executed for a specified workflow execution.
     * 
*/ public void queryWorkflow(io.temporal.api.workflowservice.v1.QueryWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getQueryWorkflowMethod(), getCallOptions()), request, responseObserver); } /** *
     * DescribeWorkflowExecution returns information about the specified workflow execution.
     * 
*/ public void describeWorkflowExecution(io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDescribeWorkflowExecutionMethod(), getCallOptions()), request, responseObserver); } /** *
     * DescribeTaskQueue returns information about the target task queue.
     * 
*/ public void describeTaskQueue(io.temporal.api.workflowservice.v1.DescribeTaskQueueRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDescribeTaskQueueMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetClusterInfo returns information about temporal cluster
     * 
*/ public void getClusterInfo(io.temporal.api.workflowservice.v1.GetClusterInfoRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetClusterInfoMethod(), getCallOptions()), request, responseObserver); } /** *
     * GetSystemInfo returns information about the system.
     * 
*/ public void getSystemInfo(io.temporal.api.workflowservice.v1.GetSystemInfoRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetSystemInfoMethod(), getCallOptions()), request, responseObserver); } /** */ public void listTaskQueuePartitions(io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getListTaskQueuePartitionsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Creates a new schedule.
     * (-- api-linter: core::0133::method-signature=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0133::response-message-name=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0133::http-uri-parent=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * 
*/ public void createSchedule(io.temporal.api.workflowservice.v1.CreateScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCreateScheduleMethod(), getCallOptions()), request, responseObserver); } /** *
     * Returns the schedule description and current state of an existing schedule.
     * 
*/ public void describeSchedule(io.temporal.api.workflowservice.v1.DescribeScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDescribeScheduleMethod(), getCallOptions()), request, responseObserver); } /** *
     * Changes the configuration or state of an existing schedule.
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --)
     * 
*/ public void updateSchedule(io.temporal.api.workflowservice.v1.UpdateScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateScheduleMethod(), getCallOptions()), request, responseObserver); } /** *
     * Makes a specific change to a schedule or triggers an immediate action.
     * (-- api-linter: core::0134::synonyms=disabled
     *     aip.dev/not-precedent: we have both patch and update. --)
     * 
*/ public void patchSchedule(io.temporal.api.workflowservice.v1.PatchScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getPatchScheduleMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists matching times within a range.
     * 
*/ public void listScheduleMatchingTimes(io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getListScheduleMatchingTimesMethod(), getCallOptions()), request, responseObserver); } /** *
     * Deletes a schedule, removing it from the system.
     * (-- api-linter: core::0135::method-signature=disabled
     *     aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0135::response-message-name=disabled
     *     aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
     * 
*/ public void deleteSchedule(io.temporal.api.workflowservice.v1.DeleteScheduleRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteScheduleMethod(), getCallOptions()), request, responseObserver); } /** *
     * List all schedules in a namespace.
     * 
*/ public void listSchedules(io.temporal.api.workflowservice.v1.ListSchedulesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getListSchedulesMethod(), getCallOptions()), request, responseObserver); } /** *
     * Allows users to specify sets of worker build id versions on a per task queue basis. Versions
     * are ordered, and may be either compatible with some extant version, or a new incompatible
     * version, forming sets of ids which are incompatible with each other, but whose contained
     * members are compatible with one another.
     * A single build id may be mapped to multiple task queues using this API for cases where a single process hosts
     * multiple workers. 
     * 
     * To query which workers can be retired, use the `GetWorkerTaskReachability` API.
     * NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId`
     * (default is 20), if this limit is exceeded this API will error with a FailedPrecondition.
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --)
     * 
*/ public void updateWorkerBuildIdCompatibility(io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateWorkerBuildIdCompatibilityMethod(), getCallOptions()), request, responseObserver); } /** *
     * Fetches the worker build id versioning sets for a task queue.
     * 
*/ public void getWorkerBuildIdCompatibility(io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetWorkerBuildIdCompatibilityMethod(), getCallOptions()), request, responseObserver); } /** *
     * Fetches task reachability to determine whether a worker may be retired.
     * The request may specify task queues to query for or let the server fetch all task queues mapped to the given
     * build IDs.
     * When requesting a large number of task queues or all task queues associated with the given build ids in a
     * namespace, all task queues will be listed in the response but some of them may not contain reachability
     * information due to a server enforced limit. When reaching the limit, task queues that reachability information
     * could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue
     * another call to get the reachability for those task queues.
     * Open source users can adjust this limit by setting the server's dynamic config value for
     * `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store.
     * 
*/ public void getWorkerTaskReachability(io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetWorkerTaskReachabilityMethod(), getCallOptions()), request, responseObserver); } /** *
     * Invokes the specified update function on user workflow code.
     * (-- api-linter: core::0134=disabled
     *     aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --)
     * 
*/ public void updateWorkflowExecution(io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateWorkflowExecutionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Polls a workflow execution for the outcome of a workflow execution update
     * previously issued through the UpdateWorkflowExecution RPC. The effective
     * timeout on this call will be shorter of the the caller-supplied gRPC
     * timeout and the server's configured long-poll timeout.
     * (-- api-linter: core::0134=disabled
     *     aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --)
     * 
*/ public void pollWorkflowExecutionUpdate(io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getPollWorkflowExecutionUpdateMethod(), getCallOptions()), request, responseObserver); } /** *
     * StartBatchOperation starts a new batch operation
     * 
*/ public void startBatchOperation(io.temporal.api.workflowservice.v1.StartBatchOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getStartBatchOperationMethod(), getCallOptions()), request, responseObserver); } /** *
     * StopBatchOperation stops a batch operation
     * 
*/ public void stopBatchOperation(io.temporal.api.workflowservice.v1.StopBatchOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getStopBatchOperationMethod(), getCallOptions()), request, responseObserver); } /** *
     * DescribeBatchOperation returns the information about a batch operation
     * 
*/ public void describeBatchOperation(io.temporal.api.workflowservice.v1.DescribeBatchOperationRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDescribeBatchOperationMethod(), getCallOptions()), request, responseObserver); } /** *
     * ListBatchOperations returns a list of batch operations
     * 
*/ public void listBatchOperations(io.temporal.api.workflowservice.v1.ListBatchOperationsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getListBatchOperationsMethod(), getCallOptions()), request, responseObserver); } } /** *
   * WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
   * to create and interact with workflows and activities.
   * Users are expected to call `StartWorkflowExecution` to create a new workflow execution.
   * To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow
   * and activity tasks from the service. For each workflow task, the sdk must process the
   * (incremental or complete) event history and respond back with any newly generated commands.
   * For each activity task, the worker is expected to execute the user's code which implements that
   * activity, responding with completion or failure.
   * 
*/ public static final class WorkflowServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private WorkflowServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected WorkflowServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new WorkflowServiceBlockingStub(channel, callOptions); } /** *
     * RegisterNamespace creates a new namespace which can be used as a container for all resources.
     * A Namespace is a top level entity within Temporal, and is used as a container for resources
     * like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides
     * isolation for all resources within the namespace. All resources belongs to exactly one
     * namespace.
     * 
*/ public io.temporal.api.workflowservice.v1.RegisterNamespaceResponse registerNamespace(io.temporal.api.workflowservice.v1.RegisterNamespaceRequest request) { return blockingUnaryCall( getChannel(), getRegisterNamespaceMethod(), getCallOptions(), request); } /** *
     * DescribeNamespace returns the information and configuration for a registered namespace.
     * 
*/ public io.temporal.api.workflowservice.v1.DescribeNamespaceResponse describeNamespace(io.temporal.api.workflowservice.v1.DescribeNamespaceRequest request) { return blockingUnaryCall( getChannel(), getDescribeNamespaceMethod(), getCallOptions(), request); } /** *
     * ListNamespaces returns the information and configuration for all namespaces.
     * 
*/ public io.temporal.api.workflowservice.v1.ListNamespacesResponse listNamespaces(io.temporal.api.workflowservice.v1.ListNamespacesRequest request) { return blockingUnaryCall( getChannel(), getListNamespacesMethod(), getCallOptions(), request); } /** *
     * UpdateNamespace is used to update the information and configuration of a registered
     * namespace.
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
     * 
*/ public io.temporal.api.workflowservice.v1.UpdateNamespaceResponse updateNamespace(io.temporal.api.workflowservice.v1.UpdateNamespaceRequest request) { return blockingUnaryCall( getChannel(), getUpdateNamespaceMethod(), getCallOptions(), request); } /** *
     * DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED.
     * Once the namespace is deprecated it cannot be used to start new workflow executions. Existing
     * workflow executions will continue to run on deprecated namespaces.
     * Deprecated.
     * 
*/ public io.temporal.api.workflowservice.v1.DeprecateNamespaceResponse deprecateNamespace(io.temporal.api.workflowservice.v1.DeprecateNamespaceRequest request) { return blockingUnaryCall( getChannel(), getDeprecateNamespaceMethod(), getCallOptions(), request); } /** *
     * StartWorkflowExecution starts a new workflow execution.
     * It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and
     * also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an
     * instance already exists with same workflow id.
     * 
*/ public io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse startWorkflowExecution(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request) { return blockingUnaryCall( getChannel(), getStartWorkflowExecutionMethod(), getCallOptions(), request); } /** *
     * GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with
     * `NotFound` if the specified workflow execution is unknown to the service.
     * 
*/ public io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse getWorkflowExecutionHistory(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request) { return blockingUnaryCall( getChannel(), getGetWorkflowExecutionHistoryMethod(), getCallOptions(), request); } /** *
     * GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse 
     * order (starting from last event). Fails with`NotFound` if the specified workflow execution is 
     * unknown to the service.
     * 
*/ public io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse getWorkflowExecutionHistoryReverse(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest request) { return blockingUnaryCall( getChannel(), getGetWorkflowExecutionHistoryReverseMethod(), getCallOptions(), request); } /** *
     * PollWorkflowTaskQueue is called by workers to make progress on workflows.
     * A WorkflowTask is dispatched to callers for active workflow executions with pending workflow
     * tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done
     * processing the task. The service will create a `WorkflowTaskStarted` event in the history for
     * this task before handing it to the worker.
     * 
*/ public io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse pollWorkflowTaskQueue(io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest request) { return blockingUnaryCall( getChannel(), getPollWorkflowTaskQueueMethod(), getCallOptions(), request); } /** *
     * RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks
     * they received from `PollWorkflowTaskQueue`.
     * Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's
     * history, along with events corresponding to whatever commands the SDK generated while
     * executing the task (ex timer started, activity task scheduled, etc).
     * 
*/ public io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse respondWorkflowTaskCompleted(io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest request) { return blockingUnaryCall( getChannel(), getRespondWorkflowTaskCompletedMethod(), getCallOptions(), request); } /** *
     * RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task
     * failed.
     * This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow
     * task will be scheduled. This API can be used to report unhandled failures resulting from
     * applying the workflow task.
     * Temporal will only append first WorkflowTaskFailed event to the history of workflow execution
     * for consecutive failures.
     * 
*/ public io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse respondWorkflowTaskFailed(io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest request) { return blockingUnaryCall( getChannel(), getRespondWorkflowTaskFailedMethod(), getCallOptions(), request); } /** *
     * PollActivityTaskQueue is called by workers to process activity tasks from a specific task
     * queue.
     * The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done
     * processing the task.
     * An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during
     * workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state
     * before the task is dispatched to the worker. The started event, and the final event
     * (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be
     * written permanently to Workflow execution history when Activity is finished. This is done to
     * avoid writing many events in the case of a failure/retry loop.
     * 
*/ public io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse pollActivityTaskQueue(io.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest request) { return blockingUnaryCall( getChannel(), getPollActivityTaskQueueMethod(), getCallOptions(), request); } /** *
     * RecordActivityTaskHeartbeat is optionally called by workers while they execute activities.
     * If worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task,
     * then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will be written to
     * the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in
     * such situations, in that event, the SDK should request cancellation of the activity.
     * 
*/ public io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse recordActivityTaskHeartbeat(io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest request) { return blockingUnaryCall( getChannel(), getRecordActivityTaskHeartbeatMethod(), getCallOptions(), request); } /** *
     * See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse recordActivityTaskHeartbeatById(io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest request) { return blockingUnaryCall( getChannel(), getRecordActivityTaskHeartbeatByIdMethod(), getCallOptions(), request); } /** *
     * RespondActivityTaskCompleted is called by workers when they successfully complete an activity
     * task.
     * This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history
     * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
     * no longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse respondActivityTaskCompleted(io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest request) { return blockingUnaryCall( getChannel(), getRespondActivityTaskCompletedMethod(), getCallOptions(), request); } /** *
     * See `RecordActivityTaskCompleted`. This version allows clients to record completions by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse respondActivityTaskCompletedById(io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest request) { return blockingUnaryCall( getChannel(), getRespondActivityTaskCompletedByIdMethod(), getCallOptions(), request); } /** *
     * RespondActivityTaskFailed is called by workers when processing an activity task fails.
     * This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and
     * a new workflow task created for the workflow. Fails with `NotFound` if the task token is no
     * longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public io.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse respondActivityTaskFailed(io.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest request) { return blockingUnaryCall( getChannel(), getRespondActivityTaskFailedMethod(), getCallOptions(), request); } /** *
     * See `RecordActivityTaskFailed`. This version allows clients to record failures by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse respondActivityTaskFailedById(io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest request) { return blockingUnaryCall( getChannel(), getRespondActivityTaskFailedByIdMethod(), getCallOptions(), request); } /** *
     * RespondActivityTaskFailed is called by workers when processing an activity task fails.
     * This results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history
     * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
     * no longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse respondActivityTaskCanceled(io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest request) { return blockingUnaryCall( getChannel(), getRespondActivityTaskCanceledMethod(), getCallOptions(), request); } /** *
     * See `RecordActivityTaskCanceled`. This version allows clients to record failures by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse respondActivityTaskCanceledById(io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest request) { return blockingUnaryCall( getChannel(), getRespondActivityTaskCanceledByIdMethod(), getCallOptions(), request); } /** *
     * RequestCancelWorkflowExecution is called by workers when they want to request cancellation of
     * a workflow execution.
     * This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the
     * workflow history and a new workflow task created for the workflow. It returns success if the requested
     * workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist.
     * 
*/ public io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse requestCancelWorkflowExecution(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request) { return blockingUnaryCall( getChannel(), getRequestCancelWorkflowExecutionMethod(), getCallOptions(), request); } /** *
     * SignalWorkflowExecution is used to send a signal to a running workflow execution.
     * This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow
     * task being created for the execution.
     * 
*/ public io.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse signalWorkflowExecution(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request) { return blockingUnaryCall( getChannel(), getSignalWorkflowExecutionMethod(), getCallOptions(), request); } /** *
     * SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if
     * it isn't yet started.
     * If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history
     * and a workflow task is generated.
     * If the workflow is not running or not found, then the workflow is created with
     * `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a
     * workflow task is generated.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "With" is used to indicate combined operation. --)
     * 
*/ public io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse signalWithStartWorkflowExecution(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request) { return blockingUnaryCall( getChannel(), getSignalWithStartWorkflowExecutionMethod(), getCallOptions(), request); } /** *
     * ResetWorkflowExecution will reset an existing workflow execution to a specified
     * `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current
     * execution instance.
     * TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out?
     * 
*/ public io.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse resetWorkflowExecution(io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest request) { return blockingUnaryCall( getChannel(), getResetWorkflowExecutionMethod(), getCallOptions(), request); } /** *
     * TerminateWorkflowExecution terminates an existing workflow execution by recording a
     * `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the
     * execution instance.
     * 
*/ public io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse terminateWorkflowExecution(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request) { return blockingUnaryCall( getChannel(), getTerminateWorkflowExecutionMethod(), getCallOptions(), request); } /** *
     * DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when
     * WorkflowExecution.run_id is provided) or the latest Workflow Execution (when
     * WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be
     * terminated before deletion.
     * (-- api-linter: core::0135::method-signature=disabled
     *     aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0135::response-message-name=disabled
     *     aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
     * 
*/ public io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse deleteWorkflowExecution(io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest request) { return blockingUnaryCall( getChannel(), getDeleteWorkflowExecutionMethod(), getCallOptions(), request); } /** *
     * ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace.
     * 
*/ public io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse listOpenWorkflowExecutions(io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest request) { return blockingUnaryCall( getChannel(), getListOpenWorkflowExecutionsMethod(), getCallOptions(), request); } /** *
     * ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace.
     * 
*/ public io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse listClosedWorkflowExecutions(io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest request) { return blockingUnaryCall( getChannel(), getListClosedWorkflowExecutionsMethod(), getCallOptions(), request); } /** *
     * ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.
     * 
*/ public io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse listWorkflowExecutions(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest request) { return blockingUnaryCall( getChannel(), getListWorkflowExecutionsMethod(), getCallOptions(), request); } /** *
     * ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.
     * 
*/ public io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse listArchivedWorkflowExecutions(io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest request) { return blockingUnaryCall( getChannel(), getListArchivedWorkflowExecutionsMethod(), getCallOptions(), request); } /** *
     * ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific namespace without order.
     * 
*/ public io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse scanWorkflowExecutions(io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest request) { return blockingUnaryCall( getChannel(), getScanWorkflowExecutionsMethod(), getCallOptions(), request); } /** *
     * CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.
     * 
*/ public io.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse countWorkflowExecutions(io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest request) { return blockingUnaryCall( getChannel(), getCountWorkflowExecutionsMethod(), getCallOptions(), request); } /** *
     * GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs
     * 
*/ public io.temporal.api.workflowservice.v1.GetSearchAttributesResponse getSearchAttributes(io.temporal.api.workflowservice.v1.GetSearchAttributesRequest request) { return blockingUnaryCall( getChannel(), getGetSearchAttributesMethod(), getCallOptions(), request); } /** *
     * RespondQueryTaskCompleted is called by workers to complete queries which were delivered on
     * the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`.
     * Completing the query will unblock the corresponding client call to `QueryWorkflow` and return
     * the query result a response.
     * 
*/ public io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse respondQueryTaskCompleted(io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest request) { return blockingUnaryCall( getChannel(), getRespondQueryTaskCompletedMethod(), getCallOptions(), request); } /** *
     * ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of
     * a given workflow. This is prudent for workers to perform if a workflow has been paged out of
     * their cache.
     * Things cleared are:
     * 1. StickyTaskQueue
     * 2. StickyScheduleToStartTimeout
     * 
*/ public io.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse resetStickyTaskQueue(io.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest request) { return blockingUnaryCall( getChannel(), getResetStickyTaskQueueMethod(), getCallOptions(), request); } /** *
     * QueryWorkflow requests a query be executed for a specified workflow execution.
     * 
*/ public io.temporal.api.workflowservice.v1.QueryWorkflowResponse queryWorkflow(io.temporal.api.workflowservice.v1.QueryWorkflowRequest request) { return blockingUnaryCall( getChannel(), getQueryWorkflowMethod(), getCallOptions(), request); } /** *
     * DescribeWorkflowExecution returns information about the specified workflow execution.
     * 
*/ public io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse describeWorkflowExecution(io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest request) { return blockingUnaryCall( getChannel(), getDescribeWorkflowExecutionMethod(), getCallOptions(), request); } /** *
     * DescribeTaskQueue returns information about the target task queue.
     * 
*/ public io.temporal.api.workflowservice.v1.DescribeTaskQueueResponse describeTaskQueue(io.temporal.api.workflowservice.v1.DescribeTaskQueueRequest request) { return blockingUnaryCall( getChannel(), getDescribeTaskQueueMethod(), getCallOptions(), request); } /** *
     * GetClusterInfo returns information about temporal cluster
     * 
*/ public io.temporal.api.workflowservice.v1.GetClusterInfoResponse getClusterInfo(io.temporal.api.workflowservice.v1.GetClusterInfoRequest request) { return blockingUnaryCall( getChannel(), getGetClusterInfoMethod(), getCallOptions(), request); } /** *
     * GetSystemInfo returns information about the system.
     * 
*/ public io.temporal.api.workflowservice.v1.GetSystemInfoResponse getSystemInfo(io.temporal.api.workflowservice.v1.GetSystemInfoRequest request) { return blockingUnaryCall( getChannel(), getGetSystemInfoMethod(), getCallOptions(), request); } /** */ public io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse listTaskQueuePartitions(io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest request) { return blockingUnaryCall( getChannel(), getListTaskQueuePartitionsMethod(), getCallOptions(), request); } /** *
     * Creates a new schedule.
     * (-- api-linter: core::0133::method-signature=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0133::response-message-name=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0133::http-uri-parent=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * 
*/ public io.temporal.api.workflowservice.v1.CreateScheduleResponse createSchedule(io.temporal.api.workflowservice.v1.CreateScheduleRequest request) { return blockingUnaryCall( getChannel(), getCreateScheduleMethod(), getCallOptions(), request); } /** *
     * Returns the schedule description and current state of an existing schedule.
     * 
*/ public io.temporal.api.workflowservice.v1.DescribeScheduleResponse describeSchedule(io.temporal.api.workflowservice.v1.DescribeScheduleRequest request) { return blockingUnaryCall( getChannel(), getDescribeScheduleMethod(), getCallOptions(), request); } /** *
     * Changes the configuration or state of an existing schedule.
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --)
     * 
*/ public io.temporal.api.workflowservice.v1.UpdateScheduleResponse updateSchedule(io.temporal.api.workflowservice.v1.UpdateScheduleRequest request) { return blockingUnaryCall( getChannel(), getUpdateScheduleMethod(), getCallOptions(), request); } /** *
     * Makes a specific change to a schedule or triggers an immediate action.
     * (-- api-linter: core::0134::synonyms=disabled
     *     aip.dev/not-precedent: we have both patch and update. --)
     * 
*/ public io.temporal.api.workflowservice.v1.PatchScheduleResponse patchSchedule(io.temporal.api.workflowservice.v1.PatchScheduleRequest request) { return blockingUnaryCall( getChannel(), getPatchScheduleMethod(), getCallOptions(), request); } /** *
     * Lists matching times within a range.
     * 
*/ public io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse listScheduleMatchingTimes(io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest request) { return blockingUnaryCall( getChannel(), getListScheduleMatchingTimesMethod(), getCallOptions(), request); } /** *
     * Deletes a schedule, removing it from the system.
     * (-- api-linter: core::0135::method-signature=disabled
     *     aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0135::response-message-name=disabled
     *     aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
     * 
*/ public io.temporal.api.workflowservice.v1.DeleteScheduleResponse deleteSchedule(io.temporal.api.workflowservice.v1.DeleteScheduleRequest request) { return blockingUnaryCall( getChannel(), getDeleteScheduleMethod(), getCallOptions(), request); } /** *
     * List all schedules in a namespace.
     * 
*/ public io.temporal.api.workflowservice.v1.ListSchedulesResponse listSchedules(io.temporal.api.workflowservice.v1.ListSchedulesRequest request) { return blockingUnaryCall( getChannel(), getListSchedulesMethod(), getCallOptions(), request); } /** *
     * Allows users to specify sets of worker build id versions on a per task queue basis. Versions
     * are ordered, and may be either compatible with some extant version, or a new incompatible
     * version, forming sets of ids which are incompatible with each other, but whose contained
     * members are compatible with one another.
     * A single build id may be mapped to multiple task queues using this API for cases where a single process hosts
     * multiple workers. 
     * 
     * To query which workers can be retired, use the `GetWorkerTaskReachability` API.
     * NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId`
     * (default is 20), if this limit is exceeded this API will error with a FailedPrecondition.
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --)
     * 
*/ public io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse updateWorkerBuildIdCompatibility(io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest request) { return blockingUnaryCall( getChannel(), getUpdateWorkerBuildIdCompatibilityMethod(), getCallOptions(), request); } /** *
     * Fetches the worker build id versioning sets for a task queue.
     * 
*/ public io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse getWorkerBuildIdCompatibility(io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest request) { return blockingUnaryCall( getChannel(), getGetWorkerBuildIdCompatibilityMethod(), getCallOptions(), request); } /** *
     * Fetches task reachability to determine whether a worker may be retired.
     * The request may specify task queues to query for or let the server fetch all task queues mapped to the given
     * build IDs.
     * When requesting a large number of task queues or all task queues associated with the given build ids in a
     * namespace, all task queues will be listed in the response but some of them may not contain reachability
     * information due to a server enforced limit. When reaching the limit, task queues that reachability information
     * could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue
     * another call to get the reachability for those task queues.
     * Open source users can adjust this limit by setting the server's dynamic config value for
     * `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store.
     * 
*/ public io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse getWorkerTaskReachability(io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest request) { return blockingUnaryCall( getChannel(), getGetWorkerTaskReachabilityMethod(), getCallOptions(), request); } /** *
     * Invokes the specified update function on user workflow code.
     * (-- api-linter: core::0134=disabled
     *     aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --)
     * 
*/ public io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse updateWorkflowExecution(io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest request) { return blockingUnaryCall( getChannel(), getUpdateWorkflowExecutionMethod(), getCallOptions(), request); } /** *
     * Polls a workflow execution for the outcome of a workflow execution update
     * previously issued through the UpdateWorkflowExecution RPC. The effective
     * timeout on this call will be shorter of the the caller-supplied gRPC
     * timeout and the server's configured long-poll timeout.
     * (-- api-linter: core::0134=disabled
     *     aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --)
     * 
*/ public io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse pollWorkflowExecutionUpdate(io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest request) { return blockingUnaryCall( getChannel(), getPollWorkflowExecutionUpdateMethod(), getCallOptions(), request); } /** *
     * StartBatchOperation starts a new batch operation
     * 
*/ public io.temporal.api.workflowservice.v1.StartBatchOperationResponse startBatchOperation(io.temporal.api.workflowservice.v1.StartBatchOperationRequest request) { return blockingUnaryCall( getChannel(), getStartBatchOperationMethod(), getCallOptions(), request); } /** *
     * StopBatchOperation stops a batch operation
     * 
*/ public io.temporal.api.workflowservice.v1.StopBatchOperationResponse stopBatchOperation(io.temporal.api.workflowservice.v1.StopBatchOperationRequest request) { return blockingUnaryCall( getChannel(), getStopBatchOperationMethod(), getCallOptions(), request); } /** *
     * DescribeBatchOperation returns the information about a batch operation
     * 
*/ public io.temporal.api.workflowservice.v1.DescribeBatchOperationResponse describeBatchOperation(io.temporal.api.workflowservice.v1.DescribeBatchOperationRequest request) { return blockingUnaryCall( getChannel(), getDescribeBatchOperationMethod(), getCallOptions(), request); } /** *
     * ListBatchOperations returns a list of batch operations
     * 
*/ public io.temporal.api.workflowservice.v1.ListBatchOperationsResponse listBatchOperations(io.temporal.api.workflowservice.v1.ListBatchOperationsRequest request) { return blockingUnaryCall( getChannel(), getListBatchOperationsMethod(), getCallOptions(), request); } } /** *
   * WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
   * to create and interact with workflows and activities.
   * Users are expected to call `StartWorkflowExecution` to create a new workflow execution.
   * To drive workflows, a worker using a Temporal SDK must exist which regularly polls for workflow
   * and activity tasks from the service. For each workflow task, the sdk must process the
   * (incremental or complete) event history and respond back with any newly generated commands.
   * For each activity task, the worker is expected to execute the user's code which implements that
   * activity, responding with completion or failure.
   * 
*/ public static final class WorkflowServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private WorkflowServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected WorkflowServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new WorkflowServiceFutureStub(channel, callOptions); } /** *
     * RegisterNamespace creates a new namespace which can be used as a container for all resources.
     * A Namespace is a top level entity within Temporal, and is used as a container for resources
     * like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides
     * isolation for all resources within the namespace. All resources belongs to exactly one
     * namespace.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture registerNamespace( io.temporal.api.workflowservice.v1.RegisterNamespaceRequest request) { return futureUnaryCall( getChannel().newCall(getRegisterNamespaceMethod(), getCallOptions()), request); } /** *
     * DescribeNamespace returns the information and configuration for a registered namespace.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeNamespace( io.temporal.api.workflowservice.v1.DescribeNamespaceRequest request) { return futureUnaryCall( getChannel().newCall(getDescribeNamespaceMethod(), getCallOptions()), request); } /** *
     * ListNamespaces returns the information and configuration for all namespaces.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listNamespaces( io.temporal.api.workflowservice.v1.ListNamespacesRequest request) { return futureUnaryCall( getChannel().newCall(getListNamespacesMethod(), getCallOptions()), request); } /** *
     * UpdateNamespace is used to update the information and configuration of a registered
     * namespace.
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateNamespace( io.temporal.api.workflowservice.v1.UpdateNamespaceRequest request) { return futureUnaryCall( getChannel().newCall(getUpdateNamespaceMethod(), getCallOptions()), request); } /** *
     * DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED.
     * Once the namespace is deprecated it cannot be used to start new workflow executions. Existing
     * workflow executions will continue to run on deprecated namespaces.
     * Deprecated.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deprecateNamespace( io.temporal.api.workflowservice.v1.DeprecateNamespaceRequest request) { return futureUnaryCall( getChannel().newCall(getDeprecateNamespaceMethod(), getCallOptions()), request); } /** *
     * StartWorkflowExecution starts a new workflow execution.
     * It will create the execution with a `WORKFLOW_EXECUTION_STARTED` event in its history and
     * also schedule the first workflow task. Returns `WorkflowExecutionAlreadyStarted`, if an
     * instance already exists with same workflow id.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture startWorkflowExecution( io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request) { return futureUnaryCall( getChannel().newCall(getStartWorkflowExecutionMethod(), getCallOptions()), request); } /** *
     * GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with
     * `NotFound` if the specified workflow execution is unknown to the service.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getWorkflowExecutionHistory( io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request) { return futureUnaryCall( getChannel().newCall(getGetWorkflowExecutionHistoryMethod(), getCallOptions()), request); } /** *
     * GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse 
     * order (starting from last event). Fails with`NotFound` if the specified workflow execution is 
     * unknown to the service.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getWorkflowExecutionHistoryReverse( io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest request) { return futureUnaryCall( getChannel().newCall(getGetWorkflowExecutionHistoryReverseMethod(), getCallOptions()), request); } /** *
     * PollWorkflowTaskQueue is called by workers to make progress on workflows.
     * A WorkflowTask is dispatched to callers for active workflow executions with pending workflow
     * tasks. The worker is expected to call `RespondWorkflowTaskCompleted` when it is done
     * processing the task. The service will create a `WorkflowTaskStarted` event in the history for
     * this task before handing it to the worker.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture pollWorkflowTaskQueue( io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest request) { return futureUnaryCall( getChannel().newCall(getPollWorkflowTaskQueueMethod(), getCallOptions()), request); } /** *
     * RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks
     * they received from `PollWorkflowTaskQueue`.
     * Completing a WorkflowTask will write a `WORKFLOW_TASK_COMPLETED` event to the workflow's
     * history, along with events corresponding to whatever commands the SDK generated while
     * executing the task (ex timer started, activity task scheduled, etc).
     * 
*/ public com.google.common.util.concurrent.ListenableFuture respondWorkflowTaskCompleted( io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest request) { return futureUnaryCall( getChannel().newCall(getRespondWorkflowTaskCompletedMethod(), getCallOptions()), request); } /** *
     * RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task
     * failed.
     * This results in a `WORKFLOW_TASK_FAILED` event written to the history, and a new workflow
     * task will be scheduled. This API can be used to report unhandled failures resulting from
     * applying the workflow task.
     * Temporal will only append first WorkflowTaskFailed event to the history of workflow execution
     * for consecutive failures.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture respondWorkflowTaskFailed( io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest request) { return futureUnaryCall( getChannel().newCall(getRespondWorkflowTaskFailedMethod(), getCallOptions()), request); } /** *
     * PollActivityTaskQueue is called by workers to process activity tasks from a specific task
     * queue.
     * The worker is expected to call one of the `RespondActivityTaskXXX` methods when it is done
     * processing the task.
     * An activity task is dispatched whenever a `SCHEDULE_ACTIVITY_TASK` command is produced during
     * workflow execution. An in memory `ACTIVITY_TASK_STARTED` event is written to mutable state
     * before the task is dispatched to the worker. The started event, and the final event
     * (`ACTIVITY_TASK_COMPLETED` / `ACTIVITY_TASK_FAILED` / `ACTIVITY_TASK_TIMED_OUT`) will both be
     * written permanently to Workflow execution history when Activity is finished. This is done to
     * avoid writing many events in the case of a failure/retry loop.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture pollActivityTaskQueue( io.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest request) { return futureUnaryCall( getChannel().newCall(getPollActivityTaskQueueMethod(), getCallOptions()), request); } /** *
     * RecordActivityTaskHeartbeat is optionally called by workers while they execute activities.
     * If worker fails to heartbeat within the `heartbeat_timeout` interval for the activity task,
     * then it will be marked as timed out and an `ACTIVITY_TASK_TIMED_OUT` event will be written to
     * the workflow history. Calling `RecordActivityTaskHeartbeat` will fail with `NotFound` in
     * such situations, in that event, the SDK should request cancellation of the activity.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture recordActivityTaskHeartbeat( io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest request) { return futureUnaryCall( getChannel().newCall(getRecordActivityTaskHeartbeatMethod(), getCallOptions()), request); } /** *
     * See `RecordActivityTaskHeartbeat`. This version allows clients to record heartbeats by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture recordActivityTaskHeartbeatById( io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest request) { return futureUnaryCall( getChannel().newCall(getRecordActivityTaskHeartbeatByIdMethod(), getCallOptions()), request); } /** *
     * RespondActivityTaskCompleted is called by workers when they successfully complete an activity
     * task.
     * This results in a new `ACTIVITY_TASK_COMPLETED` event being written to the workflow history
     * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
     * no longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture respondActivityTaskCompleted( io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest request) { return futureUnaryCall( getChannel().newCall(getRespondActivityTaskCompletedMethod(), getCallOptions()), request); } /** *
     * See `RecordActivityTaskCompleted`. This version allows clients to record completions by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture respondActivityTaskCompletedById( io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest request) { return futureUnaryCall( getChannel().newCall(getRespondActivityTaskCompletedByIdMethod(), getCallOptions()), request); } /** *
     * RespondActivityTaskFailed is called by workers when processing an activity task fails.
     * This results in a new `ACTIVITY_TASK_FAILED` event being written to the workflow history and
     * a new workflow task created for the workflow. Fails with `NotFound` if the task token is no
     * longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture respondActivityTaskFailed( io.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest request) { return futureUnaryCall( getChannel().newCall(getRespondActivityTaskFailedMethod(), getCallOptions()), request); } /** *
     * See `RecordActivityTaskFailed`. This version allows clients to record failures by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture respondActivityTaskFailedById( io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest request) { return futureUnaryCall( getChannel().newCall(getRespondActivityTaskFailedByIdMethod(), getCallOptions()), request); } /** *
     * RespondActivityTaskFailed is called by workers when processing an activity task fails.
     * This results in a new `ACTIVITY_TASK_CANCELED` event being written to the workflow history
     * and a new workflow task created for the workflow. Fails with `NotFound` if the task token is
     * no longer valid due to activity timeout, already being completed, or never having existed.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture respondActivityTaskCanceled( io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest request) { return futureUnaryCall( getChannel().newCall(getRespondActivityTaskCanceledMethod(), getCallOptions()), request); } /** *
     * See `RecordActivityTaskCanceled`. This version allows clients to record failures by
     * namespace/workflow id/activity id instead of task token.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "By" is used to indicate request type. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture respondActivityTaskCanceledById( io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest request) { return futureUnaryCall( getChannel().newCall(getRespondActivityTaskCanceledByIdMethod(), getCallOptions()), request); } /** *
     * RequestCancelWorkflowExecution is called by workers when they want to request cancellation of
     * a workflow execution.
     * This results in a new `WORKFLOW_EXECUTION_CANCEL_REQUESTED` event being written to the
     * workflow history and a new workflow task created for the workflow. It returns success if the requested
     * workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture requestCancelWorkflowExecution( io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request) { return futureUnaryCall( getChannel().newCall(getRequestCancelWorkflowExecutionMethod(), getCallOptions()), request); } /** *
     * SignalWorkflowExecution is used to send a signal to a running workflow execution.
     * This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow
     * task being created for the execution.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture signalWorkflowExecution( io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request) { return futureUnaryCall( getChannel().newCall(getSignalWorkflowExecutionMethod(), getCallOptions()), request); } /** *
     * SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if
     * it isn't yet started.
     * If the workflow is running, a `WORKFLOW_EXECUTION_SIGNALED` event is recorded in the history
     * and a workflow task is generated.
     * If the workflow is not running or not found, then the workflow is created with
     * `WORKFLOW_EXECUTION_STARTED` and `WORKFLOW_EXECUTION_SIGNALED` events in its history, and a
     * workflow task is generated.
     * (-- api-linter: core::0136::prepositions=disabled
     *     aip.dev/not-precedent: "With" is used to indicate combined operation. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture signalWithStartWorkflowExecution( io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request) { return futureUnaryCall( getChannel().newCall(getSignalWithStartWorkflowExecutionMethod(), getCallOptions()), request); } /** *
     * ResetWorkflowExecution will reset an existing workflow execution to a specified
     * `WORKFLOW_TASK_COMPLETED` event (exclusive). It will immediately terminate the current
     * execution instance.
     * TODO: Does exclusive here mean *just* the completed event, or also WFT started? Otherwise the task is doomed to time out?
     * 
*/ public com.google.common.util.concurrent.ListenableFuture resetWorkflowExecution( io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest request) { return futureUnaryCall( getChannel().newCall(getResetWorkflowExecutionMethod(), getCallOptions()), request); } /** *
     * TerminateWorkflowExecution terminates an existing workflow execution by recording a
     * `WORKFLOW_EXECUTION_TERMINATED` event in the history and immediately terminating the
     * execution instance.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture terminateWorkflowExecution( io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request) { return futureUnaryCall( getChannel().newCall(getTerminateWorkflowExecutionMethod(), getCallOptions()), request); } /** *
     * DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when
     * WorkflowExecution.run_id is provided) or the latest Workflow Execution (when
     * WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be
     * terminated before deletion.
     * (-- api-linter: core::0135::method-signature=disabled
     *     aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0135::response-message-name=disabled
     *     aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteWorkflowExecution( io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest request) { return futureUnaryCall( getChannel().newCall(getDeleteWorkflowExecutionMethod(), getCallOptions()), request); } /** *
     * ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listOpenWorkflowExecutions( io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest request) { return futureUnaryCall( getChannel().newCall(getListOpenWorkflowExecutionsMethod(), getCallOptions()), request); } /** *
     * ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listClosedWorkflowExecutions( io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest request) { return futureUnaryCall( getChannel().newCall(getListClosedWorkflowExecutionsMethod(), getCallOptions()), request); } /** *
     * ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listWorkflowExecutions( io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest request) { return futureUnaryCall( getChannel().newCall(getListWorkflowExecutionsMethod(), getCallOptions()), request); } /** *
     * ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listArchivedWorkflowExecutions( io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest request) { return futureUnaryCall( getChannel().newCall(getListArchivedWorkflowExecutionsMethod(), getCallOptions()), request); } /** *
     * ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific namespace without order.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture scanWorkflowExecutions( io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest request) { return futureUnaryCall( getChannel().newCall(getScanWorkflowExecutionsMethod(), getCallOptions()), request); } /** *
     * CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture countWorkflowExecutions( io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest request) { return futureUnaryCall( getChannel().newCall(getCountWorkflowExecutionsMethod(), getCallOptions()), request); } /** *
     * GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getSearchAttributes( io.temporal.api.workflowservice.v1.GetSearchAttributesRequest request) { return futureUnaryCall( getChannel().newCall(getGetSearchAttributesMethod(), getCallOptions()), request); } /** *
     * RespondQueryTaskCompleted is called by workers to complete queries which were delivered on
     * the `query` (not `queries`) field of a `PollWorkflowTaskQueueResponse`.
     * Completing the query will unblock the corresponding client call to `QueryWorkflow` and return
     * the query result a response.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture respondQueryTaskCompleted( io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest request) { return futureUnaryCall( getChannel().newCall(getRespondQueryTaskCompletedMethod(), getCallOptions()), request); } /** *
     * ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of
     * a given workflow. This is prudent for workers to perform if a workflow has been paged out of
     * their cache.
     * Things cleared are:
     * 1. StickyTaskQueue
     * 2. StickyScheduleToStartTimeout
     * 
*/ public com.google.common.util.concurrent.ListenableFuture resetStickyTaskQueue( io.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest request) { return futureUnaryCall( getChannel().newCall(getResetStickyTaskQueueMethod(), getCallOptions()), request); } /** *
     * QueryWorkflow requests a query be executed for a specified workflow execution.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture queryWorkflow( io.temporal.api.workflowservice.v1.QueryWorkflowRequest request) { return futureUnaryCall( getChannel().newCall(getQueryWorkflowMethod(), getCallOptions()), request); } /** *
     * DescribeWorkflowExecution returns information about the specified workflow execution.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeWorkflowExecution( io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest request) { return futureUnaryCall( getChannel().newCall(getDescribeWorkflowExecutionMethod(), getCallOptions()), request); } /** *
     * DescribeTaskQueue returns information about the target task queue.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeTaskQueue( io.temporal.api.workflowservice.v1.DescribeTaskQueueRequest request) { return futureUnaryCall( getChannel().newCall(getDescribeTaskQueueMethod(), getCallOptions()), request); } /** *
     * GetClusterInfo returns information about temporal cluster
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getClusterInfo( io.temporal.api.workflowservice.v1.GetClusterInfoRequest request) { return futureUnaryCall( getChannel().newCall(getGetClusterInfoMethod(), getCallOptions()), request); } /** *
     * GetSystemInfo returns information about the system.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getSystemInfo( io.temporal.api.workflowservice.v1.GetSystemInfoRequest request) { return futureUnaryCall( getChannel().newCall(getGetSystemInfoMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture listTaskQueuePartitions( io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest request) { return futureUnaryCall( getChannel().newCall(getListTaskQueuePartitionsMethod(), getCallOptions()), request); } /** *
     * Creates a new schedule.
     * (-- api-linter: core::0133::method-signature=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0133::response-message-name=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0133::http-uri-parent=disabled
     *     aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createSchedule( io.temporal.api.workflowservice.v1.CreateScheduleRequest request) { return futureUnaryCall( getChannel().newCall(getCreateScheduleMethod(), getCallOptions()), request); } /** *
     * Returns the schedule description and current state of an existing schedule.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeSchedule( io.temporal.api.workflowservice.v1.DescribeScheduleRequest request) { return futureUnaryCall( getChannel().newCall(getDescribeScheduleMethod(), getCallOptions()), request); } /** *
     * Changes the configuration or state of an existing schedule.
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateSchedule RPC doesn't follow Google API format. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateSchedule( io.temporal.api.workflowservice.v1.UpdateScheduleRequest request) { return futureUnaryCall( getChannel().newCall(getUpdateScheduleMethod(), getCallOptions()), request); } /** *
     * Makes a specific change to a schedule or triggers an immediate action.
     * (-- api-linter: core::0134::synonyms=disabled
     *     aip.dev/not-precedent: we have both patch and update. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture patchSchedule( io.temporal.api.workflowservice.v1.PatchScheduleRequest request) { return futureUnaryCall( getChannel().newCall(getPatchScheduleMethod(), getCallOptions()), request); } /** *
     * Lists matching times within a range.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listScheduleMatchingTimes( io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest request) { return futureUnaryCall( getChannel().newCall(getListScheduleMatchingTimesMethod(), getCallOptions()), request); } /** *
     * Deletes a schedule, removing it from the system.
     * (-- api-linter: core::0135::method-signature=disabled
     *     aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
     * (-- api-linter: core::0135::response-message-name=disabled
     *     aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteSchedule( io.temporal.api.workflowservice.v1.DeleteScheduleRequest request) { return futureUnaryCall( getChannel().newCall(getDeleteScheduleMethod(), getCallOptions()), request); } /** *
     * List all schedules in a namespace.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listSchedules( io.temporal.api.workflowservice.v1.ListSchedulesRequest request) { return futureUnaryCall( getChannel().newCall(getListSchedulesMethod(), getCallOptions()), request); } /** *
     * Allows users to specify sets of worker build id versions on a per task queue basis. Versions
     * are ordered, and may be either compatible with some extant version, or a new incompatible
     * version, forming sets of ids which are incompatible with each other, but whose contained
     * members are compatible with one another.
     * A single build id may be mapped to multiple task queues using this API for cases where a single process hosts
     * multiple workers. 
     * 
     * To query which workers can be retired, use the `GetWorkerTaskReachability` API.
     * NOTE: The number of task queues mapped to a single build id is limited by the `limit.taskQueuesPerBuildId`
     * (default is 20), if this limit is exceeded this API will error with a FailedPrecondition.
     * (-- api-linter: core::0134::response-message-name=disabled
     *     aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --)
     * (-- api-linter: core::0134::method-signature=disabled
     *     aip.dev/not-precedent: UpdateWorkerBuildIdCompatibility RPC doesn't follow Google API format. --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateWorkerBuildIdCompatibility( io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest request) { return futureUnaryCall( getChannel().newCall(getUpdateWorkerBuildIdCompatibilityMethod(), getCallOptions()), request); } /** *
     * Fetches the worker build id versioning sets for a task queue.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getWorkerBuildIdCompatibility( io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest request) { return futureUnaryCall( getChannel().newCall(getGetWorkerBuildIdCompatibilityMethod(), getCallOptions()), request); } /** *
     * Fetches task reachability to determine whether a worker may be retired.
     * The request may specify task queues to query for or let the server fetch all task queues mapped to the given
     * build IDs.
     * When requesting a large number of task queues or all task queues associated with the given build ids in a
     * namespace, all task queues will be listed in the response but some of them may not contain reachability
     * information due to a server enforced limit. When reaching the limit, task queues that reachability information
     * could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue
     * another call to get the reachability for those task queues.
     * Open source users can adjust this limit by setting the server's dynamic config value for
     * `limit.reachabilityTaskQueueScan` with the caveat that this call can strain the visibility store.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getWorkerTaskReachability( io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest request) { return futureUnaryCall( getChannel().newCall(getGetWorkerTaskReachabilityMethod(), getCallOptions()), request); } /** *
     * Invokes the specified update function on user workflow code.
     * (-- api-linter: core::0134=disabled
     *     aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateWorkflowExecution( io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest request) { return futureUnaryCall( getChannel().newCall(getUpdateWorkflowExecutionMethod(), getCallOptions()), request); } /** *
     * Polls a workflow execution for the outcome of a workflow execution update
     * previously issued through the UpdateWorkflowExecution RPC. The effective
     * timeout on this call will be shorter of the the caller-supplied gRPC
     * timeout and the server's configured long-poll timeout.
     * (-- api-linter: core::0134=disabled
     *     aip.dev/not-precedent: UpdateWorkflowExecution doesn't follow Google API format --)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture pollWorkflowExecutionUpdate( io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest request) { return futureUnaryCall( getChannel().newCall(getPollWorkflowExecutionUpdateMethod(), getCallOptions()), request); } /** *
     * StartBatchOperation starts a new batch operation
     * 
*/ public com.google.common.util.concurrent.ListenableFuture startBatchOperation( io.temporal.api.workflowservice.v1.StartBatchOperationRequest request) { return futureUnaryCall( getChannel().newCall(getStartBatchOperationMethod(), getCallOptions()), request); } /** *
     * StopBatchOperation stops a batch operation
     * 
*/ public com.google.common.util.concurrent.ListenableFuture stopBatchOperation( io.temporal.api.workflowservice.v1.StopBatchOperationRequest request) { return futureUnaryCall( getChannel().newCall(getStopBatchOperationMethod(), getCallOptions()), request); } /** *
     * DescribeBatchOperation returns the information about a batch operation
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeBatchOperation( io.temporal.api.workflowservice.v1.DescribeBatchOperationRequest request) { return futureUnaryCall( getChannel().newCall(getDescribeBatchOperationMethod(), getCallOptions()), request); } /** *
     * ListBatchOperations returns a list of batch operations
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listBatchOperations( io.temporal.api.workflowservice.v1.ListBatchOperationsRequest request) { return futureUnaryCall( getChannel().newCall(getListBatchOperationsMethod(), getCallOptions()), request); } } private static final int METHODID_REGISTER_NAMESPACE = 0; private static final int METHODID_DESCRIBE_NAMESPACE = 1; private static final int METHODID_LIST_NAMESPACES = 2; private static final int METHODID_UPDATE_NAMESPACE = 3; private static final int METHODID_DEPRECATE_NAMESPACE = 4; private static final int METHODID_START_WORKFLOW_EXECUTION = 5; private static final int METHODID_GET_WORKFLOW_EXECUTION_HISTORY = 6; private static final int METHODID_GET_WORKFLOW_EXECUTION_HISTORY_REVERSE = 7; private static final int METHODID_POLL_WORKFLOW_TASK_QUEUE = 8; private static final int METHODID_RESPOND_WORKFLOW_TASK_COMPLETED = 9; private static final int METHODID_RESPOND_WORKFLOW_TASK_FAILED = 10; private static final int METHODID_POLL_ACTIVITY_TASK_QUEUE = 11; private static final int METHODID_RECORD_ACTIVITY_TASK_HEARTBEAT = 12; private static final int METHODID_RECORD_ACTIVITY_TASK_HEARTBEAT_BY_ID = 13; private static final int METHODID_RESPOND_ACTIVITY_TASK_COMPLETED = 14; private static final int METHODID_RESPOND_ACTIVITY_TASK_COMPLETED_BY_ID = 15; private static final int METHODID_RESPOND_ACTIVITY_TASK_FAILED = 16; private static final int METHODID_RESPOND_ACTIVITY_TASK_FAILED_BY_ID = 17; private static final int METHODID_RESPOND_ACTIVITY_TASK_CANCELED = 18; private static final int METHODID_RESPOND_ACTIVITY_TASK_CANCELED_BY_ID = 19; private static final int METHODID_REQUEST_CANCEL_WORKFLOW_EXECUTION = 20; private static final int METHODID_SIGNAL_WORKFLOW_EXECUTION = 21; private static final int METHODID_SIGNAL_WITH_START_WORKFLOW_EXECUTION = 22; private static final int METHODID_RESET_WORKFLOW_EXECUTION = 23; private static final int METHODID_TERMINATE_WORKFLOW_EXECUTION = 24; private static final int METHODID_DELETE_WORKFLOW_EXECUTION = 25; private static final int METHODID_LIST_OPEN_WORKFLOW_EXECUTIONS = 26; private static final int METHODID_LIST_CLOSED_WORKFLOW_EXECUTIONS = 27; private static final int METHODID_LIST_WORKFLOW_EXECUTIONS = 28; private static final int METHODID_LIST_ARCHIVED_WORKFLOW_EXECUTIONS = 29; private static final int METHODID_SCAN_WORKFLOW_EXECUTIONS = 30; private static final int METHODID_COUNT_WORKFLOW_EXECUTIONS = 31; private static final int METHODID_GET_SEARCH_ATTRIBUTES = 32; private static final int METHODID_RESPOND_QUERY_TASK_COMPLETED = 33; private static final int METHODID_RESET_STICKY_TASK_QUEUE = 34; private static final int METHODID_QUERY_WORKFLOW = 35; private static final int METHODID_DESCRIBE_WORKFLOW_EXECUTION = 36; private static final int METHODID_DESCRIBE_TASK_QUEUE = 37; private static final int METHODID_GET_CLUSTER_INFO = 38; private static final int METHODID_GET_SYSTEM_INFO = 39; private static final int METHODID_LIST_TASK_QUEUE_PARTITIONS = 40; private static final int METHODID_CREATE_SCHEDULE = 41; private static final int METHODID_DESCRIBE_SCHEDULE = 42; private static final int METHODID_UPDATE_SCHEDULE = 43; private static final int METHODID_PATCH_SCHEDULE = 44; private static final int METHODID_LIST_SCHEDULE_MATCHING_TIMES = 45; private static final int METHODID_DELETE_SCHEDULE = 46; private static final int METHODID_LIST_SCHEDULES = 47; private static final int METHODID_UPDATE_WORKER_BUILD_ID_COMPATIBILITY = 48; private static final int METHODID_GET_WORKER_BUILD_ID_COMPATIBILITY = 49; private static final int METHODID_GET_WORKER_TASK_REACHABILITY = 50; private static final int METHODID_UPDATE_WORKFLOW_EXECUTION = 51; private static final int METHODID_POLL_WORKFLOW_EXECUTION_UPDATE = 52; private static final int METHODID_START_BATCH_OPERATION = 53; private static final int METHODID_STOP_BATCH_OPERATION = 54; private static final int METHODID_DESCRIBE_BATCH_OPERATION = 55; private static final int METHODID_LIST_BATCH_OPERATIONS = 56; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final WorkflowServiceImplBase serviceImpl; private final int methodId; MethodHandlers(WorkflowServiceImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_REGISTER_NAMESPACE: serviceImpl.registerNamespace((io.temporal.api.workflowservice.v1.RegisterNamespaceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_NAMESPACE: serviceImpl.describeNamespace((io.temporal.api.workflowservice.v1.DescribeNamespaceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_NAMESPACES: serviceImpl.listNamespaces((io.temporal.api.workflowservice.v1.ListNamespacesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_NAMESPACE: serviceImpl.updateNamespace((io.temporal.api.workflowservice.v1.UpdateNamespaceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DEPRECATE_NAMESPACE: serviceImpl.deprecateNamespace((io.temporal.api.workflowservice.v1.DeprecateNamespaceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_START_WORKFLOW_EXECUTION: serviceImpl.startWorkflowExecution((io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_WORKFLOW_EXECUTION_HISTORY: serviceImpl.getWorkflowExecutionHistory((io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_WORKFLOW_EXECUTION_HISTORY_REVERSE: serviceImpl.getWorkflowExecutionHistoryReverse((io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_POLL_WORKFLOW_TASK_QUEUE: serviceImpl.pollWorkflowTaskQueue((io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESPOND_WORKFLOW_TASK_COMPLETED: serviceImpl.respondWorkflowTaskCompleted((io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESPOND_WORKFLOW_TASK_FAILED: serviceImpl.respondWorkflowTaskFailed((io.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_POLL_ACTIVITY_TASK_QUEUE: serviceImpl.pollActivityTaskQueue((io.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RECORD_ACTIVITY_TASK_HEARTBEAT: serviceImpl.recordActivityTaskHeartbeat((io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RECORD_ACTIVITY_TASK_HEARTBEAT_BY_ID: serviceImpl.recordActivityTaskHeartbeatById((io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESPOND_ACTIVITY_TASK_COMPLETED: serviceImpl.respondActivityTaskCompleted((io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESPOND_ACTIVITY_TASK_COMPLETED_BY_ID: serviceImpl.respondActivityTaskCompletedById((io.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESPOND_ACTIVITY_TASK_FAILED: serviceImpl.respondActivityTaskFailed((io.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESPOND_ACTIVITY_TASK_FAILED_BY_ID: serviceImpl.respondActivityTaskFailedById((io.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESPOND_ACTIVITY_TASK_CANCELED: serviceImpl.respondActivityTaskCanceled((io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESPOND_ACTIVITY_TASK_CANCELED_BY_ID: serviceImpl.respondActivityTaskCanceledById((io.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REQUEST_CANCEL_WORKFLOW_EXECUTION: serviceImpl.requestCancelWorkflowExecution((io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SIGNAL_WORKFLOW_EXECUTION: serviceImpl.signalWorkflowExecution((io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SIGNAL_WITH_START_WORKFLOW_EXECUTION: serviceImpl.signalWithStartWorkflowExecution((io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESET_WORKFLOW_EXECUTION: serviceImpl.resetWorkflowExecution((io.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TERMINATE_WORKFLOW_EXECUTION: serviceImpl.terminateWorkflowExecution((io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_WORKFLOW_EXECUTION: serviceImpl.deleteWorkflowExecution((io.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_OPEN_WORKFLOW_EXECUTIONS: serviceImpl.listOpenWorkflowExecutions((io.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_CLOSED_WORKFLOW_EXECUTIONS: serviceImpl.listClosedWorkflowExecutions((io.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_WORKFLOW_EXECUTIONS: serviceImpl.listWorkflowExecutions((io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_ARCHIVED_WORKFLOW_EXECUTIONS: serviceImpl.listArchivedWorkflowExecutions((io.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SCAN_WORKFLOW_EXECUTIONS: serviceImpl.scanWorkflowExecutions((io.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COUNT_WORKFLOW_EXECUTIONS: serviceImpl.countWorkflowExecutions((io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SEARCH_ATTRIBUTES: serviceImpl.getSearchAttributes((io.temporal.api.workflowservice.v1.GetSearchAttributesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESPOND_QUERY_TASK_COMPLETED: serviceImpl.respondQueryTaskCompleted((io.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESET_STICKY_TASK_QUEUE: serviceImpl.resetStickyTaskQueue((io.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_QUERY_WORKFLOW: serviceImpl.queryWorkflow((io.temporal.api.workflowservice.v1.QueryWorkflowRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_WORKFLOW_EXECUTION: serviceImpl.describeWorkflowExecution((io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_TASK_QUEUE: serviceImpl.describeTaskQueue((io.temporal.api.workflowservice.v1.DescribeTaskQueueRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_CLUSTER_INFO: serviceImpl.getClusterInfo((io.temporal.api.workflowservice.v1.GetClusterInfoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SYSTEM_INFO: serviceImpl.getSystemInfo((io.temporal.api.workflowservice.v1.GetSystemInfoRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TASK_QUEUE_PARTITIONS: serviceImpl.listTaskQueuePartitions((io.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_SCHEDULE: serviceImpl.createSchedule((io.temporal.api.workflowservice.v1.CreateScheduleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_SCHEDULE: serviceImpl.describeSchedule((io.temporal.api.workflowservice.v1.DescribeScheduleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_SCHEDULE: serviceImpl.updateSchedule((io.temporal.api.workflowservice.v1.UpdateScheduleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PATCH_SCHEDULE: serviceImpl.patchSchedule((io.temporal.api.workflowservice.v1.PatchScheduleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_SCHEDULE_MATCHING_TIMES: serviceImpl.listScheduleMatchingTimes((io.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_SCHEDULE: serviceImpl.deleteSchedule((io.temporal.api.workflowservice.v1.DeleteScheduleRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_SCHEDULES: serviceImpl.listSchedules((io.temporal.api.workflowservice.v1.ListSchedulesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_WORKER_BUILD_ID_COMPATIBILITY: serviceImpl.updateWorkerBuildIdCompatibility((io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_WORKER_BUILD_ID_COMPATIBILITY: serviceImpl.getWorkerBuildIdCompatibility((io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_WORKER_TASK_REACHABILITY: serviceImpl.getWorkerTaskReachability((io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_WORKFLOW_EXECUTION: serviceImpl.updateWorkflowExecution((io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_POLL_WORKFLOW_EXECUTION_UPDATE: serviceImpl.pollWorkflowExecutionUpdate((io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_START_BATCH_OPERATION: serviceImpl.startBatchOperation((io.temporal.api.workflowservice.v1.StartBatchOperationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_STOP_BATCH_OPERATION: serviceImpl.stopBatchOperation((io.temporal.api.workflowservice.v1.StopBatchOperationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_BATCH_OPERATION: serviceImpl.describeBatchOperation((io.temporal.api.workflowservice.v1.DescribeBatchOperationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BATCH_OPERATIONS: serviceImpl.listBatchOperations((io.temporal.api.workflowservice.v1.ListBatchOperationsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } private static abstract class WorkflowServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { WorkflowServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return io.temporal.api.workflowservice.v1.ServiceProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("WorkflowService"); } } private static final class WorkflowServiceFileDescriptorSupplier extends WorkflowServiceBaseDescriptorSupplier { WorkflowServiceFileDescriptorSupplier() {} } private static final class WorkflowServiceMethodDescriptorSupplier extends WorkflowServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; WorkflowServiceMethodDescriptorSupplier(String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (WorkflowServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new WorkflowServiceFileDescriptorSupplier()) .addMethod(getRegisterNamespaceMethod()) .addMethod(getDescribeNamespaceMethod()) .addMethod(getListNamespacesMethod()) .addMethod(getUpdateNamespaceMethod()) .addMethod(getDeprecateNamespaceMethod()) .addMethod(getStartWorkflowExecutionMethod()) .addMethod(getGetWorkflowExecutionHistoryMethod()) .addMethod(getGetWorkflowExecutionHistoryReverseMethod()) .addMethod(getPollWorkflowTaskQueueMethod()) .addMethod(getRespondWorkflowTaskCompletedMethod()) .addMethod(getRespondWorkflowTaskFailedMethod()) .addMethod(getPollActivityTaskQueueMethod()) .addMethod(getRecordActivityTaskHeartbeatMethod()) .addMethod(getRecordActivityTaskHeartbeatByIdMethod()) .addMethod(getRespondActivityTaskCompletedMethod()) .addMethod(getRespondActivityTaskCompletedByIdMethod()) .addMethod(getRespondActivityTaskFailedMethod()) .addMethod(getRespondActivityTaskFailedByIdMethod()) .addMethod(getRespondActivityTaskCanceledMethod()) .addMethod(getRespondActivityTaskCanceledByIdMethod()) .addMethod(getRequestCancelWorkflowExecutionMethod()) .addMethod(getSignalWorkflowExecutionMethod()) .addMethod(getSignalWithStartWorkflowExecutionMethod()) .addMethod(getResetWorkflowExecutionMethod()) .addMethod(getTerminateWorkflowExecutionMethod()) .addMethod(getDeleteWorkflowExecutionMethod()) .addMethod(getListOpenWorkflowExecutionsMethod()) .addMethod(getListClosedWorkflowExecutionsMethod()) .addMethod(getListWorkflowExecutionsMethod()) .addMethod(getListArchivedWorkflowExecutionsMethod()) .addMethod(getScanWorkflowExecutionsMethod()) .addMethod(getCountWorkflowExecutionsMethod()) .addMethod(getGetSearchAttributesMethod()) .addMethod(getRespondQueryTaskCompletedMethod()) .addMethod(getResetStickyTaskQueueMethod()) .addMethod(getQueryWorkflowMethod()) .addMethod(getDescribeWorkflowExecutionMethod()) .addMethod(getDescribeTaskQueueMethod()) .addMethod(getGetClusterInfoMethod()) .addMethod(getGetSystemInfoMethod()) .addMethod(getListTaskQueuePartitionsMethod()) .addMethod(getCreateScheduleMethod()) .addMethod(getDescribeScheduleMethod()) .addMethod(getUpdateScheduleMethod()) .addMethod(getPatchScheduleMethod()) .addMethod(getListScheduleMatchingTimesMethod()) .addMethod(getDeleteScheduleMethod()) .addMethod(getListSchedulesMethod()) .addMethod(getUpdateWorkerBuildIdCompatibilityMethod()) .addMethod(getGetWorkerBuildIdCompatibilityMethod()) .addMethod(getGetWorkerTaskReachabilityMethod()) .addMethod(getUpdateWorkflowExecutionMethod()) .addMethod(getPollWorkflowExecutionUpdateMethod()) .addMethod(getStartBatchOperationMethod()) .addMethod(getStopBatchOperationMethod()) .addMethod(getDescribeBatchOperationMethod()) .addMethod(getListBatchOperationsMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy