Package com.daml.ledger.api.v2.admin
Class PartyManagementServiceGrpc
java.lang.Object
com.daml.ledger.api.v2.admin.PartyManagementServiceGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: com/daml/ledger/api/v2/admin/party_management_service.proto")
public final class PartyManagementServiceGrpc
extends Object
This service allows inspecting the party management state of the ledger known to the participant
and managing the participant-local party metadata.
The authorization rules for its RPCs are specified on the ``<RpcName>Request``
messages as boolean expressions over these facts:
1. ``HasRight(r)`` denoting whether the authenticated user has right ``r`` and
2. ``IsAuthenticatedIdentityProviderAdmin(idp)`` denoting whether ``idp`` is equal to the ``identity_provider_id``
of the authenticated user and the user has an IdentityProviderAdmin right.
If `identity_provider_id` is set to an empty string, then it's effectively set to the value of access token's 'iss' field if that is provided.
If `identity_provider_id` remains an empty string, the default identity provider will be assumed.
The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``:
1. ``Optional`` denoting the client may leave the field unset when sending a request.
2. ``Required`` denoting the client must set the field to a non-default value when sending a request.
A party details resource is described by the ``PartyDetails`` message,
A party details resource, once it has been created, can be modified using the ``UpdatePartyDetails`` RPC.
The only fields that can be modified are those marked as ``Modifiable``.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThis service allows inspecting the party management state of the ledger known to the participant and managing the participant-local party metadata.static final classA stub to allow clients to do synchronous rpc calls to service PartyManagementService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service PartyManagementService.static classBase class for the server implementation of the service PartyManagementService.static final classA stub to allow clients to do asynchronous rpc calls to service PartyManagementService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.AllocatePartyRequest,PartyManagementServiceOuterClass.AllocatePartyResponse> static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.GetParticipantIdRequest,PartyManagementServiceOuterClass.GetParticipantIdResponse> static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.GetPartiesRequest,PartyManagementServiceOuterClass.GetPartiesResponse> static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.ListKnownPartiesRequest,PartyManagementServiceOuterClass.ListKnownPartiesResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.UpdatePartyDetailsRequest,PartyManagementServiceOuterClass.UpdatePartyDetailsResponse> static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.UpdatePartyIdentityProviderIdRequest,PartyManagementServiceOuterClass.UpdatePartyIdentityProviderIdResponse> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getGetParticipantIdMethod
public static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.GetParticipantIdRequest,PartyManagementServiceOuterClass.GetParticipantIdResponse> getGetParticipantIdMethod() -
getGetPartiesMethod
public static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.GetPartiesRequest,PartyManagementServiceOuterClass.GetPartiesResponse> getGetPartiesMethod() -
getListKnownPartiesMethod
public static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.ListKnownPartiesRequest,PartyManagementServiceOuterClass.ListKnownPartiesResponse> getListKnownPartiesMethod() -
getAllocatePartyMethod
public static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.AllocatePartyRequest,PartyManagementServiceOuterClass.AllocatePartyResponse> getAllocatePartyMethod() -
getUpdatePartyDetailsMethod
public static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.UpdatePartyDetailsRequest,PartyManagementServiceOuterClass.UpdatePartyDetailsResponse> getUpdatePartyDetailsMethod() -
getUpdatePartyIdentityProviderIdMethod
public static io.grpc.MethodDescriptor<PartyManagementServiceOuterClass.UpdatePartyIdentityProviderIdRequest,PartyManagementServiceOuterClass.UpdatePartyIdentityProviderIdResponse> getUpdatePartyIdentityProviderIdMethod() -
newStub
public static PartyManagementServiceGrpc.PartyManagementServiceStub newStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service -
newBlockingStub
public static PartyManagementServiceGrpc.PartyManagementServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static PartyManagementServiceGrpc.PartyManagementServiceFutureStub newFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(PartyManagementServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-