Class OperatorServiceGrpc.OperatorServiceImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    OperatorServiceGrpc

    public abstract static class OperatorServiceGrpc.OperatorServiceImplBase
    extends java.lang.Object
    implements io.grpc.BindableService
     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.
     
    • Constructor Detail

      • OperatorServiceImplBase

        public OperatorServiceImplBase()
    • Method Detail

      • 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
         
      • deleteNamespace

        public void deleteNamespace​(DeleteNamespaceRequest request,
                                    io.grpc.stub.StreamObserver<DeleteNamespaceResponse> responseObserver)
         DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.
         (-- 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. --)
         
      • listClusters

        public void listClusters​(ListClustersRequest request,
                                 io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
         ListClusters returns information about Temporal clusters.
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService