Package com.daml.ledger.api.v1.admin
Class PartyManagementServiceGrpc
- java.lang.Object
-
- com.daml.ledger.api.v1.admin.PartyManagementServiceGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: com/daml/ledger/api/v1/admin/party_management_service.proto") public final class PartyManagementServiceGrpc extends java.lang.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 Classes Modifier and Type Class Description static interface
PartyManagementServiceGrpc.AsyncService
This service allows inspecting the party management state of the ledger known to the participant and managing the participant-local party metadata.static class
PartyManagementServiceGrpc.PartyManagementServiceBlockingStub
A stub to allow clients to do synchronous rpc calls to service PartyManagementService.static class
PartyManagementServiceGrpc.PartyManagementServiceFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service PartyManagementService.static class
PartyManagementServiceGrpc.PartyManagementServiceImplBase
Base class for the server implementation of the service PartyManagementService.static class
PartyManagementServiceGrpc.PartyManagementServiceStub
A stub to allow clients to do asynchronous rpc calls to service PartyManagementService.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_NAME
-
Method Summary
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.UpdatePartyIdentityProviderRequest,PartyManagementServiceOuterClass.UpdatePartyIdentityProviderResponse> 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()
-
-