Class OperatorServiceGrpc.OperatorServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<OperatorServiceGrpc.OperatorServiceStub>
-
- io.temporal.api.operatorservice.v1.OperatorServiceGrpc.OperatorServiceStub
-
- Enclosing class:
- OperatorServiceGrpc
public static final class OperatorServiceGrpc.OperatorServiceStub extends io.grpc.stub.AbstractAsyncStub<OperatorServiceGrpc.OperatorServiceStub>
OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to perform administrative functions like registering a search attribute or a namespace. APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by designated APIs that clearly state that they shouldn't be used by the main Application (Workflows & Activities) framework.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOrUpdateRemoteCluster(AddOrUpdateRemoteClusterRequest request, io.grpc.stub.StreamObserver<AddOrUpdateRemoteClusterResponse> responseObserver)AddOrUpdateRemoteCluster adds or updates remote cluster.voidaddSearchAttributes(AddSearchAttributesRequest request, io.grpc.stub.StreamObserver<AddSearchAttributesResponse> responseObserver)AddSearchAttributes add custom search attributes.protected OperatorServiceGrpc.OperatorServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcreateNexusIncomingService(CreateNexusIncomingServiceRequest request, io.grpc.stub.StreamObserver<CreateNexusIncomingServiceResponse> responseObserver)Create a Nexus service.voidcreateNexusOutgoingService(CreateNexusOutgoingServiceRequest request, io.grpc.stub.StreamObserver<CreateNexusOutgoingServiceResponse> responseObserver)Create a Nexus service.voiddeleteNamespace(DeleteNamespaceRequest request, io.grpc.stub.StreamObserver<DeleteNamespaceResponse> responseObserver)DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.voiddeleteNexusIncomingService(DeleteNexusIncomingServiceRequest request, io.grpc.stub.StreamObserver<DeleteNexusIncomingServiceResponse> responseObserver)Delete an incoming Nexus service by ID.voiddeleteNexusOutgoingService(DeleteNexusOutgoingServiceRequest request, io.grpc.stub.StreamObserver<DeleteNexusOutgoingServiceResponse> responseObserver)Delete an outgoing Nexus service by namespace and service name.voidgetNexusIncomingService(GetNexusIncomingServiceRequest request, io.grpc.stub.StreamObserver<GetNexusIncomingServiceResponse> responseObserver)Get a registered incoming Nexus service by ID.voidgetNexusOutgoingService(GetNexusOutgoingServiceRequest request, io.grpc.stub.StreamObserver<GetNexusOutgoingServiceResponse> responseObserver)Get a registered outgoing Nexus service by namespace and service name.voidlistClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)ListClusters returns information about Temporal clusters.voidlistNexusIncomingServices(ListNexusIncomingServicesRequest request, io.grpc.stub.StreamObserver<ListNexusIncomingServicesResponse> responseObserver)List all Nexus incoming services for the cluster, sorted by service ID in ascending order.voidlistNexusOutgoingServices(ListNexusOutgoingServicesRequest request, io.grpc.stub.StreamObserver<ListNexusOutgoingServicesResponse> responseObserver)List all Nexus outgoing services for a namespace, sorted by service name in ascending order.voidlistSearchAttributes(ListSearchAttributesRequest request, io.grpc.stub.StreamObserver<ListSearchAttributesResponse> responseObserver)ListSearchAttributes returns comprehensive information about search attributes.voidremoveRemoteCluster(RemoveRemoteClusterRequest request, io.grpc.stub.StreamObserver<RemoveRemoteClusterResponse> responseObserver)RemoveRemoteCluster removes remote cluster.voidremoveSearchAttributes(RemoveSearchAttributesRequest request, io.grpc.stub.StreamObserver<RemoveSearchAttributesResponse> responseObserver)RemoveSearchAttributes removes custom search attributes.voidupdateNexusIncomingService(UpdateNexusIncomingServiceRequest request, io.grpc.stub.StreamObserver<UpdateNexusIncomingServiceResponse> responseObserver)Optimistically update a Nexus service based on provided version as obtained via the `GetNexusIncomingService` or `ListNexusOutgoingServicesResponse` APIs.voidupdateNexusOutgoingService(UpdateNexusOutgoingServiceRequest request, io.grpc.stub.StreamObserver<UpdateNexusOutgoingServiceResponse> responseObserver)Update an outgoing Nexus service by namespace and service name.
-
-
-
Method Detail
-
build
protected OperatorServiceGrpc.OperatorServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<OperatorServiceGrpc.OperatorServiceStub>
-
addSearchAttributes
public void addSearchAttributes(AddSearchAttributesRequest request, io.grpc.stub.StreamObserver<AddSearchAttributesResponse> responseObserver)
AddSearchAttributes add custom search attributes. Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails,
-
removeSearchAttributes
public void removeSearchAttributes(RemoveSearchAttributesRequest request, io.grpc.stub.StreamObserver<RemoveSearchAttributesResponse> responseObserver)
RemoveSearchAttributes removes custom search attributes. Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered
-
listSearchAttributes
public void listSearchAttributes(ListSearchAttributesRequest request, io.grpc.stub.StreamObserver<ListSearchAttributesResponse> responseObserver)
ListSearchAttributes returns comprehensive information about search attributes.
-
deleteNamespace
public void deleteNamespace(DeleteNamespaceRequest request, io.grpc.stub.StreamObserver<DeleteNamespaceResponse> responseObserver)
DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.
-
addOrUpdateRemoteCluster
public void addOrUpdateRemoteCluster(AddOrUpdateRemoteClusterRequest request, io.grpc.stub.StreamObserver<AddOrUpdateRemoteClusterResponse> responseObserver)
AddOrUpdateRemoteCluster adds or updates remote cluster.
-
removeRemoteCluster
public void removeRemoteCluster(RemoveRemoteClusterRequest request, io.grpc.stub.StreamObserver<RemoveRemoteClusterResponse> responseObserver)
RemoveRemoteCluster removes remote cluster.
-
listClusters
public void listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
ListClusters returns information about Temporal clusters.
-
getNexusIncomingService
public void getNexusIncomingService(GetNexusIncomingServiceRequest request, io.grpc.stub.StreamObserver<GetNexusIncomingServiceResponse> responseObserver)
Get a registered incoming Nexus service by ID. The returned version can be used for optimistic updates.
-
createNexusIncomingService
public void createNexusIncomingService(CreateNexusIncomingServiceRequest request, io.grpc.stub.StreamObserver<CreateNexusIncomingServiceResponse> responseObserver)
Create a Nexus service. This will fail if a service with the same name already exists in the namespace with a status of ALREADY_EXISTS. Returns the created service with its initial version. You may use this version for subsequent updates.
-
updateNexusIncomingService
public void updateNexusIncomingService(UpdateNexusIncomingServiceRequest request, io.grpc.stub.StreamObserver<UpdateNexusIncomingServiceResponse> responseObserver)
Optimistically update a Nexus service based on provided version as obtained via the `GetNexusIncomingService` or `ListNexusOutgoingServicesResponse` APIs. This will fail with a status of FAILED_PRECONDITION if the version does not match. Returns the updated service with its updated version. You may use this version for subsequent updates. You don't need to increment the version yourself. The server will increment the version for you after each update.
-
deleteNexusIncomingService
public void deleteNexusIncomingService(DeleteNexusIncomingServiceRequest request, io.grpc.stub.StreamObserver<DeleteNexusIncomingServiceResponse> responseObserver)
Delete an incoming Nexus service by ID.
-
listNexusIncomingServices
public void listNexusIncomingServices(ListNexusIncomingServicesRequest request, io.grpc.stub.StreamObserver<ListNexusIncomingServicesResponse> responseObserver)
List all Nexus incoming services for the cluster, sorted by service ID in ascending order. Set page_token in the request to the next_page_token field of the previous response to get the next page of results. An empty next_page_token indicates that there are no more results. During pagination, a newly added service with an ID lexicographically earlier than the previous page's last service name may be missed.
-
getNexusOutgoingService
public void getNexusOutgoingService(GetNexusOutgoingServiceRequest request, io.grpc.stub.StreamObserver<GetNexusOutgoingServiceResponse> responseObserver)
Get a registered outgoing Nexus service by namespace and service name. The returned version can be used for optimistic updates.
-
createNexusOutgoingService
public void createNexusOutgoingService(CreateNexusOutgoingServiceRequest request, io.grpc.stub.StreamObserver<CreateNexusOutgoingServiceResponse> responseObserver)
Create a Nexus service. This will fail if a service with the same name already exists in the namespace with a status of ALREADY_EXISTS. Returns the created service with its initial version. You may use this version for subsequent updates. You don't need to increment the version yourself. The server will increment the version for you after each update.
-
updateNexusOutgoingService
public void updateNexusOutgoingService(UpdateNexusOutgoingServiceRequest request, io.grpc.stub.StreamObserver<UpdateNexusOutgoingServiceResponse> responseObserver)
Update an outgoing Nexus service by namespace and service name. The version in the request should match the current version of the service. This will fail with a status of FAILED_PRECONDITION if the version does not match. Returns the updated service with the updated version, which can be used for subsequent updates. You don't need to increment the version yourself. The server will increment the version for you.
-
deleteNexusOutgoingService
public void deleteNexusOutgoingService(DeleteNexusOutgoingServiceRequest request, io.grpc.stub.StreamObserver<DeleteNexusOutgoingServiceResponse> responseObserver)
Delete an outgoing Nexus service by namespace and service name.
-
listNexusOutgoingServices
public void listNexusOutgoingServices(ListNexusOutgoingServicesRequest request, io.grpc.stub.StreamObserver<ListNexusOutgoingServicesResponse> responseObserver)
List all Nexus outgoing services for a namespace, sorted by service name in ascending order. Set page_token in the request to the next_page_token field of the previous response to get the next page of results. An empty next_page_token indicates that there are no more results. During pagination, a newly added service with a name lexicographically earlier than the previous page's last service name may be missed.
-
-