Class OperatorServiceGrpc.OperatorServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<OperatorServiceGrpc.OperatorServiceBlockingStub>
-
- io.temporal.api.operatorservice.v1.OperatorServiceGrpc.OperatorServiceBlockingStub
-
- Enclosing class:
- OperatorServiceGrpc
public static final class OperatorServiceGrpc.OperatorServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<OperatorServiceGrpc.OperatorServiceBlockingStub>
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
-
-
-
Method Detail
-
build
protected OperatorServiceGrpc.OperatorServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<OperatorServiceGrpc.OperatorServiceBlockingStub>
-
addSearchAttributes
public AddSearchAttributesResponse addSearchAttributes(AddSearchAttributesRequest request)
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 RemoveSearchAttributesResponse removeSearchAttributes(RemoveSearchAttributesRequest request)
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 ListSearchAttributesResponse listSearchAttributes(ListSearchAttributesRequest request)
ListSearchAttributes returns comprehensive information about search attributes.
-
deleteNamespace
public DeleteNamespaceResponse deleteNamespace(DeleteNamespaceRequest request)
DeleteNamespace synchronously deletes a namespace and asynchronously reclaims all namespace resources.
-
addOrUpdateRemoteCluster
public AddOrUpdateRemoteClusterResponse addOrUpdateRemoteCluster(AddOrUpdateRemoteClusterRequest request)
AddOrUpdateRemoteCluster adds or updates remote cluster.
-
removeRemoteCluster
public RemoveRemoteClusterResponse removeRemoteCluster(RemoveRemoteClusterRequest request)
RemoveRemoteCluster removes remote cluster.
-
listClusters
public ListClustersResponse listClusters(ListClustersRequest request)
ListClusters returns information about Temporal clusters.
-
getNexusIncomingService
public GetNexusIncomingServiceResponse getNexusIncomingService(GetNexusIncomingServiceRequest request)
Get a registered incoming Nexus service by ID. The returned version can be used for optimistic updates.
-
createNexusIncomingService
public CreateNexusIncomingServiceResponse createNexusIncomingService(CreateNexusIncomingServiceRequest request)
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 UpdateNexusIncomingServiceResponse updateNexusIncomingService(UpdateNexusIncomingServiceRequest request)
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 DeleteNexusIncomingServiceResponse deleteNexusIncomingService(DeleteNexusIncomingServiceRequest request)
Delete an incoming Nexus service by ID.
-
listNexusIncomingServices
public ListNexusIncomingServicesResponse listNexusIncomingServices(ListNexusIncomingServicesRequest request)
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 GetNexusOutgoingServiceResponse getNexusOutgoingService(GetNexusOutgoingServiceRequest request)
Get a registered outgoing Nexus service by namespace and service name. The returned version can be used for optimistic updates.
-
createNexusOutgoingService
public CreateNexusOutgoingServiceResponse createNexusOutgoingService(CreateNexusOutgoingServiceRequest request)
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 UpdateNexusOutgoingServiceResponse updateNexusOutgoingService(UpdateNexusOutgoingServiceRequest request)
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 DeleteNexusOutgoingServiceResponse deleteNexusOutgoingService(DeleteNexusOutgoingServiceRequest request)
Delete an outgoing Nexus service by namespace and service name.
-
listNexusOutgoingServices
public ListNexusOutgoingServicesResponse listNexusOutgoingServices(ListNexusOutgoingServicesRequest request)
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.
-
-