Documentation ¶
Index ¶
- Variables
- func RegisterActiveContractsServiceServer(s grpc.ServiceRegistrar, srv ActiveContractsServiceServer)
- func RegisterCommandCompletionServiceServer(s grpc.ServiceRegistrar, srv CommandCompletionServiceServer)
- func RegisterCommandServiceServer(s grpc.ServiceRegistrar, srv CommandServiceServer)
- func RegisterCommandSubmissionServiceServer(s grpc.ServiceRegistrar, srv CommandSubmissionServiceServer)
- func RegisterLedgerConfigurationServiceServer(s grpc.ServiceRegistrar, srv LedgerConfigurationServiceServer)
- func RegisterLedgerIdentityServiceServer(s grpc.ServiceRegistrar, srv LedgerIdentityServiceServer)deprecated
- func RegisterPackageServiceServer(s grpc.ServiceRegistrar, srv PackageServiceServer)
- func RegisterTransactionServiceServer(s grpc.ServiceRegistrar, srv TransactionServiceServer)
- func RegisterVersionServiceServer(s grpc.ServiceRegistrar, srv VersionServiceServer)
- type ActiveContractsServiceClient
- type ActiveContractsServiceServer
- type ActiveContractsService_GetActiveContractsClient
- type ActiveContractsService_GetActiveContractsServer
- type ArchivedEvent
- func (*ArchivedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ArchivedEvent) GetContractId() string
- func (x *ArchivedEvent) GetEventId() string
- func (x *ArchivedEvent) GetTemplateId() *Identifier
- func (x *ArchivedEvent) GetWitnessParties() []string
- func (*ArchivedEvent) ProtoMessage()
- func (x *ArchivedEvent) ProtoReflect() protoreflect.Message
- func (x *ArchivedEvent) Reset()
- func (x *ArchivedEvent) String() string
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Checkpoint) GetOffset() *LedgerOffset
- func (x *Checkpoint) GetRecordTime() *timestamppb.Timestamp
- func (*Checkpoint) ProtoMessage()
- func (x *Checkpoint) ProtoReflect() protoreflect.Message
- func (x *Checkpoint) Reset()
- func (x *Checkpoint) String() string
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (m *Command) GetCommand() isCommand_Command
- func (x *Command) GetCreate() *CreateCommand
- func (x *Command) GetCreateAndExercise() *CreateAndExerciseCommand
- func (x *Command) GetExercise() *ExerciseCommand
- func (x *Command) GetExerciseByKey() *ExerciseByKeyCommand
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type CommandCompletionServiceClient
- type CommandCompletionServiceServer
- type CommandCompletionService_CompletionStreamClient
- type CommandCompletionService_CompletionStreamServer
- type CommandDeduplicationFeatures
- func (*CommandDeduplicationFeatures) Descriptor() ([]byte, []int)deprecated
- func (x *CommandDeduplicationFeatures) GetDeduplicationPeriodSupport() *CommandDeduplicationPeriodSupport
- func (x *CommandDeduplicationFeatures) GetDeduplicationType() CommandDeduplicationType
- func (x *CommandDeduplicationFeatures) GetMaxDeduplicationDurationEnforced() bool
- func (*CommandDeduplicationFeatures) ProtoMessage()
- func (x *CommandDeduplicationFeatures) ProtoReflect() protoreflect.Message
- func (x *CommandDeduplicationFeatures) Reset()
- func (x *CommandDeduplicationFeatures) String() string
- type CommandDeduplicationPeriodSupport
- func (*CommandDeduplicationPeriodSupport) Descriptor() ([]byte, []int)deprecated
- func (x *CommandDeduplicationPeriodSupport) GetDurationSupport() CommandDeduplicationPeriodSupport_DurationSupport
- func (x *CommandDeduplicationPeriodSupport) GetOffsetSupport() CommandDeduplicationPeriodSupport_OffsetSupport
- func (*CommandDeduplicationPeriodSupport) ProtoMessage()
- func (x *CommandDeduplicationPeriodSupport) ProtoReflect() protoreflect.Message
- func (x *CommandDeduplicationPeriodSupport) Reset()
- func (x *CommandDeduplicationPeriodSupport) String() string
- type CommandDeduplicationPeriodSupport_DurationSupport
- func (CommandDeduplicationPeriodSupport_DurationSupport) Descriptor() protoreflect.EnumDescriptor
- func (x CommandDeduplicationPeriodSupport_DurationSupport) Enum() *CommandDeduplicationPeriodSupport_DurationSupport
- func (CommandDeduplicationPeriodSupport_DurationSupport) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandDeduplicationPeriodSupport_DurationSupport) Number() protoreflect.EnumNumber
- func (x CommandDeduplicationPeriodSupport_DurationSupport) String() string
- func (CommandDeduplicationPeriodSupport_DurationSupport) Type() protoreflect.EnumType
- type CommandDeduplicationPeriodSupport_OffsetSupport
- func (CommandDeduplicationPeriodSupport_OffsetSupport) Descriptor() protoreflect.EnumDescriptor
- func (x CommandDeduplicationPeriodSupport_OffsetSupport) Enum() *CommandDeduplicationPeriodSupport_OffsetSupport
- func (CommandDeduplicationPeriodSupport_OffsetSupport) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandDeduplicationPeriodSupport_OffsetSupport) Number() protoreflect.EnumNumber
- func (x CommandDeduplicationPeriodSupport_OffsetSupport) String() string
- func (CommandDeduplicationPeriodSupport_OffsetSupport) Type() protoreflect.EnumType
- type CommandDeduplicationType
- func (CommandDeduplicationType) Descriptor() protoreflect.EnumDescriptor
- func (x CommandDeduplicationType) Enum() *CommandDeduplicationType
- func (CommandDeduplicationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommandDeduplicationType) Number() protoreflect.EnumNumber
- func (x CommandDeduplicationType) String() string
- func (CommandDeduplicationType) Type() protoreflect.EnumType
- type CommandServiceClient
- type CommandServiceServer
- type CommandSubmissionServiceClient
- type CommandSubmissionServiceServer
- type Command_Create
- type Command_CreateAndExercise
- type Command_Exercise
- type Command_ExerciseByKey
- type Commands
- func (*Commands) Descriptor() ([]byte, []int)deprecated
- func (x *Commands) GetActAs() []string
- func (x *Commands) GetApplicationId() string
- func (x *Commands) GetCommandId() string
- func (x *Commands) GetCommands() []*Command
- func (x *Commands) GetDeduplicationDuration() *durationpb.Duration
- func (x *Commands) GetDeduplicationOffset() string
- func (m *Commands) GetDeduplicationPeriod() isCommands_DeduplicationPeriod
- func (x *Commands) GetDeduplicationTime() *durationpb.Durationdeprecated
- func (x *Commands) GetLedgerId() string
- func (x *Commands) GetMinLedgerTimeAbs() *timestamppb.Timestamp
- func (x *Commands) GetMinLedgerTimeRel() *durationpb.Duration
- func (x *Commands) GetParty() string
- func (x *Commands) GetReadAs() []string
- func (x *Commands) GetSubmissionId() string
- func (x *Commands) GetWorkflowId() string
- func (*Commands) ProtoMessage()
- func (x *Commands) ProtoReflect() protoreflect.Message
- func (x *Commands) Reset()
- func (x *Commands) String() string
- type Commands_DeduplicationDuration
- type Commands_DeduplicationOffset
- type Commands_DeduplicationTime
- type Completion
- func (*Completion) Descriptor() ([]byte, []int)deprecated
- func (x *Completion) GetActAs() []string
- func (x *Completion) GetApplicationId() string
- func (x *Completion) GetCommandId() string
- func (x *Completion) GetDeduplicationDuration() *durationpb.Duration
- func (x *Completion) GetDeduplicationOffset() string
- func (m *Completion) GetDeduplicationPeriod() isCompletion_DeduplicationPeriod
- func (x *Completion) GetStatus() *status.Status
- func (x *Completion) GetSubmissionId() string
- func (x *Completion) GetTransactionId() string
- func (*Completion) ProtoMessage()
- func (x *Completion) ProtoReflect() protoreflect.Message
- func (x *Completion) Reset()
- func (x *Completion) String() string
- type CompletionEndRequest
- func (*CompletionEndRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionEndRequest) GetLedgerId() string
- func (*CompletionEndRequest) ProtoMessage()
- func (x *CompletionEndRequest) ProtoReflect() protoreflect.Message
- func (x *CompletionEndRequest) Reset()
- func (x *CompletionEndRequest) String() string
- type CompletionEndResponse
- func (*CompletionEndResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionEndResponse) GetOffset() *LedgerOffset
- func (*CompletionEndResponse) ProtoMessage()
- func (x *CompletionEndResponse) ProtoReflect() protoreflect.Message
- func (x *CompletionEndResponse) Reset()
- func (x *CompletionEndResponse) String() string
- type CompletionStreamRequest
- func (*CompletionStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionStreamRequest) GetApplicationId() string
- func (x *CompletionStreamRequest) GetLedgerId() string
- func (x *CompletionStreamRequest) GetOffset() *LedgerOffset
- func (x *CompletionStreamRequest) GetParties() []string
- func (*CompletionStreamRequest) ProtoMessage()
- func (x *CompletionStreamRequest) ProtoReflect() protoreflect.Message
- func (x *CompletionStreamRequest) Reset()
- func (x *CompletionStreamRequest) String() string
- type CompletionStreamResponse
- func (*CompletionStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionStreamResponse) GetCheckpoint() *Checkpoint
- func (x *CompletionStreamResponse) GetCompletions() []*Completion
- func (*CompletionStreamResponse) ProtoMessage()
- func (x *CompletionStreamResponse) ProtoReflect() protoreflect.Message
- func (x *CompletionStreamResponse) Reset()
- func (x *CompletionStreamResponse) String() string
- type Completion_DeduplicationDuration
- type Completion_DeduplicationOffset
- type CreateAndExerciseCommand
- func (*CreateAndExerciseCommand) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAndExerciseCommand) GetChoice() string
- func (x *CreateAndExerciseCommand) GetChoiceArgument() *Value
- func (x *CreateAndExerciseCommand) GetCreateArguments() *Record
- func (x *CreateAndExerciseCommand) GetTemplateId() *Identifier
- func (*CreateAndExerciseCommand) ProtoMessage()
- func (x *CreateAndExerciseCommand) ProtoReflect() protoreflect.Message
- func (x *CreateAndExerciseCommand) Reset()
- func (x *CreateAndExerciseCommand) String() string
- type CreateCommand
- func (*CreateCommand) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCommand) GetCreateArguments() *Record
- func (x *CreateCommand) GetTemplateId() *Identifier
- func (*CreateCommand) ProtoMessage()
- func (x *CreateCommand) ProtoReflect() protoreflect.Message
- func (x *CreateCommand) Reset()
- func (x *CreateCommand) String() string
- type CreatedEvent
- func (*CreatedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *CreatedEvent) GetAgreementText() *wrapperspb.StringValue
- func (x *CreatedEvent) GetContractId() string
- func (x *CreatedEvent) GetContractKey() *Value
- func (x *CreatedEvent) GetCreateArguments() *Record
- func (x *CreatedEvent) GetEventId() string
- func (x *CreatedEvent) GetObservers() []string
- func (x *CreatedEvent) GetSignatories() []string
- func (x *CreatedEvent) GetTemplateId() *Identifier
- func (x *CreatedEvent) GetWitnessParties() []string
- func (*CreatedEvent) ProtoMessage()
- func (x *CreatedEvent) ProtoReflect() protoreflect.Message
- func (x *CreatedEvent) Reset()
- func (x *CreatedEvent) String() string
- type Enum
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetArchived() *ArchivedEvent
- func (x *Event) GetCreated() *CreatedEvent
- func (m *Event) GetEvent() isEvent_Event
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_Archived
- type Event_Created
- type ExerciseByKeyCommand
- func (*ExerciseByKeyCommand) Descriptor() ([]byte, []int)deprecated
- func (x *ExerciseByKeyCommand) GetChoice() string
- func (x *ExerciseByKeyCommand) GetChoiceArgument() *Value
- func (x *ExerciseByKeyCommand) GetContractKey() *Value
- func (x *ExerciseByKeyCommand) GetTemplateId() *Identifier
- func (*ExerciseByKeyCommand) ProtoMessage()
- func (x *ExerciseByKeyCommand) ProtoReflect() protoreflect.Message
- func (x *ExerciseByKeyCommand) Reset()
- func (x *ExerciseByKeyCommand) String() string
- type ExerciseCommand
- func (*ExerciseCommand) Descriptor() ([]byte, []int)deprecated
- func (x *ExerciseCommand) GetChoice() string
- func (x *ExerciseCommand) GetChoiceArgument() *Value
- func (x *ExerciseCommand) GetContractId() string
- func (x *ExerciseCommand) GetTemplateId() *Identifier
- func (*ExerciseCommand) ProtoMessage()
- func (x *ExerciseCommand) ProtoReflect() protoreflect.Message
- func (x *ExerciseCommand) Reset()
- func (x *ExerciseCommand) String() string
- type ExercisedEvent
- func (*ExercisedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ExercisedEvent) GetActingParties() []string
- func (x *ExercisedEvent) GetChildEventIds() []string
- func (x *ExercisedEvent) GetChoice() string
- func (x *ExercisedEvent) GetChoiceArgument() *Value
- func (x *ExercisedEvent) GetConsuming() bool
- func (x *ExercisedEvent) GetContractId() string
- func (x *ExercisedEvent) GetEventId() string
- func (x *ExercisedEvent) GetExerciseResult() *Value
- func (x *ExercisedEvent) GetTemplateId() *Identifier
- func (x *ExercisedEvent) GetWitnessParties() []string
- func (*ExercisedEvent) ProtoMessage()
- func (x *ExercisedEvent) ProtoReflect() protoreflect.Message
- func (x *ExercisedEvent) Reset()
- func (x *ExercisedEvent) String() string
- type ExperimentalContractIds
- func (*ExperimentalContractIds) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentalContractIds) GetV1() ExperimentalContractIds_ContractIdV1Support
- func (*ExperimentalContractIds) ProtoMessage()
- func (x *ExperimentalContractIds) ProtoReflect() protoreflect.Message
- func (x *ExperimentalContractIds) Reset()
- func (x *ExperimentalContractIds) String() string
- type ExperimentalContractIds_ContractIdV1Support
- func (ExperimentalContractIds_ContractIdV1Support) Descriptor() protoreflect.EnumDescriptor
- func (x ExperimentalContractIds_ContractIdV1Support) Enum() *ExperimentalContractIds_ContractIdV1Support
- func (ExperimentalContractIds_ContractIdV1Support) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExperimentalContractIds_ContractIdV1Support) Number() protoreflect.EnumNumber
- func (x ExperimentalContractIds_ContractIdV1Support) String() string
- func (ExperimentalContractIds_ContractIdV1Support) Type() protoreflect.EnumType
- type ExperimentalFeatures
- func (*ExperimentalFeatures) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentalFeatures) GetCommandDeduplication() *CommandDeduplicationFeatures
- func (x *ExperimentalFeatures) GetContractIds() *ExperimentalContractIds
- func (x *ExperimentalFeatures) GetOptionalLedgerId() *ExperimentalOptionalLedgerId
- func (x *ExperimentalFeatures) GetSelfServiceErrorCodes() *ExperimentalSelfServiceErrorCodesdeprecated
- func (x *ExperimentalFeatures) GetStaticTime() *ExperimentalStaticTime
- func (*ExperimentalFeatures) ProtoMessage()
- func (x *ExperimentalFeatures) ProtoReflect() protoreflect.Message
- func (x *ExperimentalFeatures) Reset()
- func (x *ExperimentalFeatures) String() string
- type ExperimentalOptionalLedgerId
- func (*ExperimentalOptionalLedgerId) Descriptor() ([]byte, []int)deprecated
- func (*ExperimentalOptionalLedgerId) ProtoMessage()
- func (x *ExperimentalOptionalLedgerId) ProtoReflect() protoreflect.Message
- func (x *ExperimentalOptionalLedgerId) Reset()
- func (x *ExperimentalOptionalLedgerId) String() string
- type ExperimentalSelfServiceErrorCodesdeprecated
- func (*ExperimentalSelfServiceErrorCodes) Descriptor() ([]byte, []int)deprecated
- func (*ExperimentalSelfServiceErrorCodes) ProtoMessage()
- func (x *ExperimentalSelfServiceErrorCodes) ProtoReflect() protoreflect.Message
- func (x *ExperimentalSelfServiceErrorCodes) Reset()
- func (x *ExperimentalSelfServiceErrorCodes) String() string
- type ExperimentalStaticTime
- func (*ExperimentalStaticTime) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentalStaticTime) GetSupported() bool
- func (*ExperimentalStaticTime) ProtoMessage()
- func (x *ExperimentalStaticTime) ProtoReflect() protoreflect.Message
- func (x *ExperimentalStaticTime) Reset()
- func (x *ExperimentalStaticTime) String() string
- type FeaturesDescriptor
- func (*FeaturesDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *FeaturesDescriptor) GetExperimental() *ExperimentalFeatures
- func (x *FeaturesDescriptor) GetUserManagement() *UserManagementFeature
- func (*FeaturesDescriptor) ProtoMessage()
- func (x *FeaturesDescriptor) ProtoReflect() protoreflect.Message
- func (x *FeaturesDescriptor) Reset()
- func (x *FeaturesDescriptor) String() string
- type Filters
- type GenMap
- type GenMap_Entry
- func (*GenMap_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *GenMap_Entry) GetKey() *Value
- func (x *GenMap_Entry) GetValue() *Value
- func (*GenMap_Entry) ProtoMessage()
- func (x *GenMap_Entry) ProtoReflect() protoreflect.Message
- func (x *GenMap_Entry) Reset()
- func (x *GenMap_Entry) String() string
- type GetActiveContractsRequest
- func (*GetActiveContractsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActiveContractsRequest) GetFilter() *TransactionFilter
- func (x *GetActiveContractsRequest) GetLedgerId() string
- func (x *GetActiveContractsRequest) GetVerbose() bool
- func (*GetActiveContractsRequest) ProtoMessage()
- func (x *GetActiveContractsRequest) ProtoReflect() protoreflect.Message
- func (x *GetActiveContractsRequest) Reset()
- func (x *GetActiveContractsRequest) String() string
- type GetActiveContractsResponse
- func (*GetActiveContractsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActiveContractsResponse) GetActiveContracts() []*CreatedEvent
- func (x *GetActiveContractsResponse) GetOffset() string
- func (x *GetActiveContractsResponse) GetWorkflowId() string
- func (*GetActiveContractsResponse) ProtoMessage()
- func (x *GetActiveContractsResponse) ProtoReflect() protoreflect.Message
- func (x *GetActiveContractsResponse) Reset()
- func (x *GetActiveContractsResponse) String() string
- type GetFlatTransactionResponse
- func (*GetFlatTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFlatTransactionResponse) GetTransaction() *Transaction
- func (*GetFlatTransactionResponse) ProtoMessage()
- func (x *GetFlatTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetFlatTransactionResponse) Reset()
- func (x *GetFlatTransactionResponse) String() string
- type GetLedgerApiVersionRequest
- func (*GetLedgerApiVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerApiVersionRequest) GetLedgerId() string
- func (*GetLedgerApiVersionRequest) ProtoMessage()
- func (x *GetLedgerApiVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetLedgerApiVersionRequest) Reset()
- func (x *GetLedgerApiVersionRequest) String() string
- type GetLedgerApiVersionResponse
- func (*GetLedgerApiVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerApiVersionResponse) GetFeatures() *FeaturesDescriptor
- func (x *GetLedgerApiVersionResponse) GetVersion() string
- func (*GetLedgerApiVersionResponse) ProtoMessage()
- func (x *GetLedgerApiVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetLedgerApiVersionResponse) Reset()
- func (x *GetLedgerApiVersionResponse) String() string
- type GetLedgerConfigurationRequest
- func (*GetLedgerConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerConfigurationRequest) GetLedgerId() string
- func (*GetLedgerConfigurationRequest) ProtoMessage()
- func (x *GetLedgerConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *GetLedgerConfigurationRequest) Reset()
- func (x *GetLedgerConfigurationRequest) String() string
- type GetLedgerConfigurationResponse
- func (*GetLedgerConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerConfigurationResponse) GetLedgerConfiguration() *LedgerConfiguration
- func (*GetLedgerConfigurationResponse) ProtoMessage()
- func (x *GetLedgerConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *GetLedgerConfigurationResponse) Reset()
- func (x *GetLedgerConfigurationResponse) String() string
- type GetLedgerEndRequest
- func (*GetLedgerEndRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerEndRequest) GetLedgerId() string
- func (*GetLedgerEndRequest) ProtoMessage()
- func (x *GetLedgerEndRequest) ProtoReflect() protoreflect.Message
- func (x *GetLedgerEndRequest) Reset()
- func (x *GetLedgerEndRequest) String() string
- type GetLedgerEndResponse
- func (*GetLedgerEndResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerEndResponse) GetOffset() *LedgerOffset
- func (*GetLedgerEndResponse) ProtoMessage()
- func (x *GetLedgerEndResponse) ProtoReflect() protoreflect.Message
- func (x *GetLedgerEndResponse) Reset()
- func (x *GetLedgerEndResponse) String() string
- type GetLedgerIdentityRequestdeprecated
- type GetLedgerIdentityResponsedeprecated
- func (*GetLedgerIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerIdentityResponse) GetLedgerId() stringdeprecated
- func (*GetLedgerIdentityResponse) ProtoMessage()
- func (x *GetLedgerIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *GetLedgerIdentityResponse) Reset()
- func (x *GetLedgerIdentityResponse) String() string
- type GetPackageRequest
- func (*GetPackageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPackageRequest) GetLedgerId() string
- func (x *GetPackageRequest) GetPackageId() string
- func (*GetPackageRequest) ProtoMessage()
- func (x *GetPackageRequest) ProtoReflect() protoreflect.Message
- func (x *GetPackageRequest) Reset()
- func (x *GetPackageRequest) String() string
- type GetPackageResponse
- func (*GetPackageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPackageResponse) GetArchivePayload() []byte
- func (x *GetPackageResponse) GetHash() string
- func (x *GetPackageResponse) GetHashFunction() HashFunction
- func (*GetPackageResponse) ProtoMessage()
- func (x *GetPackageResponse) ProtoReflect() protoreflect.Message
- func (x *GetPackageResponse) Reset()
- func (x *GetPackageResponse) String() string
- type GetPackageStatusRequest
- func (*GetPackageStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPackageStatusRequest) GetLedgerId() string
- func (x *GetPackageStatusRequest) GetPackageId() string
- func (*GetPackageStatusRequest) ProtoMessage()
- func (x *GetPackageStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetPackageStatusRequest) Reset()
- func (x *GetPackageStatusRequest) String() string
- type GetPackageStatusResponse
- func (*GetPackageStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPackageStatusResponse) GetPackageStatus() PackageStatus
- func (*GetPackageStatusResponse) ProtoMessage()
- func (x *GetPackageStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetPackageStatusResponse) Reset()
- func (x *GetPackageStatusResponse) String() string
- type GetTransactionByEventIdRequest
- func (*GetTransactionByEventIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionByEventIdRequest) GetEventId() string
- func (x *GetTransactionByEventIdRequest) GetLedgerId() string
- func (x *GetTransactionByEventIdRequest) GetRequestingParties() []string
- func (*GetTransactionByEventIdRequest) ProtoMessage()
- func (x *GetTransactionByEventIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionByEventIdRequest) Reset()
- func (x *GetTransactionByEventIdRequest) String() string
- type GetTransactionByIdRequest
- func (*GetTransactionByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionByIdRequest) GetLedgerId() string
- func (x *GetTransactionByIdRequest) GetRequestingParties() []string
- func (x *GetTransactionByIdRequest) GetTransactionId() string
- func (*GetTransactionByIdRequest) ProtoMessage()
- func (x *GetTransactionByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionByIdRequest) Reset()
- func (x *GetTransactionByIdRequest) String() string
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionResponse) GetTransaction() *TransactionTree
- func (*GetTransactionResponse) ProtoMessage()
- func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionResponse) Reset()
- func (x *GetTransactionResponse) String() string
- type GetTransactionTreesResponse
- func (*GetTransactionTreesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionTreesResponse) GetTransactions() []*TransactionTree
- func (*GetTransactionTreesResponse) ProtoMessage()
- func (x *GetTransactionTreesResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionTreesResponse) Reset()
- func (x *GetTransactionTreesResponse) String() string
- type GetTransactionsRequest
- func (*GetTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionsRequest) GetBegin() *LedgerOffset
- func (x *GetTransactionsRequest) GetEnd() *LedgerOffset
- func (x *GetTransactionsRequest) GetFilter() *TransactionFilter
- func (x *GetTransactionsRequest) GetLedgerId() string
- func (x *GetTransactionsRequest) GetVerbose() bool
- func (*GetTransactionsRequest) ProtoMessage()
- func (x *GetTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionsRequest) Reset()
- func (x *GetTransactionsRequest) String() string
- type GetTransactionsResponse
- func (*GetTransactionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionsResponse) GetTransactions() []*Transaction
- func (*GetTransactionsResponse) ProtoMessage()
- func (x *GetTransactionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionsResponse) Reset()
- func (x *GetTransactionsResponse) String() string
- type HashFunction
- func (HashFunction) Descriptor() protoreflect.EnumDescriptor
- func (x HashFunction) Enum() *HashFunction
- func (HashFunction) EnumDescriptor() ([]byte, []int)deprecated
- func (x HashFunction) Number() protoreflect.EnumNumber
- func (x HashFunction) String() string
- func (HashFunction) Type() protoreflect.EnumType
- type Identifier
- func (*Identifier) Descriptor() ([]byte, []int)deprecated
- func (x *Identifier) GetEntityName() string
- func (x *Identifier) GetModuleName() string
- func (x *Identifier) GetPackageId() string
- func (*Identifier) ProtoMessage()
- func (x *Identifier) ProtoReflect() protoreflect.Message
- func (x *Identifier) Reset()
- func (x *Identifier) String() string
- type InclusiveFilters
- func (*InclusiveFilters) Descriptor() ([]byte, []int)deprecated
- func (x *InclusiveFilters) GetTemplateIds() []*Identifier
- func (*InclusiveFilters) ProtoMessage()
- func (x *InclusiveFilters) ProtoReflect() protoreflect.Message
- func (x *InclusiveFilters) Reset()
- func (x *InclusiveFilters) String() string
- type LedgerConfiguration
- func (*LedgerConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *LedgerConfiguration) GetMaxDeduplicationDuration() *durationpb.Duration
- func (*LedgerConfiguration) ProtoMessage()
- func (x *LedgerConfiguration) ProtoReflect() protoreflect.Message
- func (x *LedgerConfiguration) Reset()
- func (x *LedgerConfiguration) String() string
- type LedgerConfigurationServiceClient
- type LedgerConfigurationServiceServer
- type LedgerConfigurationService_GetLedgerConfigurationClient
- type LedgerConfigurationService_GetLedgerConfigurationServer
- type LedgerIdentityServiceClientdeprecated
- type LedgerIdentityServiceServerdeprecated
- type LedgerOffset
- func (*LedgerOffset) Descriptor() ([]byte, []int)deprecated
- func (x *LedgerOffset) GetAbsolute() string
- func (x *LedgerOffset) GetBoundary() LedgerOffset_LedgerBoundary
- func (m *LedgerOffset) GetValue() isLedgerOffset_Value
- func (*LedgerOffset) ProtoMessage()
- func (x *LedgerOffset) ProtoReflect() protoreflect.Message
- func (x *LedgerOffset) Reset()
- func (x *LedgerOffset) String() string
- type LedgerOffset_Absolute
- type LedgerOffset_Boundary
- type LedgerOffset_LedgerBoundary
- func (LedgerOffset_LedgerBoundary) Descriptor() protoreflect.EnumDescriptor
- func (x LedgerOffset_LedgerBoundary) Enum() *LedgerOffset_LedgerBoundary
- func (LedgerOffset_LedgerBoundary) EnumDescriptor() ([]byte, []int)deprecated
- func (x LedgerOffset_LedgerBoundary) Number() protoreflect.EnumNumber
- func (x LedgerOffset_LedgerBoundary) String() string
- func (LedgerOffset_LedgerBoundary) Type() protoreflect.EnumType
- type List
- type ListPackagesRequest
- func (*ListPackagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPackagesRequest) GetLedgerId() string
- func (*ListPackagesRequest) ProtoMessage()
- func (x *ListPackagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPackagesRequest) Reset()
- func (x *ListPackagesRequest) String() string
- type ListPackagesResponse
- func (*ListPackagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPackagesResponse) GetPackageIds() []string
- func (*ListPackagesResponse) ProtoMessage()
- func (x *ListPackagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPackagesResponse) Reset()
- func (x *ListPackagesResponse) String() string
- type Map
- type Map_Entry
- type Optional
- type PackageServiceClient
- type PackageServiceServer
- type PackageStatus
- func (PackageStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PackageStatus) Enum() *PackageStatus
- func (PackageStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PackageStatus) Number() protoreflect.EnumNumber
- func (x PackageStatus) String() string
- func (PackageStatus) Type() protoreflect.EnumType
- type Record
- type RecordField
- type SubmitAndWaitForTransactionIdResponse
- func (*SubmitAndWaitForTransactionIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitAndWaitForTransactionIdResponse) GetCompletionOffset() string
- func (x *SubmitAndWaitForTransactionIdResponse) GetTransactionId() string
- func (*SubmitAndWaitForTransactionIdResponse) ProtoMessage()
- func (x *SubmitAndWaitForTransactionIdResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitAndWaitForTransactionIdResponse) Reset()
- func (x *SubmitAndWaitForTransactionIdResponse) String() string
- type SubmitAndWaitForTransactionResponse
- func (*SubmitAndWaitForTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitAndWaitForTransactionResponse) GetCompletionOffset() string
- func (x *SubmitAndWaitForTransactionResponse) GetTransaction() *Transaction
- func (*SubmitAndWaitForTransactionResponse) ProtoMessage()
- func (x *SubmitAndWaitForTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitAndWaitForTransactionResponse) Reset()
- func (x *SubmitAndWaitForTransactionResponse) String() string
- type SubmitAndWaitForTransactionTreeResponse
- func (*SubmitAndWaitForTransactionTreeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitAndWaitForTransactionTreeResponse) GetCompletionOffset() string
- func (x *SubmitAndWaitForTransactionTreeResponse) GetTransaction() *TransactionTree
- func (*SubmitAndWaitForTransactionTreeResponse) ProtoMessage()
- func (x *SubmitAndWaitForTransactionTreeResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitAndWaitForTransactionTreeResponse) Reset()
- func (x *SubmitAndWaitForTransactionTreeResponse) String() string
- type SubmitAndWaitRequest
- func (*SubmitAndWaitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitAndWaitRequest) GetCommands() *Commands
- func (*SubmitAndWaitRequest) ProtoMessage()
- func (x *SubmitAndWaitRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitAndWaitRequest) Reset()
- func (x *SubmitAndWaitRequest) String() string
- type SubmitRequest
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetCommandId() string
- func (x *Transaction) GetEffectiveAt() *timestamppb.Timestamp
- func (x *Transaction) GetEvents() []*Event
- func (x *Transaction) GetOffset() string
- func (x *Transaction) GetTransactionId() string
- func (x *Transaction) GetWorkflowId() string
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionFilter
- func (*TransactionFilter) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionFilter) GetFiltersByParty() map[string]*Filters
- func (*TransactionFilter) ProtoMessage()
- func (x *TransactionFilter) ProtoReflect() protoreflect.Message
- func (x *TransactionFilter) Reset()
- func (x *TransactionFilter) String() string
- type TransactionServiceClient
- type TransactionServiceServer
- type TransactionService_GetTransactionTreesClient
- type TransactionService_GetTransactionTreesServer
- type TransactionService_GetTransactionsClient
- type TransactionService_GetTransactionsServer
- type TransactionTree
- func (*TransactionTree) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionTree) GetCommandId() string
- func (x *TransactionTree) GetEffectiveAt() *timestamppb.Timestamp
- func (x *TransactionTree) GetEventsById() map[string]*TreeEvent
- func (x *TransactionTree) GetOffset() string
- func (x *TransactionTree) GetRootEventIds() []string
- func (x *TransactionTree) GetTransactionId() string
- func (x *TransactionTree) GetWorkflowId() string
- func (*TransactionTree) ProtoMessage()
- func (x *TransactionTree) ProtoReflect() protoreflect.Message
- func (x *TransactionTree) Reset()
- func (x *TransactionTree) String() string
- type TreeEvent
- func (*TreeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TreeEvent) GetCreated() *CreatedEvent
- func (x *TreeEvent) GetExercised() *ExercisedEvent
- func (m *TreeEvent) GetKind() isTreeEvent_Kind
- func (*TreeEvent) ProtoMessage()
- func (x *TreeEvent) ProtoReflect() protoreflect.Message
- func (x *TreeEvent) Reset()
- func (x *TreeEvent) String() string
- type TreeEvent_Created
- type TreeEvent_Exercised
- type UnimplementedActiveContractsServiceServer
- type UnimplementedCommandCompletionServiceServer
- type UnimplementedCommandServiceServer
- func (UnimplementedCommandServiceServer) SubmitAndWait(context.Context, *SubmitAndWaitRequest) (*emptypb.Empty, error)
- func (UnimplementedCommandServiceServer) SubmitAndWaitForTransaction(context.Context, *SubmitAndWaitRequest) (*SubmitAndWaitForTransactionResponse, error)
- func (UnimplementedCommandServiceServer) SubmitAndWaitForTransactionId(context.Context, *SubmitAndWaitRequest) (*SubmitAndWaitForTransactionIdResponse, error)
- func (UnimplementedCommandServiceServer) SubmitAndWaitForTransactionTree(context.Context, *SubmitAndWaitRequest) (*SubmitAndWaitForTransactionTreeResponse, error)
- type UnimplementedCommandSubmissionServiceServer
- type UnimplementedLedgerConfigurationServiceServer
- type UnimplementedLedgerIdentityServiceServer
- type UnimplementedPackageServiceServer
- func (UnimplementedPackageServiceServer) GetPackage(context.Context, *GetPackageRequest) (*GetPackageResponse, error)
- func (UnimplementedPackageServiceServer) GetPackageStatus(context.Context, *GetPackageStatusRequest) (*GetPackageStatusResponse, error)
- func (UnimplementedPackageServiceServer) ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error)
- type UnimplementedTransactionServiceServer
- func (UnimplementedTransactionServiceServer) GetFlatTransactionByEventId(context.Context, *GetTransactionByEventIdRequest) (*GetFlatTransactionResponse, error)
- func (UnimplementedTransactionServiceServer) GetFlatTransactionById(context.Context, *GetTransactionByIdRequest) (*GetFlatTransactionResponse, error)
- func (UnimplementedTransactionServiceServer) GetLedgerEnd(context.Context, *GetLedgerEndRequest) (*GetLedgerEndResponse, error)
- func (UnimplementedTransactionServiceServer) GetTransactionByEventId(context.Context, *GetTransactionByEventIdRequest) (*GetTransactionResponse, error)
- func (UnimplementedTransactionServiceServer) GetTransactionById(context.Context, *GetTransactionByIdRequest) (*GetTransactionResponse, error)
- func (UnimplementedTransactionServiceServer) GetTransactionTrees(*GetTransactionsRequest, TransactionService_GetTransactionTreesServer) error
- func (UnimplementedTransactionServiceServer) GetTransactions(*GetTransactionsRequest, TransactionService_GetTransactionsServer) error
- type UnimplementedVersionServiceServer
- type UnsafeActiveContractsServiceServer
- type UnsafeCommandCompletionServiceServer
- type UnsafeCommandServiceServer
- type UnsafeCommandSubmissionServiceServer
- type UnsafeLedgerConfigurationServiceServer
- type UnsafeLedgerIdentityServiceServer
- type UnsafePackageServiceServer
- type UnsafeTransactionServiceServer
- type UnsafeVersionServiceServer
- type UserManagementFeature
- func (*UserManagementFeature) Descriptor() ([]byte, []int)deprecated
- func (x *UserManagementFeature) GetMaxRightsPerUser() int32
- func (x *UserManagementFeature) GetMaxUsersPageSize() int32
- func (x *UserManagementFeature) GetSupported() bool
- func (*UserManagementFeature) ProtoMessage()
- func (x *UserManagementFeature) ProtoReflect() protoreflect.Message
- func (x *UserManagementFeature) Reset()
- func (x *UserManagementFeature) String() string
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBool() bool
- func (x *Value) GetContractId() string
- func (x *Value) GetDate() int32
- func (x *Value) GetEnum() *Enum
- func (x *Value) GetGenMap() *GenMap
- func (x *Value) GetInt64() int64
- func (x *Value) GetList() *List
- func (x *Value) GetMap() *Map
- func (x *Value) GetNumeric() string
- func (x *Value) GetOptional() *Optional
- func (x *Value) GetParty() string
- func (x *Value) GetRecord() *Record
- func (m *Value) GetSum() isValue_Sum
- func (x *Value) GetText() string
- func (x *Value) GetTimestamp() int64
- func (x *Value) GetUnit() *emptypb.Empty
- func (x *Value) GetVariant() *Variant
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_Bool
- type Value_ContractId
- type Value_Date
- type Value_Enum
- type Value_GenMap
- type Value_Int64
- type Value_List
- type Value_Map
- type Value_Numeric
- type Value_Optional
- type Value_Party
- type Value_Record
- type Value_Text
- type Value_Timestamp
- type Value_Unit
- type Value_Variant
- type Variant
- func (*Variant) Descriptor() ([]byte, []int)deprecated
- func (x *Variant) GetConstructor() string
- func (x *Variant) GetValue() *Value
- func (x *Variant) GetVariantId() *Identifier
- func (*Variant) ProtoMessage()
- func (x *Variant) ProtoReflect() protoreflect.Message
- func (x *Variant) Reset()
- func (x *Variant) String() string
- type VersionServiceClient
- type VersionServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( CommandDeduplicationType_name = map[int32]string{ 0: "ASYNC_ONLY", 1: "ASYNC_AND_CONCURRENT_SYNC", } CommandDeduplicationType_value = map[string]int32{ "ASYNC_ONLY": 0, "ASYNC_AND_CONCURRENT_SYNC": 1, } )
Enum value maps for CommandDeduplicationType.
var ( CommandDeduplicationPeriodSupport_OffsetSupport_name = map[int32]string{ 0: "OFFSET_NOT_SUPPORTED", 1: "OFFSET_NATIVE_SUPPORT", 2: "OFFSET_CONVERT_TO_DURATION", } CommandDeduplicationPeriodSupport_OffsetSupport_value = map[string]int32{ "OFFSET_NOT_SUPPORTED": 0, "OFFSET_NATIVE_SUPPORT": 1, "OFFSET_CONVERT_TO_DURATION": 2, } )
Enum value maps for CommandDeduplicationPeriodSupport_OffsetSupport.
var ( CommandDeduplicationPeriodSupport_DurationSupport_name = map[int32]string{ 0: "DURATION_NATIVE_SUPPORT", 1: "DURATION_CONVERT_TO_OFFSET", } CommandDeduplicationPeriodSupport_DurationSupport_value = map[string]int32{ "DURATION_NATIVE_SUPPORT": 0, "DURATION_CONVERT_TO_OFFSET": 1, } )
Enum value maps for CommandDeduplicationPeriodSupport_DurationSupport.
var ( ExperimentalContractIds_ContractIdV1Support_name = map[int32]string{ 0: "SUFFIXED", 1: "NON_SUFFIXED", } ExperimentalContractIds_ContractIdV1Support_value = map[string]int32{ "SUFFIXED": 0, "NON_SUFFIXED": 1, } )
Enum value maps for ExperimentalContractIds_ContractIdV1Support.
var ( LedgerOffset_LedgerBoundary_name = map[int32]string{ 0: "LEDGER_BEGIN", 1: "LEDGER_END", } LedgerOffset_LedgerBoundary_value = map[string]int32{ "LEDGER_BEGIN": 0, "LEDGER_END": 1, } )
Enum value maps for LedgerOffset_LedgerBoundary.
var ( PackageStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "REGISTERED", } PackageStatus_value = map[string]int32{ "UNKNOWN": 0, "REGISTERED": 1, } )
Enum value maps for PackageStatus.
var ( HashFunction_name = map[int32]string{ 0: "SHA256", } HashFunction_value = map[string]int32{ "SHA256": 0, } )
Enum value maps for HashFunction.
var ActiveContractsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v1.ActiveContractsService", HandlerType: (*ActiveContractsServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "GetActiveContracts", Handler: _ActiveContractsService_GetActiveContracts_Handler, ServerStreams: true, }, }, Metadata: "com/daml/ledger/api/v1/active_contracts_service.proto", }
ActiveContractsService_ServiceDesc is the grpc.ServiceDesc for ActiveContractsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CommandCompletionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v1.CommandCompletionService", HandlerType: (*CommandCompletionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CompletionEnd", Handler: _CommandCompletionService_CompletionEnd_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "CompletionStream", Handler: _CommandCompletionService_CompletionStream_Handler, ServerStreams: true, }, }, Metadata: "com/daml/ledger/api/v1/command_completion_service.proto", }
CommandCompletionService_ServiceDesc is the grpc.ServiceDesc for CommandCompletionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CommandService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v1.CommandService", HandlerType: (*CommandServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SubmitAndWait", Handler: _CommandService_SubmitAndWait_Handler, }, { MethodName: "SubmitAndWaitForTransactionId", Handler: _CommandService_SubmitAndWaitForTransactionId_Handler, }, { MethodName: "SubmitAndWaitForTransaction", Handler: _CommandService_SubmitAndWaitForTransaction_Handler, }, { MethodName: "SubmitAndWaitForTransactionTree", Handler: _CommandService_SubmitAndWaitForTransactionTree_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v1/command_service.proto", }
CommandService_ServiceDesc is the grpc.ServiceDesc for CommandService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CommandSubmissionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v1.CommandSubmissionService", HandlerType: (*CommandSubmissionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Submit", Handler: _CommandSubmissionService_Submit_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v1/command_submission_service.proto", }
CommandSubmissionService_ServiceDesc is the grpc.ServiceDesc for CommandSubmissionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_com_daml_ledger_api_v1_active_contracts_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_command_completion_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_command_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_command_submission_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_commands_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_completion_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_event_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_experimental_features_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_ledger_configuration_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_ledger_identity_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_ledger_offset_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_package_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_transaction_filter_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_transaction_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_transaction_service_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_value_proto protoreflect.FileDescriptor
var File_com_daml_ledger_api_v1_version_service_proto protoreflect.FileDescriptor
var LedgerConfigurationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v1.LedgerConfigurationService", HandlerType: (*LedgerConfigurationServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "GetLedgerConfiguration", Handler: _LedgerConfigurationService_GetLedgerConfiguration_Handler, ServerStreams: true, }, }, Metadata: "com/daml/ledger/api/v1/ledger_configuration_service.proto", }
LedgerConfigurationService_ServiceDesc is the grpc.ServiceDesc for LedgerConfigurationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var LedgerIdentityService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v1.LedgerIdentityService", HandlerType: (*LedgerIdentityServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLedgerIdentity", Handler: _LedgerIdentityService_GetLedgerIdentity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v1/ledger_identity_service.proto", }
LedgerIdentityService_ServiceDesc is the grpc.ServiceDesc for LedgerIdentityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PackageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v1.PackageService", HandlerType: (*PackageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListPackages", Handler: _PackageService_ListPackages_Handler, }, { MethodName: "GetPackage", Handler: _PackageService_GetPackage_Handler, }, { MethodName: "GetPackageStatus", Handler: _PackageService_GetPackageStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v1/package_service.proto", }
PackageService_ServiceDesc is the grpc.ServiceDesc for PackageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TransactionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v1.TransactionService", HandlerType: (*TransactionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTransactionByEventId", Handler: _TransactionService_GetTransactionByEventId_Handler, }, { MethodName: "GetTransactionById", Handler: _TransactionService_GetTransactionById_Handler, }, { MethodName: "GetFlatTransactionByEventId", Handler: _TransactionService_GetFlatTransactionByEventId_Handler, }, { MethodName: "GetFlatTransactionById", Handler: _TransactionService_GetFlatTransactionById_Handler, }, { MethodName: "GetLedgerEnd", Handler: _TransactionService_GetLedgerEnd_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetTransactions", Handler: _TransactionService_GetTransactions_Handler, ServerStreams: true, }, { StreamName: "GetTransactionTrees", Handler: _TransactionService_GetTransactionTrees_Handler, ServerStreams: true, }, }, Metadata: "com/daml/ledger/api/v1/transaction_service.proto", }
TransactionService_ServiceDesc is the grpc.ServiceDesc for TransactionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VersionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.daml.ledger.api.v1.VersionService", HandlerType: (*VersionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLedgerApiVersion", Handler: _VersionService_GetLedgerApiVersion_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/daml/ledger/api/v1/version_service.proto", }
VersionService_ServiceDesc is the grpc.ServiceDesc for VersionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterActiveContractsServiceServer ¶
func RegisterActiveContractsServiceServer(s grpc.ServiceRegistrar, srv ActiveContractsServiceServer)
func RegisterCommandCompletionServiceServer ¶
func RegisterCommandCompletionServiceServer(s grpc.ServiceRegistrar, srv CommandCompletionServiceServer)
func RegisterCommandServiceServer ¶
func RegisterCommandServiceServer(s grpc.ServiceRegistrar, srv CommandServiceServer)
func RegisterCommandSubmissionServiceServer ¶
func RegisterCommandSubmissionServiceServer(s grpc.ServiceRegistrar, srv CommandSubmissionServiceServer)
func RegisterLedgerConfigurationServiceServer ¶
func RegisterLedgerConfigurationServiceServer(s grpc.ServiceRegistrar, srv LedgerConfigurationServiceServer)
func RegisterLedgerIdentityServiceServer
deprecated
func RegisterLedgerIdentityServiceServer(s grpc.ServiceRegistrar, srv LedgerIdentityServiceServer)
Deprecated: Do not use.
func RegisterPackageServiceServer ¶
func RegisterPackageServiceServer(s grpc.ServiceRegistrar, srv PackageServiceServer)
func RegisterTransactionServiceServer ¶
func RegisterTransactionServiceServer(s grpc.ServiceRegistrar, srv TransactionServiceServer)
func RegisterVersionServiceServer ¶
func RegisterVersionServiceServer(s grpc.ServiceRegistrar, srv VersionServiceServer)
Types ¶
type ActiveContractsServiceClient ¶
type ActiveContractsServiceClient interface { // Returns a stream of the latest snapshot of active contracts. // If there are no active contracts, the stream returns a single GetActiveContractsResponse message with the offset at which the snapshot has been taken. // Clients SHOULD use the offset in the last GetActiveContractsResponse message to continue streaming transactions with the transaction service. // Clients SHOULD NOT assume that the set of active contracts they receive reflects the state at the ledger end. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (filters by party cannot be empty) GetActiveContracts(ctx context.Context, in *GetActiveContractsRequest, opts ...grpc.CallOption) (ActiveContractsService_GetActiveContractsClient, error) }
ActiveContractsServiceClient is the client API for ActiveContractsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewActiveContractsServiceClient ¶
func NewActiveContractsServiceClient(cc grpc.ClientConnInterface) ActiveContractsServiceClient
type ActiveContractsServiceServer ¶
type ActiveContractsServiceServer interface { // Returns a stream of the latest snapshot of active contracts. // If there are no active contracts, the stream returns a single GetActiveContractsResponse message with the offset at which the snapshot has been taken. // Clients SHOULD use the offset in the last GetActiveContractsResponse message to continue streaming transactions with the transaction service. // Clients SHOULD NOT assume that the set of active contracts they receive reflects the state at the ledger end. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (filters by party cannot be empty) GetActiveContracts(*GetActiveContractsRequest, ActiveContractsService_GetActiveContractsServer) error // contains filtered or unexported methods }
ActiveContractsServiceServer is the server API for ActiveContractsService service. All implementations must embed UnimplementedActiveContractsServiceServer for forward compatibility
type ActiveContractsService_GetActiveContractsClient ¶
type ActiveContractsService_GetActiveContractsClient interface { Recv() (*GetActiveContractsResponse, error) grpc.ClientStream }
type ActiveContractsService_GetActiveContractsServer ¶
type ActiveContractsService_GetActiveContractsServer interface { Send(*GetActiveContractsResponse) error grpc.ServerStream }
type ArchivedEvent ¶
type ArchivedEvent struct { // The ID of this particular event. // Must be a valid LedgerString (as described in “value.proto“). // Required EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // The ID of the archived contract. // Must be a valid LedgerString (as described in “value.proto“). // Required ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // The template of the archived contract. // Required TemplateId *Identifier `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // The parties that are notified of this event. For “ArchivedEvent“s, // these are the intersection of the stakeholders of the contract in // question and the parties specified in the “TransactionFilter“. The // stakeholders are the union of the signatories and the observers of // the contract. // Each one of its elements must be a valid PartyIdString (as described // in “value.proto“). // Required WitnessParties []string `protobuf:"bytes,4,rep,name=witness_parties,json=witnessParties,proto3" json:"witness_parties,omitempty"` // contains filtered or unexported fields }
Records that a contract has been archived, and choices may no longer be exercised on it.
func (*ArchivedEvent) Descriptor
deprecated
func (*ArchivedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ArchivedEvent.ProtoReflect.Descriptor instead.
func (*ArchivedEvent) GetContractId ¶
func (x *ArchivedEvent) GetContractId() string
func (*ArchivedEvent) GetEventId ¶
func (x *ArchivedEvent) GetEventId() string
func (*ArchivedEvent) GetTemplateId ¶
func (x *ArchivedEvent) GetTemplateId() *Identifier
func (*ArchivedEvent) GetWitnessParties ¶
func (x *ArchivedEvent) GetWitnessParties() []string
func (*ArchivedEvent) ProtoMessage ¶
func (*ArchivedEvent) ProtoMessage()
func (*ArchivedEvent) ProtoReflect ¶
func (x *ArchivedEvent) ProtoReflect() protoreflect.Message
func (*ArchivedEvent) Reset ¶
func (x *ArchivedEvent) Reset()
func (*ArchivedEvent) String ¶
func (x *ArchivedEvent) String() string
type Checkpoint ¶
type Checkpoint struct { // All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint. // Required RecordTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"` // May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time. // Required Offset *LedgerOffset `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
Checkpoints may be used to:
* detect time out of commands. * provide an offset which can be used to restart consumption.
func (*Checkpoint) Descriptor
deprecated
func (*Checkpoint) Descriptor() ([]byte, []int)
Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead.
func (*Checkpoint) GetOffset ¶
func (x *Checkpoint) GetOffset() *LedgerOffset
func (*Checkpoint) GetRecordTime ¶
func (x *Checkpoint) GetRecordTime() *timestamppb.Timestamp
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) ProtoReflect ¶
func (x *Checkpoint) ProtoReflect() protoreflect.Message
func (*Checkpoint) Reset ¶
func (x *Checkpoint) Reset()
func (*Checkpoint) String ¶
func (x *Checkpoint) String() string
type Command ¶
type Command struct { // Types that are assignable to Command: // *Command_Create // *Command_Exercise // *Command_ExerciseByKey // *Command_CreateAndExercise Command isCommand_Command `protobuf_oneof:"command"` // contains filtered or unexported fields }
A command can either create a new contract or exercise a choice on an existing contract.
func (*Command) Descriptor
deprecated
func (*Command) GetCommand ¶
func (m *Command) GetCommand() isCommand_Command
func (*Command) GetCreate ¶
func (x *Command) GetCreate() *CreateCommand
func (*Command) GetCreateAndExercise ¶
func (x *Command) GetCreateAndExercise() *CreateAndExerciseCommand
func (*Command) GetExercise ¶
func (x *Command) GetExercise() *ExerciseCommand
func (*Command) GetExerciseByKey ¶
func (x *Command) GetExerciseByKey() *ExerciseByKeyCommand
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type CommandCompletionServiceClient ¶
type CommandCompletionServiceClient interface { // Subscribe to command completion events. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id // - “FAILED_PRECONDITION“: if the ledger has been pruned after the subscription start offset // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “OUT_OF_RANGE“: if the absolute offset is after the end of the ledger CompletionStream(ctx context.Context, in *CompletionStreamRequest, opts ...grpc.CallOption) (CommandCompletionService_CompletionStreamClient, error) // Returns the offset after the latest completion. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id CompletionEnd(ctx context.Context, in *CompletionEndRequest, opts ...grpc.CallOption) (*CompletionEndResponse, error) }
CommandCompletionServiceClient is the client API for CommandCompletionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCommandCompletionServiceClient ¶
func NewCommandCompletionServiceClient(cc grpc.ClientConnInterface) CommandCompletionServiceClient
type CommandCompletionServiceServer ¶
type CommandCompletionServiceServer interface { // Subscribe to command completion events. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id // - “FAILED_PRECONDITION“: if the ledger has been pruned after the subscription start offset // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “OUT_OF_RANGE“: if the absolute offset is after the end of the ledger CompletionStream(*CompletionStreamRequest, CommandCompletionService_CompletionStreamServer) error // Returns the offset after the latest completion. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id CompletionEnd(context.Context, *CompletionEndRequest) (*CompletionEndResponse, error) // contains filtered or unexported methods }
CommandCompletionServiceServer is the server API for CommandCompletionService service. All implementations must embed UnimplementedCommandCompletionServiceServer for forward compatibility
type CommandCompletionService_CompletionStreamClient ¶
type CommandCompletionService_CompletionStreamClient interface { Recv() (*CompletionStreamResponse, error) grpc.ClientStream }
type CommandCompletionService_CompletionStreamServer ¶
type CommandCompletionService_CompletionStreamServer interface { Send(*CompletionStreamResponse) error grpc.ServerStream }
type CommandDeduplicationFeatures ¶
type CommandDeduplicationFeatures struct { DeduplicationPeriodSupport *CommandDeduplicationPeriodSupport `` /* 141-byte string literal not displayed */ DeduplicationType CommandDeduplicationType `` /* 166-byte string literal not displayed */ // The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration. // This is also enforced for ledgers that convert deduplication periods specified as offsets to durations. MaxDeduplicationDurationEnforced bool `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
Feature descriptors for command deduplication intended to be used for adapting Ledger API tests.
func (*CommandDeduplicationFeatures) Descriptor
deprecated
func (*CommandDeduplicationFeatures) Descriptor() ([]byte, []int)
Deprecated: Use CommandDeduplicationFeatures.ProtoReflect.Descriptor instead.
func (*CommandDeduplicationFeatures) GetDeduplicationPeriodSupport ¶
func (x *CommandDeduplicationFeatures) GetDeduplicationPeriodSupport() *CommandDeduplicationPeriodSupport
func (*CommandDeduplicationFeatures) GetDeduplicationType ¶ added in v7.6.3
func (x *CommandDeduplicationFeatures) GetDeduplicationType() CommandDeduplicationType
func (*CommandDeduplicationFeatures) GetMaxDeduplicationDurationEnforced ¶ added in v7.6.3
func (x *CommandDeduplicationFeatures) GetMaxDeduplicationDurationEnforced() bool
func (*CommandDeduplicationFeatures) ProtoMessage ¶
func (*CommandDeduplicationFeatures) ProtoMessage()
func (*CommandDeduplicationFeatures) ProtoReflect ¶
func (x *CommandDeduplicationFeatures) ProtoReflect() protoreflect.Message
func (*CommandDeduplicationFeatures) Reset ¶
func (x *CommandDeduplicationFeatures) Reset()
func (*CommandDeduplicationFeatures) String ¶
func (x *CommandDeduplicationFeatures) String() string
type CommandDeduplicationPeriodSupport ¶ added in v7.6.3
type CommandDeduplicationPeriodSupport struct { OffsetSupport CommandDeduplicationPeriodSupport_OffsetSupport `` /* 177-byte string literal not displayed */ DurationSupport CommandDeduplicationPeriodSupport_DurationSupport `` /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
Feature descriptor specifying how deduplication periods can be specified and how they are handled by the participant node.
func (*CommandDeduplicationPeriodSupport) Descriptor
deprecated
added in
v7.6.3
func (*CommandDeduplicationPeriodSupport) Descriptor() ([]byte, []int)
Deprecated: Use CommandDeduplicationPeriodSupport.ProtoReflect.Descriptor instead.
func (*CommandDeduplicationPeriodSupport) GetDurationSupport ¶ added in v7.6.3
func (x *CommandDeduplicationPeriodSupport) GetDurationSupport() CommandDeduplicationPeriodSupport_DurationSupport
func (*CommandDeduplicationPeriodSupport) GetOffsetSupport ¶ added in v7.6.3
func (x *CommandDeduplicationPeriodSupport) GetOffsetSupport() CommandDeduplicationPeriodSupport_OffsetSupport
func (*CommandDeduplicationPeriodSupport) ProtoMessage ¶ added in v7.6.3
func (*CommandDeduplicationPeriodSupport) ProtoMessage()
func (*CommandDeduplicationPeriodSupport) ProtoReflect ¶ added in v7.6.3
func (x *CommandDeduplicationPeriodSupport) ProtoReflect() protoreflect.Message
func (*CommandDeduplicationPeriodSupport) Reset ¶ added in v7.6.3
func (x *CommandDeduplicationPeriodSupport) Reset()
func (*CommandDeduplicationPeriodSupport) String ¶ added in v7.6.3
func (x *CommandDeduplicationPeriodSupport) String() string
type CommandDeduplicationPeriodSupport_DurationSupport ¶ added in v7.6.3
type CommandDeduplicationPeriodSupport_DurationSupport int32
How the participant node supports deduplication periods specified as durations.
const ( CommandDeduplicationPeriodSupport_DURATION_NATIVE_SUPPORT CommandDeduplicationPeriodSupport_DurationSupport = 0 CommandDeduplicationPeriodSupport_DURATION_CONVERT_TO_OFFSET CommandDeduplicationPeriodSupport_DurationSupport = 1 )
func (CommandDeduplicationPeriodSupport_DurationSupport) Descriptor ¶ added in v7.6.3
func (CommandDeduplicationPeriodSupport_DurationSupport) Descriptor() protoreflect.EnumDescriptor
func (CommandDeduplicationPeriodSupport_DurationSupport) EnumDescriptor
deprecated
added in
v7.6.3
func (CommandDeduplicationPeriodSupport_DurationSupport) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandDeduplicationPeriodSupport_DurationSupport.Descriptor instead.
func (CommandDeduplicationPeriodSupport_DurationSupport) Number ¶ added in v7.6.3
func (x CommandDeduplicationPeriodSupport_DurationSupport) Number() protoreflect.EnumNumber
func (CommandDeduplicationPeriodSupport_DurationSupport) String ¶ added in v7.6.3
func (x CommandDeduplicationPeriodSupport_DurationSupport) String() string
type CommandDeduplicationPeriodSupport_OffsetSupport ¶ added in v7.6.3
type CommandDeduplicationPeriodSupport_OffsetSupport int32
How the participant node supports deduplication periods specified using offsets.
const ( CommandDeduplicationPeriodSupport_OFFSET_NOT_SUPPORTED CommandDeduplicationPeriodSupport_OffsetSupport = 0 CommandDeduplicationPeriodSupport_OFFSET_NATIVE_SUPPORT CommandDeduplicationPeriodSupport_OffsetSupport = 1 CommandDeduplicationPeriodSupport_OFFSET_CONVERT_TO_DURATION CommandDeduplicationPeriodSupport_OffsetSupport = 2 )
func (CommandDeduplicationPeriodSupport_OffsetSupport) Descriptor ¶ added in v7.6.3
func (CommandDeduplicationPeriodSupport_OffsetSupport) Descriptor() protoreflect.EnumDescriptor
func (CommandDeduplicationPeriodSupport_OffsetSupport) EnumDescriptor
deprecated
added in
v7.6.3
func (CommandDeduplicationPeriodSupport_OffsetSupport) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandDeduplicationPeriodSupport_OffsetSupport.Descriptor instead.
func (CommandDeduplicationPeriodSupport_OffsetSupport) Number ¶ added in v7.6.3
func (x CommandDeduplicationPeriodSupport_OffsetSupport) Number() protoreflect.EnumNumber
func (CommandDeduplicationPeriodSupport_OffsetSupport) String ¶ added in v7.6.3
func (x CommandDeduplicationPeriodSupport_OffsetSupport) String() string
type CommandDeduplicationType ¶ added in v7.6.3
type CommandDeduplicationType int32
How the participant node reports duplicate command submissions.
const ( // Duplicate commands are exclusively reported asynchronously via completions. CommandDeduplicationType_ASYNC_ONLY CommandDeduplicationType = 0 // Commands that are duplicates of concurrently submitted commands are reported synchronously via a gRPC error on the // command submission, while all other duplicate commands are reported asynchronously via completions. CommandDeduplicationType_ASYNC_AND_CONCURRENT_SYNC CommandDeduplicationType = 1 )
func (CommandDeduplicationType) Descriptor ¶ added in v7.6.3
func (CommandDeduplicationType) Descriptor() protoreflect.EnumDescriptor
func (CommandDeduplicationType) Enum ¶ added in v7.6.3
func (x CommandDeduplicationType) Enum() *CommandDeduplicationType
func (CommandDeduplicationType) EnumDescriptor
deprecated
added in
v7.6.3
func (CommandDeduplicationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommandDeduplicationType.Descriptor instead.
func (CommandDeduplicationType) Number ¶ added in v7.6.3
func (x CommandDeduplicationType) Number() protoreflect.EnumNumber
func (CommandDeduplicationType) String ¶ added in v7.6.3
func (x CommandDeduplicationType) String() string
func (CommandDeduplicationType) Type ¶ added in v7.6.3
func (CommandDeduplicationType) Type() protoreflect.EnumType
type CommandServiceClient ¶
type CommandServiceClient interface { // Submits a single composite command and waits for its result. // Propagates the gRPC error of failed submissions including Daml interpretation errors. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “DEADLINE_EXCEEDED“: if the request failed to receive its completion within the predefined timeout. SubmitAndWait(ctx context.Context, in *SubmitAndWaitRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Submits a single composite command, waits for its result, and returns the transaction id. // Propagates the gRPC error of failed submissions including Daml interpretation errors. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “DEADLINE_EXCEEDED“: if the request failed to receive its completion within the predefined timeout. SubmitAndWaitForTransactionId(ctx context.Context, in *SubmitAndWaitRequest, opts ...grpc.CallOption) (*SubmitAndWaitForTransactionIdResponse, error) // Submits a single composite command, waits for its result, and returns the transaction. // Propagates the gRPC error of failed submissions including Daml interpretation errors. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “DEADLINE_EXCEEDED“: if the request failed to receive its completion within the predefined timeout. SubmitAndWaitForTransaction(ctx context.Context, in *SubmitAndWaitRequest, opts ...grpc.CallOption) (*SubmitAndWaitForTransactionResponse, error) // Submits a single composite command, waits for its result, and returns the transaction tree. // Propagates the gRPC error of failed submissions including Daml interpretation errors. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “DEADLINE_EXCEEDED“: if the request failed to receive its completion within the predefined timeout. SubmitAndWaitForTransactionTree(ctx context.Context, in *SubmitAndWaitRequest, opts ...grpc.CallOption) (*SubmitAndWaitForTransactionTreeResponse, error) }
CommandServiceClient is the client API for CommandService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCommandServiceClient ¶
func NewCommandServiceClient(cc grpc.ClientConnInterface) CommandServiceClient
type CommandServiceServer ¶
type CommandServiceServer interface { // Submits a single composite command and waits for its result. // Propagates the gRPC error of failed submissions including Daml interpretation errors. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “DEADLINE_EXCEEDED“: if the request failed to receive its completion within the predefined timeout. SubmitAndWait(context.Context, *SubmitAndWaitRequest) (*emptypb.Empty, error) // Submits a single composite command, waits for its result, and returns the transaction id. // Propagates the gRPC error of failed submissions including Daml interpretation errors. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “DEADLINE_EXCEEDED“: if the request failed to receive its completion within the predefined timeout. SubmitAndWaitForTransactionId(context.Context, *SubmitAndWaitRequest) (*SubmitAndWaitForTransactionIdResponse, error) // Submits a single composite command, waits for its result, and returns the transaction. // Propagates the gRPC error of failed submissions including Daml interpretation errors. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “DEADLINE_EXCEEDED“: if the request failed to receive its completion within the predefined timeout. SubmitAndWaitForTransaction(context.Context, *SubmitAndWaitRequest) (*SubmitAndWaitForTransactionResponse, error) // Submits a single composite command, waits for its result, and returns the transaction tree. // Propagates the gRPC error of failed submissions including Daml interpretation errors. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “DEADLINE_EXCEEDED“: if the request failed to receive its completion within the predefined timeout. SubmitAndWaitForTransactionTree(context.Context, *SubmitAndWaitRequest) (*SubmitAndWaitForTransactionTreeResponse, error) // contains filtered or unexported methods }
CommandServiceServer is the server API for CommandService service. All implementations must embed UnimplementedCommandServiceServer for forward compatibility
type CommandSubmissionServiceClient ¶
type CommandSubmissionServiceClient interface { // Submit a single composite command. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. Submit(ctx context.Context, in *SubmitRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
CommandSubmissionServiceClient is the client API for CommandSubmissionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCommandSubmissionServiceClient ¶
func NewCommandSubmissionServiceClient(cc grpc.ClientConnInterface) CommandSubmissionServiceClient
type CommandSubmissionServiceServer ¶
type CommandSubmissionServiceServer interface { // Submit a single composite command. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or if a resource is missing (e.g. contract key) // due to for example contention on resources // - “ALREADY_EXISTS“ if a resource is duplicated (e.g. contract key) // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “ABORTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “FAILED_PRECONDITION“: on consistency errors (e.g. the contract key has changed since the submission) // or if an interpretation error occurred // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. Submit(context.Context, *SubmitRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
CommandSubmissionServiceServer is the server API for CommandSubmissionService service. All implementations must embed UnimplementedCommandSubmissionServiceServer for forward compatibility
type Command_Create ¶
type Command_Create struct {
Create *CreateCommand `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}
type Command_CreateAndExercise ¶
type Command_CreateAndExercise struct {
CreateAndExercise *CreateAndExerciseCommand `protobuf:"bytes,3,opt,name=createAndExercise,proto3,oneof"`
}
type Command_Exercise ¶
type Command_Exercise struct {
Exercise *ExerciseCommand `protobuf:"bytes,2,opt,name=exercise,proto3,oneof"`
}
type Command_ExerciseByKey ¶
type Command_ExerciseByKey struct {
ExerciseByKey *ExerciseByKeyCommand `protobuf:"bytes,4,opt,name=exerciseByKey,proto3,oneof"`
}
type Commands ¶
type Commands struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // Identifier of the on-ledger workflow that this command is a part of. // Must be a valid LedgerString (as described in “value.proto“). // Optional WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // Uniquely identifies the application or participant user that issued the command. // Must be a valid ApplicationIdString (as described in “value.proto“). // Required unless authentication is used with a user token or a custom token specifying an application-id. // In that case, the token's user-id, respectively application-id, will be used for the request's application_id. ApplicationId string `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // Uniquely identifies the command. // The triple (application_id, party + act_as, command_id) constitutes the change ID for the intended ledger change, // where party + act_as is interpreted as a set of party names. // The change ID can be used for matching the intended ledger changes with all their completions. // Must be a valid LedgerString (as described in “value.proto“). // Required CommandId string `protobuf:"bytes,4,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // Party on whose behalf the command should be executed. // If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request // to act on behalf of the given party. // Must be a valid PartyIdString (as described in “value.proto“). // Deprecated in favor of the “act_as“ field. If both are set, then the effective list of parties on whose // behalf the command should be executed is the union of all parties listed in “party“ and “act_as“. // Optional Party string `protobuf:"bytes,5,opt,name=party,proto3" json:"party,omitempty"` // Individual elements of this atomic command. Must be non-empty. // Required Commands []*Command `protobuf:"bytes,8,rep,name=commands,proto3" json:"commands,omitempty"` // Specifies the deduplication period for the change ID. // If omitted, the participant will assume the configured maximum deduplication time (see // “ledger_configuration_service.proto“). // // Types that are assignable to DeduplicationPeriod: // *Commands_DeduplicationTime // *Commands_DeduplicationDuration // *Commands_DeduplicationOffset DeduplicationPeriod isCommands_DeduplicationPeriod `protobuf_oneof:"deduplication_period"` // Lower bound for the ledger time assigned to the resulting transaction. // Note: The ledger time of a transaction is assigned as part of command interpretation. // Use this property if you expect that command interpretation will take a considerate amount of time, such that by // the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore. // Must not be set at the same time as min_ledger_time_rel. // Optional MinLedgerTimeAbs *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=min_ledger_time_abs,json=minLedgerTimeAbs,proto3" json:"min_ledger_time_abs,omitempty"` // Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server. // Must not be set at the same time as min_ledger_time_abs. // Optional MinLedgerTimeRel *durationpb.Duration `protobuf:"bytes,11,opt,name=min_ledger_time_rel,json=minLedgerTimeRel,proto3" json:"min_ledger_time_rel,omitempty"` // Set of parties on whose behalf the command should be executed. // If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request // to act on behalf of each of the given parties. // This field supersedes the “party“ field. The effective set of parties on whose behalf the command // should be executed is the union of all parties listed in “party“ and “act_as“, which must be non-empty. // Each element must be a valid PartyIdString (as described in “value.proto“). // Optional ActAs []string `protobuf:"bytes,12,rep,name=act_as,json=actAs,proto3" json:"act_as,omitempty"` // Set of parties on whose behalf (in addition to all parties listed in “act_as“) contracts can be retrieved. // This affects Daml operations such as “fetch“, “fetchByKey“, “lookupByKey“, “exercise“, and “exerciseByKey“. // Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant // node is only visible to a subset of these parties. A command can only use contracts that are visible to at least // one of the parties in “act_as“ or “read_as“. This visibility check is independent from the Daml authorization // rules for fetch operations. // If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request // to read contract data on behalf of each of the given parties. // Optional ReadAs []string `protobuf:"bytes,13,rep,name=read_as,json=readAs,proto3" json:"read_as,omitempty"` // A unique identifier to distinguish completions for different submissions with the same change ID. // Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission // with the same change ID. // Must be a valid LedgerString (as described in “value.proto“). // // If omitted, the participant or the committer may set a value of their choice. // Optional SubmissionId string `protobuf:"bytes,14,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"` // contains filtered or unexported fields }
A composite command that groups multiple commands together.
func (*Commands) Descriptor
deprecated
func (*Commands) GetApplicationId ¶
func (*Commands) GetCommandId ¶
func (*Commands) GetCommands ¶
func (*Commands) GetDeduplicationDuration ¶
func (x *Commands) GetDeduplicationDuration() *durationpb.Duration
func (*Commands) GetDeduplicationOffset ¶
func (*Commands) GetDeduplicationPeriod ¶
func (m *Commands) GetDeduplicationPeriod() isCommands_DeduplicationPeriod
func (*Commands) GetDeduplicationTime
deprecated
func (x *Commands) GetDeduplicationTime() *durationpb.Duration
Deprecated: Do not use.
func (*Commands) GetLedgerId ¶
func (*Commands) GetMinLedgerTimeAbs ¶
func (x *Commands) GetMinLedgerTimeAbs() *timestamppb.Timestamp
func (*Commands) GetMinLedgerTimeRel ¶
func (x *Commands) GetMinLedgerTimeRel() *durationpb.Duration
func (*Commands) GetSubmissionId ¶
func (*Commands) GetWorkflowId ¶
func (*Commands) ProtoMessage ¶
func (*Commands) ProtoMessage()
func (*Commands) ProtoReflect ¶
func (x *Commands) ProtoReflect() protoreflect.Message
type Commands_DeduplicationDuration ¶
type Commands_DeduplicationDuration struct { // Specifies the length of the deduplication period. // It is interpreted relative to the local clock at some point during the submission's processing. // Must be non-negative. Must not exceed the maximum deduplication time (see // “ledger_configuration_service.proto“). DeduplicationDuration *durationpb.Duration `protobuf:"bytes,15,opt,name=deduplication_duration,json=deduplicationDuration,proto3,oneof"` }
type Commands_DeduplicationOffset ¶
type Commands_DeduplicationOffset struct { // Specifies the start of the deduplication period by a completion stream offset (exclusive). // Must be a valid LedgerString (as described in “ledger_offset.proto“). DeduplicationOffset string `protobuf:"bytes,16,opt,name=deduplication_offset,json=deduplicationOffset,proto3,oneof"` }
type Commands_DeduplicationTime ¶
type Commands_DeduplicationTime struct { // Specifies the length of the deduplication period. // Same semantics apply as for `deduplication_duration`. // Must be non-negative. Must not exceed the maximum deduplication time (see // “ledger_configuration_service.proto“). // // Deprecated: Do not use. DeduplicationTime *durationpb.Duration `protobuf:"bytes,9,opt,name=deduplication_time,json=deduplicationTime,proto3,oneof"` }
type Completion ¶
type Completion struct { // The ID of the succeeded or failed command. // Must be a valid LedgerString (as described in “value.proto“). // Required CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // Identifies the exact type of the error. // For example, malformed or double spend transactions will result in a “INVALID_ARGUMENT“ status. // Transactions with invalid time time windows (which may be valid at a later date) will result in an “ABORTED“ error. // Optional Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // The transaction_id of the transaction that resulted from the command with command_id. // Only set for successfully executed commands. // Must be a valid LedgerString (as described in “value.proto“). // Optional TransactionId string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // The application-id or user-id that was used for the submission, as described in “commands.proto“. // Must be a valid ApplicationIdString (as described in “value.proto“). // Optional for historic completions where this data is not available. ApplicationId string `protobuf:"bytes,4,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // The set of parties on whose behalf the commands were executed. // Contains the union of “party“ and “act_as“ from “commands.proto“. // The order of the parties need not be the same as in the submission. // Each element must be a valid PartyIdString (as described in “value.proto“). // Optional for historic completions where this data is not available. ActAs []string `protobuf:"bytes,5,rep,name=act_as,json=actAs,proto3" json:"act_as,omitempty"` // The submission ID this completion refers to, as described in “commands.proto“. // Must be a valid LedgerString (as described in “value.proto“). // Optional SubmissionId string `protobuf:"bytes,6,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"` // The actual deduplication window used for the submission, which is derived from // “Commands.deduplication_period“. The ledger may convert the deduplication period into other // descriptions and extend the period in implementation-specified ways. // // Used to audit the deduplication guarantee described in “commands.proto“. // // Optional; the deduplication guarantee applies even if the completion omits this field. // // Types that are assignable to DeduplicationPeriod: // *Completion_DeduplicationOffset // *Completion_DeduplicationDuration DeduplicationPeriod isCompletion_DeduplicationPeriod `protobuf_oneof:"deduplication_period"` // contains filtered or unexported fields }
A completion represents the status of a submitted command on the ledger: it can be successful or failed.
func (*Completion) Descriptor
deprecated
func (*Completion) Descriptor() ([]byte, []int)
Deprecated: Use Completion.ProtoReflect.Descriptor instead.
func (*Completion) GetActAs ¶
func (x *Completion) GetActAs() []string
func (*Completion) GetApplicationId ¶
func (x *Completion) GetApplicationId() string
func (*Completion) GetCommandId ¶
func (x *Completion) GetCommandId() string
func (*Completion) GetDeduplicationDuration ¶
func (x *Completion) GetDeduplicationDuration() *durationpb.Duration
func (*Completion) GetDeduplicationOffset ¶
func (x *Completion) GetDeduplicationOffset() string
func (*Completion) GetDeduplicationPeriod ¶
func (m *Completion) GetDeduplicationPeriod() isCompletion_DeduplicationPeriod
func (*Completion) GetStatus ¶
func (x *Completion) GetStatus() *status.Status
func (*Completion) GetSubmissionId ¶
func (x *Completion) GetSubmissionId() string
func (*Completion) GetTransactionId ¶
func (x *Completion) GetTransactionId() string
func (*Completion) ProtoMessage ¶
func (*Completion) ProtoMessage()
func (*Completion) ProtoReflect ¶
func (x *Completion) ProtoReflect() protoreflect.Message
func (*Completion) Reset ¶
func (x *Completion) Reset()
func (*Completion) String ¶
func (x *Completion) String() string
type CompletionEndRequest ¶
type CompletionEndRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // contains filtered or unexported fields }
func (*CompletionEndRequest) Descriptor
deprecated
func (*CompletionEndRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompletionEndRequest.ProtoReflect.Descriptor instead.
func (*CompletionEndRequest) GetLedgerId ¶
func (x *CompletionEndRequest) GetLedgerId() string
func (*CompletionEndRequest) ProtoMessage ¶
func (*CompletionEndRequest) ProtoMessage()
func (*CompletionEndRequest) ProtoReflect ¶
func (x *CompletionEndRequest) ProtoReflect() protoreflect.Message
func (*CompletionEndRequest) Reset ¶
func (x *CompletionEndRequest) Reset()
func (*CompletionEndRequest) String ¶
func (x *CompletionEndRequest) String() string
type CompletionEndResponse ¶
type CompletionEndResponse struct { // This offset can be used in a CompletionStreamRequest message. // Required Offset *LedgerOffset `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*CompletionEndResponse) Descriptor
deprecated
func (*CompletionEndResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompletionEndResponse.ProtoReflect.Descriptor instead.
func (*CompletionEndResponse) GetOffset ¶
func (x *CompletionEndResponse) GetOffset() *LedgerOffset
func (*CompletionEndResponse) ProtoMessage ¶
func (*CompletionEndResponse) ProtoMessage()
func (*CompletionEndResponse) ProtoReflect ¶
func (x *CompletionEndResponse) ProtoReflect() protoreflect.Message
func (*CompletionEndResponse) Reset ¶
func (x *CompletionEndResponse) Reset()
func (*CompletionEndResponse) String ¶
func (x *CompletionEndResponse) String() string
type CompletionStreamRequest ¶
type CompletionStreamRequest struct { // Must correspond to the ledger id reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // Only completions of commands submitted with the same application_id will be visible in the stream. // Must be a valid ApplicationIdString (as described in “value.proto“). // Required unless authentication is used with a user token or a custom token specifying an application-id. // In that case, the token's user-id, respectively application-id, will be used for the request's application_id. ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // Non-empty list of parties whose data should be included. // Only completions of commands for which at least one of the “act_as“ parties is in the given set of parties // will be visible in the stream. // Must be a valid PartyIdString (as described in “value.proto“). // Required Parties []string `protobuf:"bytes,3,rep,name=parties,proto3" json:"parties,omitempty"` // This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream. // This offset is exclusive: the response will only contain commands whose offset is strictly greater than this. // Optional, if not set the ledger uses the current ledger end offset instead. Offset *LedgerOffset `protobuf:"bytes,4,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*CompletionStreamRequest) Descriptor
deprecated
func (*CompletionStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompletionStreamRequest.ProtoReflect.Descriptor instead.
func (*CompletionStreamRequest) GetApplicationId ¶
func (x *CompletionStreamRequest) GetApplicationId() string
func (*CompletionStreamRequest) GetLedgerId ¶
func (x *CompletionStreamRequest) GetLedgerId() string
func (*CompletionStreamRequest) GetOffset ¶
func (x *CompletionStreamRequest) GetOffset() *LedgerOffset
func (*CompletionStreamRequest) GetParties ¶
func (x *CompletionStreamRequest) GetParties() []string
func (*CompletionStreamRequest) ProtoMessage ¶
func (*CompletionStreamRequest) ProtoMessage()
func (*CompletionStreamRequest) ProtoReflect ¶
func (x *CompletionStreamRequest) ProtoReflect() protoreflect.Message
func (*CompletionStreamRequest) Reset ¶
func (x *CompletionStreamRequest) Reset()
func (*CompletionStreamRequest) String ¶
func (x *CompletionStreamRequest) String() string
type CompletionStreamResponse ¶
type CompletionStreamResponse struct { // This checkpoint may be used to restart consumption. The // checkpoint is after any completions in this response. // Optional Checkpoint *Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` // If set, one or more completions. Completions []*Completion `protobuf:"bytes,2,rep,name=completions,proto3" json:"completions,omitempty"` // contains filtered or unexported fields }
func (*CompletionStreamResponse) Descriptor
deprecated
func (*CompletionStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompletionStreamResponse.ProtoReflect.Descriptor instead.
func (*CompletionStreamResponse) GetCheckpoint ¶
func (x *CompletionStreamResponse) GetCheckpoint() *Checkpoint
func (*CompletionStreamResponse) GetCompletions ¶
func (x *CompletionStreamResponse) GetCompletions() []*Completion
func (*CompletionStreamResponse) ProtoMessage ¶
func (*CompletionStreamResponse) ProtoMessage()
func (*CompletionStreamResponse) ProtoReflect ¶
func (x *CompletionStreamResponse) ProtoReflect() protoreflect.Message
func (*CompletionStreamResponse) Reset ¶
func (x *CompletionStreamResponse) Reset()
func (*CompletionStreamResponse) String ¶
func (x *CompletionStreamResponse) String() string
type Completion_DeduplicationDuration ¶
type Completion_DeduplicationDuration struct { // Specifies the length of the deduplication period. // It is measured in record time of completions. // // Must be non-negative. DeduplicationDuration *durationpb.Duration `protobuf:"bytes,9,opt,name=deduplication_duration,json=deduplicationDuration,proto3,oneof"` }
type Completion_DeduplicationOffset ¶
type Completion_DeduplicationOffset struct { // Specifies the start of the deduplication period by a completion stream offset (exclusive). // // Must be a valid LedgerString (as described in “value.proto“). DeduplicationOffset string `protobuf:"bytes,8,opt,name=deduplication_offset,json=deduplicationOffset,proto3,oneof"` }
type CreateAndExerciseCommand ¶
type CreateAndExerciseCommand struct { // The template of the contract the client wants to create. // Required TemplateId *Identifier `protobuf:"bytes,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // The arguments required for creating a contract from this template. // Required CreateArguments *Record `protobuf:"bytes,2,opt,name=create_arguments,json=createArguments,proto3" json:"create_arguments,omitempty"` // The name of the choice the client wants to exercise. // Must be a valid NameString (as described in “value.proto“). // Required Choice string `protobuf:"bytes,3,opt,name=choice,proto3" json:"choice,omitempty"` // The argument for this choice. // Required ChoiceArgument *Value `protobuf:"bytes,4,opt,name=choice_argument,json=choiceArgument,proto3" json:"choice_argument,omitempty"` // contains filtered or unexported fields }
Create a contract and exercise a choice on it in the same transaction.
func (*CreateAndExerciseCommand) Descriptor
deprecated
func (*CreateAndExerciseCommand) Descriptor() ([]byte, []int)
Deprecated: Use CreateAndExerciseCommand.ProtoReflect.Descriptor instead.
func (*CreateAndExerciseCommand) GetChoice ¶
func (x *CreateAndExerciseCommand) GetChoice() string
func (*CreateAndExerciseCommand) GetChoiceArgument ¶
func (x *CreateAndExerciseCommand) GetChoiceArgument() *Value
func (*CreateAndExerciseCommand) GetCreateArguments ¶
func (x *CreateAndExerciseCommand) GetCreateArguments() *Record
func (*CreateAndExerciseCommand) GetTemplateId ¶
func (x *CreateAndExerciseCommand) GetTemplateId() *Identifier
func (*CreateAndExerciseCommand) ProtoMessage ¶
func (*CreateAndExerciseCommand) ProtoMessage()
func (*CreateAndExerciseCommand) ProtoReflect ¶
func (x *CreateAndExerciseCommand) ProtoReflect() protoreflect.Message
func (*CreateAndExerciseCommand) Reset ¶
func (x *CreateAndExerciseCommand) Reset()
func (*CreateAndExerciseCommand) String ¶
func (x *CreateAndExerciseCommand) String() string
type CreateCommand ¶
type CreateCommand struct { // The template of contract the client wants to create. // Required TemplateId *Identifier `protobuf:"bytes,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // The arguments required for creating a contract from this template. // Required CreateArguments *Record `protobuf:"bytes,2,opt,name=create_arguments,json=createArguments,proto3" json:"create_arguments,omitempty"` // contains filtered or unexported fields }
Create a new contract instance based on a template.
func (*CreateCommand) Descriptor
deprecated
func (*CreateCommand) Descriptor() ([]byte, []int)
Deprecated: Use CreateCommand.ProtoReflect.Descriptor instead.
func (*CreateCommand) GetCreateArguments ¶
func (x *CreateCommand) GetCreateArguments() *Record
func (*CreateCommand) GetTemplateId ¶
func (x *CreateCommand) GetTemplateId() *Identifier
func (*CreateCommand) ProtoMessage ¶
func (*CreateCommand) ProtoMessage()
func (*CreateCommand) ProtoReflect ¶
func (x *CreateCommand) ProtoReflect() protoreflect.Message
func (*CreateCommand) Reset ¶
func (x *CreateCommand) Reset()
func (*CreateCommand) String ¶
func (x *CreateCommand) String() string
type CreatedEvent ¶
type CreatedEvent struct { // The ID of this particular event. // Must be a valid LedgerString (as described in “value.proto“). // Required EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // The ID of the created contract. // Must be a valid LedgerString (as described in “value.proto“). // Required ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // The template of the created contract. // Required TemplateId *Identifier `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // The key of the created contract, if defined. // Optional ContractKey *Value `protobuf:"bytes,7,opt,name=contract_key,json=contractKey,proto3" json:"contract_key,omitempty"` // The arguments that have been used to create the contract. // Required CreateArguments *Record `protobuf:"bytes,4,opt,name=create_arguments,json=createArguments,proto3" json:"create_arguments,omitempty"` // The parties that are notified of this event. When a “CreatedEvent“ // is returned as part of a transaction tree, this will include all // the parties specified in the “TransactionFilter“ that are informees // of the event. If served as part of a flat transaction those will // be limited to all parties specified in the “TransactionFilter“ that // are stakeholders of the contract (i.e. either signatories or observers). // Required WitnessParties []string `protobuf:"bytes,5,rep,name=witness_parties,json=witnessParties,proto3" json:"witness_parties,omitempty"` // The signatories for this contract as specified by the template. // Required Signatories []string `protobuf:"bytes,8,rep,name=signatories,proto3" json:"signatories,omitempty"` // The observers for this contract as specified explicitly by the template or implicitly as choice controllers. // This field never contains parties that are signatories. // Required Observers []string `protobuf:"bytes,9,rep,name=observers,proto3" json:"observers,omitempty"` // The agreement text of the contract. // We use StringValue to properly reflect optionality on the wire for backwards compatibility. // This is necessary since the empty string is an acceptable (and in fact the default) agreement // text, but also the default string in protobuf. // This means a newer client works with an older sandbox seamlessly. // Optional AgreementText *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=agreement_text,json=agreementText,proto3" json:"agreement_text,omitempty"` // contains filtered or unexported fields }
Records that a contract has been created, and choices may now be exercised on it.
func (*CreatedEvent) Descriptor
deprecated
func (*CreatedEvent) Descriptor() ([]byte, []int)
Deprecated: Use CreatedEvent.ProtoReflect.Descriptor instead.
func (*CreatedEvent) GetAgreementText ¶
func (x *CreatedEvent) GetAgreementText() *wrapperspb.StringValue
func (*CreatedEvent) GetContractId ¶
func (x *CreatedEvent) GetContractId() string
func (*CreatedEvent) GetContractKey ¶
func (x *CreatedEvent) GetContractKey() *Value
func (*CreatedEvent) GetCreateArguments ¶
func (x *CreatedEvent) GetCreateArguments() *Record
func (*CreatedEvent) GetEventId ¶
func (x *CreatedEvent) GetEventId() string
func (*CreatedEvent) GetObservers ¶
func (x *CreatedEvent) GetObservers() []string
func (*CreatedEvent) GetSignatories ¶
func (x *CreatedEvent) GetSignatories() []string
func (*CreatedEvent) GetTemplateId ¶
func (x *CreatedEvent) GetTemplateId() *Identifier
func (*CreatedEvent) GetWitnessParties ¶
func (x *CreatedEvent) GetWitnessParties() []string
func (*CreatedEvent) ProtoMessage ¶
func (*CreatedEvent) ProtoMessage()
func (*CreatedEvent) ProtoReflect ¶
func (x *CreatedEvent) ProtoReflect() protoreflect.Message
func (*CreatedEvent) Reset ¶
func (x *CreatedEvent) Reset()
func (*CreatedEvent) String ¶
func (x *CreatedEvent) String() string
type Enum ¶
type Enum struct { // Omitted from the transaction stream when verbose streaming is not enabled. // Optional when submitting commands. EnumId *Identifier `protobuf:"bytes,1,opt,name=enum_id,json=enumId,proto3" json:"enum_id,omitempty"` // Determines which of the Variant's alternatives is encoded in this message. // Must be a valid NameString. // Required Constructor string `protobuf:"bytes,2,opt,name=constructor,proto3" json:"constructor,omitempty"` // contains filtered or unexported fields }
A value with finite set of alternative representations.
func (*Enum) Descriptor
deprecated
func (*Enum) GetConstructor ¶
func (*Enum) GetEnumId ¶
func (x *Enum) GetEnumId() *Identifier
func (*Enum) ProtoMessage ¶
func (*Enum) ProtoMessage()
func (*Enum) ProtoReflect ¶
func (x *Enum) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct { // Types that are assignable to Event: // *Event_Created // *Event_Archived Event isEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
An event in the flat transaction stream can either be the creation or the archiving of a contract.
In the transaction service the events are restricted to the events visible for the parties specified in the transaction filter. Each event message type below contains a “witness_parties“ field which indicates the subset of the requested parties that can see the event in question. In the flat transaction stream you'll only receive events that have witnesses.
func (*Event) Descriptor
deprecated
func (*Event) GetArchived ¶
func (x *Event) GetArchived() *ArchivedEvent
func (*Event) GetCreated ¶
func (x *Event) GetCreated() *CreatedEvent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_Archived ¶
type Event_Archived struct {
Archived *ArchivedEvent `protobuf:"bytes,3,opt,name=archived,proto3,oneof"`
}
type Event_Created ¶
type Event_Created struct {
Created *CreatedEvent `protobuf:"bytes,1,opt,name=created,proto3,oneof"`
}
type ExerciseByKeyCommand ¶
type ExerciseByKeyCommand struct { // The template of contract the client wants to exercise. // Required TemplateId *Identifier `protobuf:"bytes,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // The key of the contract the client wants to exercise upon. // Required ContractKey *Value `protobuf:"bytes,2,opt,name=contract_key,json=contractKey,proto3" json:"contract_key,omitempty"` // The name of the choice the client wants to exercise. // Must be a valid NameString (as described in “value.proto“) // Required Choice string `protobuf:"bytes,3,opt,name=choice,proto3" json:"choice,omitempty"` // The argument for this choice. // Required ChoiceArgument *Value `protobuf:"bytes,4,opt,name=choice_argument,json=choiceArgument,proto3" json:"choice_argument,omitempty"` // contains filtered or unexported fields }
Exercise a choice on an existing contract specified by its key.
func (*ExerciseByKeyCommand) Descriptor
deprecated
func (*ExerciseByKeyCommand) Descriptor() ([]byte, []int)
Deprecated: Use ExerciseByKeyCommand.ProtoReflect.Descriptor instead.
func (*ExerciseByKeyCommand) GetChoice ¶
func (x *ExerciseByKeyCommand) GetChoice() string
func (*ExerciseByKeyCommand) GetChoiceArgument ¶
func (x *ExerciseByKeyCommand) GetChoiceArgument() *Value
func (*ExerciseByKeyCommand) GetContractKey ¶
func (x *ExerciseByKeyCommand) GetContractKey() *Value
func (*ExerciseByKeyCommand) GetTemplateId ¶
func (x *ExerciseByKeyCommand) GetTemplateId() *Identifier
func (*ExerciseByKeyCommand) ProtoMessage ¶
func (*ExerciseByKeyCommand) ProtoMessage()
func (*ExerciseByKeyCommand) ProtoReflect ¶
func (x *ExerciseByKeyCommand) ProtoReflect() protoreflect.Message
func (*ExerciseByKeyCommand) Reset ¶
func (x *ExerciseByKeyCommand) Reset()
func (*ExerciseByKeyCommand) String ¶
func (x *ExerciseByKeyCommand) String() string
type ExerciseCommand ¶
type ExerciseCommand struct { // The template of contract the client wants to exercise. // Required TemplateId *Identifier `protobuf:"bytes,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // The ID of the contract the client wants to exercise upon. // Must be a valid LedgerString (as described in “value.proto“). // Required ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // The name of the choice the client wants to exercise. // Must be a valid NameString (as described in “value.proto“) // Required Choice string `protobuf:"bytes,3,opt,name=choice,proto3" json:"choice,omitempty"` // The argument for this choice. // Required ChoiceArgument *Value `protobuf:"bytes,4,opt,name=choice_argument,json=choiceArgument,proto3" json:"choice_argument,omitempty"` // contains filtered or unexported fields }
Exercise a choice on an existing contract.
func (*ExerciseCommand) Descriptor
deprecated
func (*ExerciseCommand) Descriptor() ([]byte, []int)
Deprecated: Use ExerciseCommand.ProtoReflect.Descriptor instead.
func (*ExerciseCommand) GetChoice ¶
func (x *ExerciseCommand) GetChoice() string
func (*ExerciseCommand) GetChoiceArgument ¶
func (x *ExerciseCommand) GetChoiceArgument() *Value
func (*ExerciseCommand) GetContractId ¶
func (x *ExerciseCommand) GetContractId() string
func (*ExerciseCommand) GetTemplateId ¶
func (x *ExerciseCommand) GetTemplateId() *Identifier
func (*ExerciseCommand) ProtoMessage ¶
func (*ExerciseCommand) ProtoMessage()
func (*ExerciseCommand) ProtoReflect ¶
func (x *ExerciseCommand) ProtoReflect() protoreflect.Message
func (*ExerciseCommand) Reset ¶
func (x *ExerciseCommand) Reset()
func (*ExerciseCommand) String ¶
func (x *ExerciseCommand) String() string
type ExercisedEvent ¶
type ExercisedEvent struct { // The ID of this particular event. // Must be a valid LedgerString (as described in “value.proto“). // Required EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // The ID of the target contract. // Must be a valid LedgerString (as described in “value.proto“). // Required ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // The template of the target contract. // Required TemplateId *Identifier `protobuf:"bytes,3,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // The choice that's been exercised on the target contract. // Must be a valid NameString (as described in “value.proto“). // Required Choice string `protobuf:"bytes,5,opt,name=choice,proto3" json:"choice,omitempty"` // The argument the choice was made with. // Required ChoiceArgument *Value `protobuf:"bytes,6,opt,name=choice_argument,json=choiceArgument,proto3" json:"choice_argument,omitempty"` // The parties that made the choice. // Each element must be a valid PartyIdString (as described in “value.proto“). // Required ActingParties []string `protobuf:"bytes,7,rep,name=acting_parties,json=actingParties,proto3" json:"acting_parties,omitempty"` // If true, the target contract may no longer be exercised. // Required Consuming bool `protobuf:"varint,8,opt,name=consuming,proto3" json:"consuming,omitempty"` // The parties that are notified of this event. The witnesses of an exercise // node will depend on whether the exercise was consuming or not. // If consuming, the witnesses are the union of the stakeholders and // the actors. // If not consuming, the witnesses are the union of the signatories and // the actors. Note that the actors might not necessarily be observers // and thus signatories. This is the case when the controllers of a // choice are specified using "flexible controllers", using the // “choice ... controller“ syntax, and said controllers are not // explicitly marked as observers. // Each element must be a valid PartyIdString (as described in “value.proto“). // Required WitnessParties []string `protobuf:"bytes,10,rep,name=witness_parties,json=witnessParties,proto3" json:"witness_parties,omitempty"` // References to further events in the same transaction that appeared as a result of this “ExercisedEvent“. // It contains only the immediate children of this event, not all members of the subtree rooted at this node. // Each element must be a valid LedgerString (as described in “value.proto“). // Optional ChildEventIds []string `protobuf:"bytes,11,rep,name=child_event_ids,json=childEventIds,proto3" json:"child_event_ids,omitempty"` // The result of exercising the choice // Required ExerciseResult *Value `protobuf:"bytes,12,opt,name=exercise_result,json=exerciseResult,proto3" json:"exercise_result,omitempty"` // contains filtered or unexported fields }
Records that a choice has been exercised on a target contract.
func (*ExercisedEvent) Descriptor
deprecated
func (*ExercisedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ExercisedEvent.ProtoReflect.Descriptor instead.
func (*ExercisedEvent) GetActingParties ¶
func (x *ExercisedEvent) GetActingParties() []string
func (*ExercisedEvent) GetChildEventIds ¶
func (x *ExercisedEvent) GetChildEventIds() []string
func (*ExercisedEvent) GetChoice ¶
func (x *ExercisedEvent) GetChoice() string
func (*ExercisedEvent) GetChoiceArgument ¶
func (x *ExercisedEvent) GetChoiceArgument() *Value
func (*ExercisedEvent) GetConsuming ¶
func (x *ExercisedEvent) GetConsuming() bool
func (*ExercisedEvent) GetContractId ¶
func (x *ExercisedEvent) GetContractId() string
func (*ExercisedEvent) GetEventId ¶
func (x *ExercisedEvent) GetEventId() string
func (*ExercisedEvent) GetExerciseResult ¶
func (x *ExercisedEvent) GetExerciseResult() *Value
func (*ExercisedEvent) GetTemplateId ¶
func (x *ExercisedEvent) GetTemplateId() *Identifier
func (*ExercisedEvent) GetWitnessParties ¶
func (x *ExercisedEvent) GetWitnessParties() []string
func (*ExercisedEvent) ProtoMessage ¶
func (*ExercisedEvent) ProtoMessage()
func (*ExercisedEvent) ProtoReflect ¶
func (x *ExercisedEvent) ProtoReflect() protoreflect.Message
func (*ExercisedEvent) Reset ¶
func (x *ExercisedEvent) Reset()
func (*ExercisedEvent) String ¶
func (x *ExercisedEvent) String() string
type ExperimentalContractIds ¶ added in v7.6.3
type ExperimentalContractIds struct { V1 ExperimentalContractIds_ContractIdV1Support `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
See `daml-lf/spec/contract-id.rst` for more information on contract ID formats.
func (*ExperimentalContractIds) Descriptor
deprecated
added in
v7.6.3
func (*ExperimentalContractIds) Descriptor() ([]byte, []int)
Deprecated: Use ExperimentalContractIds.ProtoReflect.Descriptor instead.
func (*ExperimentalContractIds) GetV1 ¶ added in v7.6.3
func (x *ExperimentalContractIds) GetV1() ExperimentalContractIds_ContractIdV1Support
func (*ExperimentalContractIds) ProtoMessage ¶ added in v7.6.3
func (*ExperimentalContractIds) ProtoMessage()
func (*ExperimentalContractIds) ProtoReflect ¶ added in v7.6.3
func (x *ExperimentalContractIds) ProtoReflect() protoreflect.Message
func (*ExperimentalContractIds) Reset ¶ added in v7.6.3
func (x *ExperimentalContractIds) Reset()
func (*ExperimentalContractIds) String ¶ added in v7.6.3
func (x *ExperimentalContractIds) String() string
type ExperimentalContractIds_ContractIdV1Support ¶ added in v7.6.3
type ExperimentalContractIds_ContractIdV1Support int32
const ( // Contract IDs must be suffixed. // Distributed ledger implementations must reject non-suffixed contract IDs. ExperimentalContractIds_SUFFIXED ExperimentalContractIds_ContractIdV1Support = 0 // Contract IDs do not need to be suffixed. // This can be useful for shorter contract IDs in centralized committer implementations. // Suffixed contract IDs must also be supported. ExperimentalContractIds_NON_SUFFIXED ExperimentalContractIds_ContractIdV1Support = 1 )
func (ExperimentalContractIds_ContractIdV1Support) Descriptor ¶ added in v7.6.3
func (ExperimentalContractIds_ContractIdV1Support) Descriptor() protoreflect.EnumDescriptor
func (ExperimentalContractIds_ContractIdV1Support) EnumDescriptor
deprecated
added in
v7.6.3
func (ExperimentalContractIds_ContractIdV1Support) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExperimentalContractIds_ContractIdV1Support.Descriptor instead.
func (ExperimentalContractIds_ContractIdV1Support) Number ¶ added in v7.6.3
func (x ExperimentalContractIds_ContractIdV1Support) Number() protoreflect.EnumNumber
func (ExperimentalContractIds_ContractIdV1Support) String ¶ added in v7.6.3
func (x ExperimentalContractIds_ContractIdV1Support) String() string
func (ExperimentalContractIds_ContractIdV1Support) Type ¶ added in v7.6.3
func (ExperimentalContractIds_ContractIdV1Support) Type() protoreflect.EnumType
type ExperimentalFeatures ¶
type ExperimentalFeatures struct { // Deprecated: Do not use. SelfServiceErrorCodes *ExperimentalSelfServiceErrorCodes `` /* 128-byte string literal not displayed */ StaticTime *ExperimentalStaticTime `protobuf:"bytes,2,opt,name=static_time,json=staticTime,proto3" json:"static_time,omitempty"` CommandDeduplication *CommandDeduplicationFeatures `protobuf:"bytes,3,opt,name=command_deduplication,json=commandDeduplication,proto3" json:"command_deduplication,omitempty"` OptionalLedgerId *ExperimentalOptionalLedgerId `protobuf:"bytes,4,opt,name=optional_ledger_id,json=optionalLedgerId,proto3" json:"optional_ledger_id,omitempty"` ContractIds *ExperimentalContractIds `protobuf:"bytes,5,opt,name=contract_ids,json=contractIds,proto3" json:"contract_ids,omitempty"` // contains filtered or unexported fields }
See the feature message definitions for descriptions.
func (*ExperimentalFeatures) Descriptor
deprecated
func (*ExperimentalFeatures) Descriptor() ([]byte, []int)
Deprecated: Use ExperimentalFeatures.ProtoReflect.Descriptor instead.
func (*ExperimentalFeatures) GetCommandDeduplication ¶ added in v7.6.3
func (x *ExperimentalFeatures) GetCommandDeduplication() *CommandDeduplicationFeatures
func (*ExperimentalFeatures) GetContractIds ¶ added in v7.6.3
func (x *ExperimentalFeatures) GetContractIds() *ExperimentalContractIds
func (*ExperimentalFeatures) GetOptionalLedgerId ¶ added in v7.6.3
func (x *ExperimentalFeatures) GetOptionalLedgerId() *ExperimentalOptionalLedgerId
func (*ExperimentalFeatures) GetSelfServiceErrorCodes
deprecated
func (x *ExperimentalFeatures) GetSelfServiceErrorCodes() *ExperimentalSelfServiceErrorCodes
Deprecated: Do not use.
func (*ExperimentalFeatures) GetStaticTime ¶ added in v7.6.3
func (x *ExperimentalFeatures) GetStaticTime() *ExperimentalStaticTime
func (*ExperimentalFeatures) ProtoMessage ¶
func (*ExperimentalFeatures) ProtoMessage()
func (*ExperimentalFeatures) ProtoReflect ¶
func (x *ExperimentalFeatures) ProtoReflect() protoreflect.Message
func (*ExperimentalFeatures) Reset ¶
func (x *ExperimentalFeatures) Reset()
func (*ExperimentalFeatures) String ¶
func (x *ExperimentalFeatures) String() string
type ExperimentalOptionalLedgerId ¶ added in v7.6.3
type ExperimentalOptionalLedgerId struct {
// contains filtered or unexported fields
}
Ledger API does not require ledgerId to be set in the requests.
func (*ExperimentalOptionalLedgerId) Descriptor
deprecated
added in
v7.6.3
func (*ExperimentalOptionalLedgerId) Descriptor() ([]byte, []int)
Deprecated: Use ExperimentalOptionalLedgerId.ProtoReflect.Descriptor instead.
func (*ExperimentalOptionalLedgerId) ProtoMessage ¶ added in v7.6.3
func (*ExperimentalOptionalLedgerId) ProtoMessage()
func (*ExperimentalOptionalLedgerId) ProtoReflect ¶ added in v7.6.3
func (x *ExperimentalOptionalLedgerId) ProtoReflect() protoreflect.Message
func (*ExperimentalOptionalLedgerId) Reset ¶ added in v7.6.3
func (x *ExperimentalOptionalLedgerId) Reset()
func (*ExperimentalOptionalLedgerId) String ¶ added in v7.6.3
func (x *ExperimentalOptionalLedgerId) String() string
type ExperimentalSelfServiceErrorCodes
deprecated
type ExperimentalSelfServiceErrorCodes struct {
// contains filtered or unexported fields
}
GRPC self-service error codes are returned by the Ledger API.
Deprecated: Do not use.
func (*ExperimentalSelfServiceErrorCodes) Descriptor
deprecated
func (*ExperimentalSelfServiceErrorCodes) Descriptor() ([]byte, []int)
Deprecated: Use ExperimentalSelfServiceErrorCodes.ProtoReflect.Descriptor instead.
func (*ExperimentalSelfServiceErrorCodes) ProtoMessage ¶
func (*ExperimentalSelfServiceErrorCodes) ProtoMessage()
func (*ExperimentalSelfServiceErrorCodes) ProtoReflect ¶
func (x *ExperimentalSelfServiceErrorCodes) ProtoReflect() protoreflect.Message
func (*ExperimentalSelfServiceErrorCodes) Reset ¶
func (x *ExperimentalSelfServiceErrorCodes) Reset()
func (*ExperimentalSelfServiceErrorCodes) String ¶
func (x *ExperimentalSelfServiceErrorCodes) String() string
type ExperimentalStaticTime ¶ added in v7.6.3
type ExperimentalStaticTime struct { Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"` // contains filtered or unexported fields }
Ledger is in the static time mode and exposes a time service.
func (*ExperimentalStaticTime) Descriptor
deprecated
added in
v7.6.3
func (*ExperimentalStaticTime) Descriptor() ([]byte, []int)
Deprecated: Use ExperimentalStaticTime.ProtoReflect.Descriptor instead.
func (*ExperimentalStaticTime) GetSupported ¶ added in v7.6.3
func (x *ExperimentalStaticTime) GetSupported() bool
func (*ExperimentalStaticTime) ProtoMessage ¶ added in v7.6.3
func (*ExperimentalStaticTime) ProtoMessage()
func (*ExperimentalStaticTime) ProtoReflect ¶ added in v7.6.3
func (x *ExperimentalStaticTime) ProtoReflect() protoreflect.Message
func (*ExperimentalStaticTime) Reset ¶ added in v7.6.3
func (x *ExperimentalStaticTime) Reset()
func (*ExperimentalStaticTime) String ¶ added in v7.6.3
func (x *ExperimentalStaticTime) String() string
type FeaturesDescriptor ¶
type FeaturesDescriptor struct { // If set, then the Ledger API server supports user management. // It is recommended that clients query this field to gracefully adjust their behavior for // ledgers that do not support user management. UserManagement *UserManagementFeature `protobuf:"bytes,2,opt,name=user_management,json=userManagement,proto3" json:"user_management,omitempty"` // Features under development or features that are used // for ledger implementation testing purposes only. // // Daml applications SHOULD not depend on these in production. Experimental *ExperimentalFeatures `protobuf:"bytes,1,opt,name=experimental,proto3" json:"experimental,omitempty"` // contains filtered or unexported fields }
func (*FeaturesDescriptor) Descriptor
deprecated
func (*FeaturesDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use FeaturesDescriptor.ProtoReflect.Descriptor instead.
func (*FeaturesDescriptor) GetExperimental ¶
func (x *FeaturesDescriptor) GetExperimental() *ExperimentalFeatures
func (*FeaturesDescriptor) GetUserManagement ¶
func (x *FeaturesDescriptor) GetUserManagement() *UserManagementFeature
func (*FeaturesDescriptor) ProtoMessage ¶
func (*FeaturesDescriptor) ProtoMessage()
func (*FeaturesDescriptor) ProtoReflect ¶
func (x *FeaturesDescriptor) ProtoReflect() protoreflect.Message
func (*FeaturesDescriptor) Reset ¶
func (x *FeaturesDescriptor) Reset()
func (*FeaturesDescriptor) String ¶
func (x *FeaturesDescriptor) String() string
type Filters ¶
type Filters struct { // If not set, no filters will be applied. // Optional Inclusive *InclusiveFilters `protobuf:"bytes,1,opt,name=inclusive,proto3" json:"inclusive,omitempty"` // contains filtered or unexported fields }
func (*Filters) Descriptor
deprecated
func (*Filters) GetInclusive ¶
func (x *Filters) GetInclusive() *InclusiveFilters
func (*Filters) ProtoMessage ¶
func (*Filters) ProtoMessage()
func (*Filters) ProtoReflect ¶
func (x *Filters) ProtoReflect() protoreflect.Message
type GenMap ¶
type GenMap struct { Entries []*GenMap_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*GenMap) Descriptor
deprecated
func (*GenMap) GetEntries ¶
func (x *GenMap) GetEntries() []*GenMap_Entry
func (*GenMap) ProtoMessage ¶
func (*GenMap) ProtoMessage()
func (*GenMap) ProtoReflect ¶
func (x *GenMap) ProtoReflect() protoreflect.Message
type GenMap_Entry ¶
type GenMap_Entry struct { Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GenMap_Entry) Descriptor
deprecated
func (*GenMap_Entry) Descriptor() ([]byte, []int)
Deprecated: Use GenMap_Entry.ProtoReflect.Descriptor instead.
func (*GenMap_Entry) GetKey ¶
func (x *GenMap_Entry) GetKey() *Value
func (*GenMap_Entry) GetValue ¶
func (x *GenMap_Entry) GetValue() *Value
func (*GenMap_Entry) ProtoMessage ¶
func (*GenMap_Entry) ProtoMessage()
func (*GenMap_Entry) ProtoReflect ¶
func (x *GenMap_Entry) ProtoReflect() protoreflect.Message
func (*GenMap_Entry) Reset ¶
func (x *GenMap_Entry) Reset()
func (*GenMap_Entry) String ¶
func (x *GenMap_Entry) String() string
type GetActiveContractsRequest ¶
type GetActiveContractsRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // Templates to include in the served snapshot, per party. // Required Filter *TransactionFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // If enabled, values served over the API will contain more information than strictly necessary to interpret the data. // In particular, setting the verbose flag to true triggers the ledger to include labels for record fields. // Optional Verbose bool `protobuf:"varint,3,opt,name=verbose,proto3" json:"verbose,omitempty"` // contains filtered or unexported fields }
func (*GetActiveContractsRequest) Descriptor
deprecated
func (*GetActiveContractsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveContractsRequest.ProtoReflect.Descriptor instead.
func (*GetActiveContractsRequest) GetFilter ¶
func (x *GetActiveContractsRequest) GetFilter() *TransactionFilter
func (*GetActiveContractsRequest) GetLedgerId ¶
func (x *GetActiveContractsRequest) GetLedgerId() string
func (*GetActiveContractsRequest) GetVerbose ¶
func (x *GetActiveContractsRequest) GetVerbose() bool
func (*GetActiveContractsRequest) ProtoMessage ¶
func (*GetActiveContractsRequest) ProtoMessage()
func (*GetActiveContractsRequest) ProtoReflect ¶
func (x *GetActiveContractsRequest) ProtoReflect() protoreflect.Message
func (*GetActiveContractsRequest) Reset ¶
func (x *GetActiveContractsRequest) Reset()
func (*GetActiveContractsRequest) String ¶
func (x *GetActiveContractsRequest) String() string
type GetActiveContractsResponse ¶
type GetActiveContractsResponse struct { // Included in the last message. // The client should start consuming the transactions endpoint with this offset. // The format of this field is described in “ledger_offset.proto“. // Required Offset string `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"` // The workflow that created the contracts. // Must be a valid LedgerString (as described in “value.proto“). // Optional WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // The list of contracts that were introduced by the workflow with “workflow_id“ at the offset. // Must be a valid LedgerString (as described in “value.proto“). // Optional ActiveContracts []*CreatedEvent `protobuf:"bytes,3,rep,name=active_contracts,json=activeContracts,proto3" json:"active_contracts,omitempty"` // contains filtered or unexported fields }
func (*GetActiveContractsResponse) Descriptor
deprecated
func (*GetActiveContractsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveContractsResponse.ProtoReflect.Descriptor instead.
func (*GetActiveContractsResponse) GetActiveContracts ¶
func (x *GetActiveContractsResponse) GetActiveContracts() []*CreatedEvent
func (*GetActiveContractsResponse) GetOffset ¶
func (x *GetActiveContractsResponse) GetOffset() string
func (*GetActiveContractsResponse) GetWorkflowId ¶
func (x *GetActiveContractsResponse) GetWorkflowId() string
func (*GetActiveContractsResponse) ProtoMessage ¶
func (*GetActiveContractsResponse) ProtoMessage()
func (*GetActiveContractsResponse) ProtoReflect ¶
func (x *GetActiveContractsResponse) ProtoReflect() protoreflect.Message
func (*GetActiveContractsResponse) Reset ¶
func (x *GetActiveContractsResponse) Reset()
func (*GetActiveContractsResponse) String ¶
func (x *GetActiveContractsResponse) String() string
type GetFlatTransactionResponse ¶
type GetFlatTransactionResponse struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
func (*GetFlatTransactionResponse) Descriptor
deprecated
func (*GetFlatTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFlatTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetFlatTransactionResponse) GetTransaction ¶
func (x *GetFlatTransactionResponse) GetTransaction() *Transaction
func (*GetFlatTransactionResponse) ProtoMessage ¶
func (*GetFlatTransactionResponse) ProtoMessage()
func (*GetFlatTransactionResponse) ProtoReflect ¶
func (x *GetFlatTransactionResponse) ProtoReflect() protoreflect.Message
func (*GetFlatTransactionResponse) Reset ¶
func (x *GetFlatTransactionResponse) Reset()
func (*GetFlatTransactionResponse) String ¶
func (x *GetFlatTransactionResponse) String() string
type GetLedgerApiVersionRequest ¶
type GetLedgerApiVersionRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // contains filtered or unexported fields }
func (*GetLedgerApiVersionRequest) Descriptor
deprecated
func (*GetLedgerApiVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerApiVersionRequest.ProtoReflect.Descriptor instead.
func (*GetLedgerApiVersionRequest) GetLedgerId ¶
func (x *GetLedgerApiVersionRequest) GetLedgerId() string
func (*GetLedgerApiVersionRequest) ProtoMessage ¶
func (*GetLedgerApiVersionRequest) ProtoMessage()
func (*GetLedgerApiVersionRequest) ProtoReflect ¶
func (x *GetLedgerApiVersionRequest) ProtoReflect() protoreflect.Message
func (*GetLedgerApiVersionRequest) Reset ¶
func (x *GetLedgerApiVersionRequest) Reset()
func (*GetLedgerApiVersionRequest) String ¶
func (x *GetLedgerApiVersionRequest) String() string
type GetLedgerApiVersionResponse ¶
type GetLedgerApiVersionResponse struct { // The version of the ledger API. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // The features supported by this Ledger API endpoint. // // Daml applications CAN use the feature descriptor on top of // version constraints on the Ledger API version to determine // whether a given Ledger API endpoint supports the features // required to run the application. // // See the feature descriptions themselves for the relation between // Ledger API versions and feature presence. Features *FeaturesDescriptor `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"` // contains filtered or unexported fields }
func (*GetLedgerApiVersionResponse) Descriptor
deprecated
func (*GetLedgerApiVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerApiVersionResponse.ProtoReflect.Descriptor instead.
func (*GetLedgerApiVersionResponse) GetFeatures ¶
func (x *GetLedgerApiVersionResponse) GetFeatures() *FeaturesDescriptor
func (*GetLedgerApiVersionResponse) GetVersion ¶
func (x *GetLedgerApiVersionResponse) GetVersion() string
func (*GetLedgerApiVersionResponse) ProtoMessage ¶
func (*GetLedgerApiVersionResponse) ProtoMessage()
func (*GetLedgerApiVersionResponse) ProtoReflect ¶
func (x *GetLedgerApiVersionResponse) ProtoReflect() protoreflect.Message
func (*GetLedgerApiVersionResponse) Reset ¶
func (x *GetLedgerApiVersionResponse) Reset()
func (*GetLedgerApiVersionResponse) String ¶
func (x *GetLedgerApiVersionResponse) String() string
type GetLedgerConfigurationRequest ¶
type GetLedgerConfigurationRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // contains filtered or unexported fields }
func (*GetLedgerConfigurationRequest) Descriptor
deprecated
func (*GetLedgerConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetLedgerConfigurationRequest) GetLedgerId ¶
func (x *GetLedgerConfigurationRequest) GetLedgerId() string
func (*GetLedgerConfigurationRequest) ProtoMessage ¶
func (*GetLedgerConfigurationRequest) ProtoMessage()
func (*GetLedgerConfigurationRequest) ProtoReflect ¶
func (x *GetLedgerConfigurationRequest) ProtoReflect() protoreflect.Message
func (*GetLedgerConfigurationRequest) Reset ¶
func (x *GetLedgerConfigurationRequest) Reset()
func (*GetLedgerConfigurationRequest) String ¶
func (x *GetLedgerConfigurationRequest) String() string
type GetLedgerConfigurationResponse ¶
type GetLedgerConfigurationResponse struct { // The latest ledger configuration. LedgerConfiguration *LedgerConfiguration `protobuf:"bytes,1,opt,name=ledger_configuration,json=ledgerConfiguration,proto3" json:"ledger_configuration,omitempty"` // contains filtered or unexported fields }
func (*GetLedgerConfigurationResponse) Descriptor
deprecated
func (*GetLedgerConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerConfigurationResponse.ProtoReflect.Descriptor instead.
func (*GetLedgerConfigurationResponse) GetLedgerConfiguration ¶
func (x *GetLedgerConfigurationResponse) GetLedgerConfiguration() *LedgerConfiguration
func (*GetLedgerConfigurationResponse) ProtoMessage ¶
func (*GetLedgerConfigurationResponse) ProtoMessage()
func (*GetLedgerConfigurationResponse) ProtoReflect ¶
func (x *GetLedgerConfigurationResponse) ProtoReflect() protoreflect.Message
func (*GetLedgerConfigurationResponse) Reset ¶
func (x *GetLedgerConfigurationResponse) Reset()
func (*GetLedgerConfigurationResponse) String ¶
func (x *GetLedgerConfigurationResponse) String() string
type GetLedgerEndRequest ¶
type GetLedgerEndRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as describe in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // contains filtered or unexported fields }
func (*GetLedgerEndRequest) Descriptor
deprecated
func (*GetLedgerEndRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerEndRequest.ProtoReflect.Descriptor instead.
func (*GetLedgerEndRequest) GetLedgerId ¶
func (x *GetLedgerEndRequest) GetLedgerId() string
func (*GetLedgerEndRequest) ProtoMessage ¶
func (*GetLedgerEndRequest) ProtoMessage()
func (*GetLedgerEndRequest) ProtoReflect ¶
func (x *GetLedgerEndRequest) ProtoReflect() protoreflect.Message
func (*GetLedgerEndRequest) Reset ¶
func (x *GetLedgerEndRequest) Reset()
func (*GetLedgerEndRequest) String ¶
func (x *GetLedgerEndRequest) String() string
type GetLedgerEndResponse ¶
type GetLedgerEndResponse struct { // The absolute offset of the current ledger end. Offset *LedgerOffset `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetLedgerEndResponse) Descriptor
deprecated
func (*GetLedgerEndResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerEndResponse.ProtoReflect.Descriptor instead.
func (*GetLedgerEndResponse) GetOffset ¶
func (x *GetLedgerEndResponse) GetOffset() *LedgerOffset
func (*GetLedgerEndResponse) ProtoMessage ¶
func (*GetLedgerEndResponse) ProtoMessage()
func (*GetLedgerEndResponse) ProtoReflect ¶
func (x *GetLedgerEndResponse) ProtoReflect() protoreflect.Message
func (*GetLedgerEndResponse) Reset ¶
func (x *GetLedgerEndResponse) Reset()
func (*GetLedgerEndResponse) String ¶
func (x *GetLedgerEndResponse) String() string
type GetLedgerIdentityRequest
deprecated
type GetLedgerIdentityRequest struct {
// contains filtered or unexported fields
}
Deprecated: Do not use.
func (*GetLedgerIdentityRequest) Descriptor
deprecated
func (*GetLedgerIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerIdentityRequest.ProtoReflect.Descriptor instead.
func (*GetLedgerIdentityRequest) ProtoMessage ¶
func (*GetLedgerIdentityRequest) ProtoMessage()
func (*GetLedgerIdentityRequest) ProtoReflect ¶
func (x *GetLedgerIdentityRequest) ProtoReflect() protoreflect.Message
func (*GetLedgerIdentityRequest) Reset ¶
func (x *GetLedgerIdentityRequest) Reset()
func (*GetLedgerIdentityRequest) String ¶
func (x *GetLedgerIdentityRequest) String() string
type GetLedgerIdentityResponse
deprecated
type GetLedgerIdentityResponse struct { // The ID of the ledger exposed by the server. // Must be a valid LedgerString (as described in “value.proto“). // Optional // // Deprecated: Do not use. LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // contains filtered or unexported fields }
Deprecated: Do not use.
func (*GetLedgerIdentityResponse) Descriptor
deprecated
func (*GetLedgerIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerIdentityResponse.ProtoReflect.Descriptor instead.
func (*GetLedgerIdentityResponse) GetLedgerId
deprecated
func (x *GetLedgerIdentityResponse) GetLedgerId() string
Deprecated: Do not use.
func (*GetLedgerIdentityResponse) ProtoMessage ¶
func (*GetLedgerIdentityResponse) ProtoMessage()
func (*GetLedgerIdentityResponse) ProtoReflect ¶
func (x *GetLedgerIdentityResponse) ProtoReflect() protoreflect.Message
func (*GetLedgerIdentityResponse) Reset ¶
func (x *GetLedgerIdentityResponse) Reset()
func (*GetLedgerIdentityResponse) String ¶
func (x *GetLedgerIdentityResponse) String() string
type GetPackageRequest ¶
type GetPackageRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // The ID of the requested package. // Must be a valid PackageIdString (as described in “value.proto“). // Required PackageId string `protobuf:"bytes,2,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` // contains filtered or unexported fields }
func (*GetPackageRequest) Descriptor
deprecated
func (*GetPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.
func (*GetPackageRequest) GetLedgerId ¶
func (x *GetPackageRequest) GetLedgerId() string
func (*GetPackageRequest) GetPackageId ¶
func (x *GetPackageRequest) GetPackageId() string
func (*GetPackageRequest) ProtoMessage ¶
func (*GetPackageRequest) ProtoMessage()
func (*GetPackageRequest) ProtoReflect ¶
func (x *GetPackageRequest) ProtoReflect() protoreflect.Message
func (*GetPackageRequest) Reset ¶
func (x *GetPackageRequest) Reset()
func (*GetPackageRequest) String ¶
func (x *GetPackageRequest) String() string
type GetPackageResponse ¶
type GetPackageResponse struct { // The hash function we use to calculate the hash. // Required HashFunction HashFunction `` /* 139-byte string literal not displayed */ // Contains a “daml_lf“ ArchivePayload. See further details in “daml_lf.proto“. // Required ArchivePayload []byte `protobuf:"bytes,2,opt,name=archive_payload,json=archivePayload,proto3" json:"archive_payload,omitempty"` // The hash of the archive payload, can also used as a “package_id“. // Must be a valid PackageIdString (as described in “value.proto“). // Required Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*GetPackageResponse) Descriptor
deprecated
func (*GetPackageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPackageResponse.ProtoReflect.Descriptor instead.
func (*GetPackageResponse) GetArchivePayload ¶
func (x *GetPackageResponse) GetArchivePayload() []byte
func (*GetPackageResponse) GetHash ¶
func (x *GetPackageResponse) GetHash() string
func (*GetPackageResponse) GetHashFunction ¶
func (x *GetPackageResponse) GetHashFunction() HashFunction
func (*GetPackageResponse) ProtoMessage ¶
func (*GetPackageResponse) ProtoMessage()
func (*GetPackageResponse) ProtoReflect ¶
func (x *GetPackageResponse) ProtoReflect() protoreflect.Message
func (*GetPackageResponse) Reset ¶
func (x *GetPackageResponse) Reset()
func (*GetPackageResponse) String ¶
func (x *GetPackageResponse) String() string
type GetPackageStatusRequest ¶
type GetPackageStatusRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // The ID of the requested package. // Must be a valid PackageIdString (as described in “value.proto“). // Required PackageId string `protobuf:"bytes,2,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` // contains filtered or unexported fields }
func (*GetPackageStatusRequest) Descriptor
deprecated
func (*GetPackageStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPackageStatusRequest.ProtoReflect.Descriptor instead.
func (*GetPackageStatusRequest) GetLedgerId ¶
func (x *GetPackageStatusRequest) GetLedgerId() string
func (*GetPackageStatusRequest) GetPackageId ¶
func (x *GetPackageStatusRequest) GetPackageId() string
func (*GetPackageStatusRequest) ProtoMessage ¶
func (*GetPackageStatusRequest) ProtoMessage()
func (*GetPackageStatusRequest) ProtoReflect ¶
func (x *GetPackageStatusRequest) ProtoReflect() protoreflect.Message
func (*GetPackageStatusRequest) Reset ¶
func (x *GetPackageStatusRequest) Reset()
func (*GetPackageStatusRequest) String ¶
func (x *GetPackageStatusRequest) String() string
type GetPackageStatusResponse ¶
type GetPackageStatusResponse struct { // The status of the package. PackageStatus PackageStatus `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetPackageStatusResponse) Descriptor
deprecated
func (*GetPackageStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPackageStatusResponse.ProtoReflect.Descriptor instead.
func (*GetPackageStatusResponse) GetPackageStatus ¶
func (x *GetPackageStatusResponse) GetPackageStatus() PackageStatus
func (*GetPackageStatusResponse) ProtoMessage ¶
func (*GetPackageStatusResponse) ProtoMessage()
func (*GetPackageStatusResponse) ProtoReflect ¶
func (x *GetPackageStatusResponse) ProtoReflect() protoreflect.Message
func (*GetPackageStatusResponse) Reset ¶
func (x *GetPackageStatusResponse) Reset()
func (*GetPackageStatusResponse) String ¶
func (x *GetPackageStatusResponse) String() string
type GetTransactionByEventIdRequest ¶
type GetTransactionByEventIdRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // The ID of a particular event. // Must be a valid LedgerString (as described in “value.proto“). // Required EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // The parties whose events the client expects to see. // Events that are not visible for the parties in this collection will not be present in the response. // Each element must be a valid PartyIdString (as described in “value.proto“). // Required RequestingParties []string `protobuf:"bytes,3,rep,name=requesting_parties,json=requestingParties,proto3" json:"requesting_parties,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionByEventIdRequest) Descriptor
deprecated
func (*GetTransactionByEventIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionByEventIdRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionByEventIdRequest) GetEventId ¶
func (x *GetTransactionByEventIdRequest) GetEventId() string
func (*GetTransactionByEventIdRequest) GetLedgerId ¶
func (x *GetTransactionByEventIdRequest) GetLedgerId() string
func (*GetTransactionByEventIdRequest) GetRequestingParties ¶
func (x *GetTransactionByEventIdRequest) GetRequestingParties() []string
func (*GetTransactionByEventIdRequest) ProtoMessage ¶
func (*GetTransactionByEventIdRequest) ProtoMessage()
func (*GetTransactionByEventIdRequest) ProtoReflect ¶
func (x *GetTransactionByEventIdRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionByEventIdRequest) Reset ¶
func (x *GetTransactionByEventIdRequest) Reset()
func (*GetTransactionByEventIdRequest) String ¶
func (x *GetTransactionByEventIdRequest) String() string
type GetTransactionByIdRequest ¶
type GetTransactionByIdRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as describe in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // The ID of a particular transaction. // Must be a valid LedgerString (as describe in “value.proto“). // Required TransactionId string `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // The parties whose events the client expects to see. // Events that are not visible for the parties in this collection will not be present in the response. // Each element be a valid PartyIdString (as describe in “value.proto“). // Required RequestingParties []string `protobuf:"bytes,3,rep,name=requesting_parties,json=requestingParties,proto3" json:"requesting_parties,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionByIdRequest) Descriptor
deprecated
func (*GetTransactionByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionByIdRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionByIdRequest) GetLedgerId ¶
func (x *GetTransactionByIdRequest) GetLedgerId() string
func (*GetTransactionByIdRequest) GetRequestingParties ¶
func (x *GetTransactionByIdRequest) GetRequestingParties() []string
func (*GetTransactionByIdRequest) GetTransactionId ¶
func (x *GetTransactionByIdRequest) GetTransactionId() string
func (*GetTransactionByIdRequest) ProtoMessage ¶
func (*GetTransactionByIdRequest) ProtoMessage()
func (*GetTransactionByIdRequest) ProtoReflect ¶
func (x *GetTransactionByIdRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionByIdRequest) Reset ¶
func (x *GetTransactionByIdRequest) Reset()
func (*GetTransactionByIdRequest) String ¶
func (x *GetTransactionByIdRequest) String() string
type GetTransactionResponse ¶
type GetTransactionResponse struct { Transaction *TransactionTree `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionResponse) Descriptor
deprecated
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionResponse) GetTransaction ¶
func (x *GetTransactionResponse) GetTransaction() *TransactionTree
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) ProtoReflect ¶
func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionResponse) Reset ¶
func (x *GetTransactionResponse) Reset()
func (*GetTransactionResponse) String ¶
func (x *GetTransactionResponse) String() string
type GetTransactionTreesResponse ¶
type GetTransactionTreesResponse struct { // The list of transaction trees that matches the filter in “GetTransactionsRequest“ for the “GetTransactionTrees“ method. Transactions []*TransactionTree `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionTreesResponse) Descriptor
deprecated
func (*GetTransactionTreesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionTreesResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionTreesResponse) GetTransactions ¶
func (x *GetTransactionTreesResponse) GetTransactions() []*TransactionTree
func (*GetTransactionTreesResponse) ProtoMessage ¶
func (*GetTransactionTreesResponse) ProtoMessage()
func (*GetTransactionTreesResponse) ProtoReflect ¶
func (x *GetTransactionTreesResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionTreesResponse) Reset ¶
func (x *GetTransactionTreesResponse) Reset()
func (*GetTransactionTreesResponse) String ¶
func (x *GetTransactionTreesResponse) String() string
type GetTransactionsRequest ¶
type GetTransactionsRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // Beginning of the requested ledger section. // This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this. // Required Begin *LedgerOffset `protobuf:"bytes,2,opt,name=begin,proto3" json:"begin,omitempty"` // End of the requested ledger section. // This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this. // Optional, if not set, the stream will not terminate. End *LedgerOffset `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` // Requesting parties with template filters. // Template filters must be empty for GetTransactionTrees requests. // Required Filter *TransactionFilter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // If enabled, values served over the API will contain more information than strictly necessary to interpret the data. // In particular, setting the verbose flag to true triggers the ledger to include labels for record fields. // Optional Verbose bool `protobuf:"varint,5,opt,name=verbose,proto3" json:"verbose,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionsRequest) Descriptor
deprecated
func (*GetTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionsRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionsRequest) GetBegin ¶
func (x *GetTransactionsRequest) GetBegin() *LedgerOffset
func (*GetTransactionsRequest) GetEnd ¶
func (x *GetTransactionsRequest) GetEnd() *LedgerOffset
func (*GetTransactionsRequest) GetFilter ¶
func (x *GetTransactionsRequest) GetFilter() *TransactionFilter
func (*GetTransactionsRequest) GetLedgerId ¶
func (x *GetTransactionsRequest) GetLedgerId() string
func (*GetTransactionsRequest) GetVerbose ¶
func (x *GetTransactionsRequest) GetVerbose() bool
func (*GetTransactionsRequest) ProtoMessage ¶
func (*GetTransactionsRequest) ProtoMessage()
func (*GetTransactionsRequest) ProtoReflect ¶
func (x *GetTransactionsRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionsRequest) Reset ¶
func (x *GetTransactionsRequest) Reset()
func (*GetTransactionsRequest) String ¶
func (x *GetTransactionsRequest) String() string
type GetTransactionsResponse ¶
type GetTransactionsResponse struct { // The list of transactions that matches the filter in GetTransactionsRequest for the GetTransactions method. Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionsResponse) Descriptor
deprecated
func (*GetTransactionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionsResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionsResponse) GetTransactions ¶
func (x *GetTransactionsResponse) GetTransactions() []*Transaction
func (*GetTransactionsResponse) ProtoMessage ¶
func (*GetTransactionsResponse) ProtoMessage()
func (*GetTransactionsResponse) ProtoReflect ¶
func (x *GetTransactionsResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionsResponse) Reset ¶
func (x *GetTransactionsResponse) Reset()
func (*GetTransactionsResponse) String ¶
func (x *GetTransactionsResponse) String() string
type HashFunction ¶
type HashFunction int32
const (
HashFunction_SHA256 HashFunction = 0
)
func (HashFunction) Descriptor ¶
func (HashFunction) Descriptor() protoreflect.EnumDescriptor
func (HashFunction) Enum ¶
func (x HashFunction) Enum() *HashFunction
func (HashFunction) EnumDescriptor
deprecated
func (HashFunction) EnumDescriptor() ([]byte, []int)
Deprecated: Use HashFunction.Descriptor instead.
func (HashFunction) Number ¶
func (x HashFunction) Number() protoreflect.EnumNumber
func (HashFunction) String ¶
func (x HashFunction) String() string
func (HashFunction) Type ¶
func (HashFunction) Type() protoreflect.EnumType
type Identifier ¶
type Identifier struct { // The identifier of the Daml package that contains the entity. // Must be a valid PackageIdString. // Required PackageId string `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` // The dot-separated module name of the identifier. // Required ModuleName string `protobuf:"bytes,3,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` // The dot-separated name of the entity (e.g. record, template, ...) within the module. // Required EntityName string `protobuf:"bytes,4,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"` // contains filtered or unexported fields }
Unique identifier of an entity.
func (*Identifier) Descriptor
deprecated
func (*Identifier) Descriptor() ([]byte, []int)
Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) GetEntityName ¶
func (x *Identifier) GetEntityName() string
func (*Identifier) GetModuleName ¶
func (x *Identifier) GetModuleName() string
func (*Identifier) GetPackageId ¶
func (x *Identifier) GetPackageId() string
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) ProtoReflect ¶
func (x *Identifier) ProtoReflect() protoreflect.Message
func (*Identifier) Reset ¶
func (x *Identifier) Reset()
func (*Identifier) String ¶
func (x *Identifier) String() string
type InclusiveFilters ¶
type InclusiveFilters struct { // A collection of templates. // SHOULD NOT contain duplicates. // Required TemplateIds []*Identifier `protobuf:"bytes,1,rep,name=template_ids,json=templateIds,proto3" json:"template_ids,omitempty"` // contains filtered or unexported fields }
If no internal fields are set, no filters will be applied.
func (*InclusiveFilters) Descriptor
deprecated
func (*InclusiveFilters) Descriptor() ([]byte, []int)
Deprecated: Use InclusiveFilters.ProtoReflect.Descriptor instead.
func (*InclusiveFilters) GetTemplateIds ¶
func (x *InclusiveFilters) GetTemplateIds() []*Identifier
func (*InclusiveFilters) ProtoMessage ¶
func (*InclusiveFilters) ProtoMessage()
func (*InclusiveFilters) ProtoReflect ¶
func (x *InclusiveFilters) ProtoReflect() protoreflect.Message
func (*InclusiveFilters) Reset ¶
func (x *InclusiveFilters) Reset()
func (*InclusiveFilters) String ¶
func (x *InclusiveFilters) String() string
type LedgerConfiguration ¶
type LedgerConfiguration struct { // If a command submission specifies a deduplication period of length up to “max_deduplication_duration“, // the submission SHOULD not be rejected with “FAILED_PRECONDITION“ because the deduplication period starts too early. // The deduplication period is measured on a local clock of the participant or Daml ledger, // and therefore subject to clock skews and clock drifts. // Command submissions with longer periods MAY get accepted though. MaxDeduplicationDuration *durationpb.Duration `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
LedgerConfiguration contains parameters of the ledger instance that may be useful to clients.
func (*LedgerConfiguration) Descriptor
deprecated
func (*LedgerConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use LedgerConfiguration.ProtoReflect.Descriptor instead.
func (*LedgerConfiguration) GetMaxDeduplicationDuration ¶ added in v7.6.5
func (x *LedgerConfiguration) GetMaxDeduplicationDuration() *durationpb.Duration
func (*LedgerConfiguration) ProtoMessage ¶
func (*LedgerConfiguration) ProtoMessage()
func (*LedgerConfiguration) ProtoReflect ¶
func (x *LedgerConfiguration) ProtoReflect() protoreflect.Message
func (*LedgerConfiguration) Reset ¶
func (x *LedgerConfiguration) Reset()
func (*LedgerConfiguration) String ¶
func (x *LedgerConfiguration) String() string
type LedgerConfigurationServiceClient ¶
type LedgerConfigurationServiceClient interface { // Returns the latest configuration as the first response, and publishes configuration updates in the same stream. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id GetLedgerConfiguration(ctx context.Context, in *GetLedgerConfigurationRequest, opts ...grpc.CallOption) (LedgerConfigurationService_GetLedgerConfigurationClient, error) }
LedgerConfigurationServiceClient is the client API for LedgerConfigurationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLedgerConfigurationServiceClient ¶
func NewLedgerConfigurationServiceClient(cc grpc.ClientConnInterface) LedgerConfigurationServiceClient
type LedgerConfigurationServiceServer ¶
type LedgerConfigurationServiceServer interface { // Returns the latest configuration as the first response, and publishes configuration updates in the same stream. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id GetLedgerConfiguration(*GetLedgerConfigurationRequest, LedgerConfigurationService_GetLedgerConfigurationServer) error // contains filtered or unexported methods }
LedgerConfigurationServiceServer is the server API for LedgerConfigurationService service. All implementations must embed UnimplementedLedgerConfigurationServiceServer for forward compatibility
type LedgerConfigurationService_GetLedgerConfigurationClient ¶
type LedgerConfigurationService_GetLedgerConfigurationClient interface { Recv() (*GetLedgerConfigurationResponse, error) grpc.ClientStream }
type LedgerConfigurationService_GetLedgerConfigurationServer ¶
type LedgerConfigurationService_GetLedgerConfigurationServer interface { Send(*GetLedgerConfigurationResponse) error grpc.ServerStream }
type LedgerIdentityServiceClient
deprecated
type LedgerIdentityServiceClient interface { // Deprecated: Do not use. // Clients may call this RPC to return the identifier of the ledger they are connected to. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation GetLedgerIdentity(ctx context.Context, in *GetLedgerIdentityRequest, opts ...grpc.CallOption) (*GetLedgerIdentityResponse, error) }
LedgerIdentityServiceClient is the client API for LedgerIdentityService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Deprecated: Do not use.
func NewLedgerIdentityServiceClient
deprecated
func NewLedgerIdentityServiceClient(cc grpc.ClientConnInterface) LedgerIdentityServiceClient
Deprecated: Do not use.
type LedgerIdentityServiceServer
deprecated
type LedgerIdentityServiceServer interface { // Deprecated: Do not use. // Clients may call this RPC to return the identifier of the ledger they are connected to. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation GetLedgerIdentity(context.Context, *GetLedgerIdentityRequest) (*GetLedgerIdentityResponse, error) // contains filtered or unexported methods }
LedgerIdentityServiceServer is the server API for LedgerIdentityService service. All implementations must embed UnimplementedLedgerIdentityServiceServer for forward compatibility
Deprecated: Do not use.
type LedgerOffset ¶
type LedgerOffset struct { // Types that are assignable to Value: // *LedgerOffset_Absolute // *LedgerOffset_Boundary Value isLedgerOffset_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
Describes a specific point on the ledger.
The Ledger API endpoints that take offsets allow to specify portions of the ledger that are relevant for the client to read.
Offsets returned by the Ledger API can be used as-is (e.g. to keep track of processed transactions and provide a restart point to use in case of need).
The format of absolute offsets is opaque to the client: no client-side transformation of an offset is guaranteed to return a meaningful offset.
The server implementation ensures internally that offsets are lexicographically comparable.
func (*LedgerOffset) Descriptor
deprecated
func (*LedgerOffset) Descriptor() ([]byte, []int)
Deprecated: Use LedgerOffset.ProtoReflect.Descriptor instead.
func (*LedgerOffset) GetAbsolute ¶
func (x *LedgerOffset) GetAbsolute() string
func (*LedgerOffset) GetBoundary ¶
func (x *LedgerOffset) GetBoundary() LedgerOffset_LedgerBoundary
func (*LedgerOffset) GetValue ¶
func (m *LedgerOffset) GetValue() isLedgerOffset_Value
func (*LedgerOffset) ProtoMessage ¶
func (*LedgerOffset) ProtoMessage()
func (*LedgerOffset) ProtoReflect ¶
func (x *LedgerOffset) ProtoReflect() protoreflect.Message
func (*LedgerOffset) Reset ¶
func (x *LedgerOffset) Reset()
func (*LedgerOffset) String ¶
func (x *LedgerOffset) String() string
type LedgerOffset_Absolute ¶
type LedgerOffset_Absolute struct { // The format of this string is specific to the ledger and opaque to the client. Absolute string `protobuf:"bytes,1,opt,name=absolute,proto3,oneof"` }
type LedgerOffset_Boundary ¶
type LedgerOffset_Boundary struct {
Boundary LedgerOffset_LedgerBoundary `protobuf:"varint,2,opt,name=boundary,proto3,enum=com.daml.ledger.api.v1.LedgerOffset_LedgerBoundary,oneof"`
}
type LedgerOffset_LedgerBoundary ¶
type LedgerOffset_LedgerBoundary int32
const ( // Refers to the first transaction. LedgerOffset_LEDGER_BEGIN LedgerOffset_LedgerBoundary = 0 // Refers to the currently last transaction, which is a moving target. LedgerOffset_LEDGER_END LedgerOffset_LedgerBoundary = 1 )
func (LedgerOffset_LedgerBoundary) Descriptor ¶
func (LedgerOffset_LedgerBoundary) Descriptor() protoreflect.EnumDescriptor
func (LedgerOffset_LedgerBoundary) Enum ¶
func (x LedgerOffset_LedgerBoundary) Enum() *LedgerOffset_LedgerBoundary
func (LedgerOffset_LedgerBoundary) EnumDescriptor
deprecated
func (LedgerOffset_LedgerBoundary) EnumDescriptor() ([]byte, []int)
Deprecated: Use LedgerOffset_LedgerBoundary.Descriptor instead.
func (LedgerOffset_LedgerBoundary) Number ¶
func (x LedgerOffset_LedgerBoundary) Number() protoreflect.EnumNumber
func (LedgerOffset_LedgerBoundary) String ¶
func (x LedgerOffset_LedgerBoundary) String() string
func (LedgerOffset_LedgerBoundary) Type ¶
func (LedgerOffset_LedgerBoundary) Type() protoreflect.EnumType
type List ¶
type List struct { // The elements must all be of the same concrete value type. // Optional Elements []*Value `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` // contains filtered or unexported fields }
A homogenous collection of values.
func (*List) Descriptor
deprecated
func (*List) GetElements ¶
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) ProtoReflect ¶
func (x *List) ProtoReflect() protoreflect.Message
type ListPackagesRequest ¶
type ListPackagesRequest struct { // Must correspond to the ledger ID reported by the Ledger Identification Service. // Must be a valid LedgerString (as described in “value.proto“). // Optional LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // contains filtered or unexported fields }
func (*ListPackagesRequest) Descriptor
deprecated
func (*ListPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPackagesRequest.ProtoReflect.Descriptor instead.
func (*ListPackagesRequest) GetLedgerId ¶
func (x *ListPackagesRequest) GetLedgerId() string
func (*ListPackagesRequest) ProtoMessage ¶
func (*ListPackagesRequest) ProtoMessage()
func (*ListPackagesRequest) ProtoReflect ¶
func (x *ListPackagesRequest) ProtoReflect() protoreflect.Message
func (*ListPackagesRequest) Reset ¶
func (x *ListPackagesRequest) Reset()
func (*ListPackagesRequest) String ¶
func (x *ListPackagesRequest) String() string
type ListPackagesResponse ¶
type ListPackagesResponse struct { // The IDs of all Daml-LF packages supported by the server. // Each element must be a valid PackageIdString (as described in “value.proto“). // Required PackageIds []string `protobuf:"bytes,1,rep,name=package_ids,json=packageIds,proto3" json:"package_ids,omitempty"` // contains filtered or unexported fields }
func (*ListPackagesResponse) Descriptor
deprecated
func (*ListPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPackagesResponse.ProtoReflect.Descriptor instead.
func (*ListPackagesResponse) GetPackageIds ¶
func (x *ListPackagesResponse) GetPackageIds() []string
func (*ListPackagesResponse) ProtoMessage ¶
func (*ListPackagesResponse) ProtoMessage()
func (*ListPackagesResponse) ProtoReflect ¶
func (x *ListPackagesResponse) ProtoReflect() protoreflect.Message
func (*ListPackagesResponse) Reset ¶
func (x *ListPackagesResponse) Reset()
func (*ListPackagesResponse) String ¶
func (x *ListPackagesResponse) String() string
type Map ¶
type Map struct { Entries []*Map_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*Map) Descriptor
deprecated
func (*Map) GetEntries ¶
func (*Map) ProtoMessage ¶
func (*Map) ProtoMessage()
func (*Map) ProtoReflect ¶
func (x *Map) ProtoReflect() protoreflect.Message
type Map_Entry ¶
type Map_Entry struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Map_Entry) Descriptor
deprecated
func (*Map_Entry) ProtoMessage ¶
func (*Map_Entry) ProtoMessage()
func (*Map_Entry) ProtoReflect ¶
func (x *Map_Entry) ProtoReflect() protoreflect.Message
type Optional ¶
type Optional struct { Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // optional // contains filtered or unexported fields }
Corresponds to Java's Optional type, Scala's Option, and Haskell's Maybe. The reason why we need to wrap this in an additional “message“ is that we need to be able to encode the “None“ case in the “Value“ oneof.
func (*Optional) Descriptor
deprecated
func (*Optional) ProtoMessage ¶
func (*Optional) ProtoMessage()
func (*Optional) ProtoReflect ¶
func (x *Optional) ProtoReflect() protoreflect.Message
type PackageServiceClient ¶
type PackageServiceClient interface { // Returns the identifiers of all supported packages. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id ListPackages(ctx context.Context, in *ListPackagesRequest, opts ...grpc.CallOption) (*ListPackagesResponse, error) // Returns the contents of a single package. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the requested package is unknown GetPackage(ctx context.Context, in *GetPackageRequest, opts ...grpc.CallOption) (*GetPackageResponse, error) // Returns the status of a single package. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the requested package is unknown GetPackageStatus(ctx context.Context, in *GetPackageStatusRequest, opts ...grpc.CallOption) (*GetPackageStatusResponse, error) }
PackageServiceClient is the client API for PackageService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPackageServiceClient ¶
func NewPackageServiceClient(cc grpc.ClientConnInterface) PackageServiceClient
type PackageServiceServer ¶
type PackageServiceServer interface { // Returns the identifiers of all supported packages. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error) // Returns the contents of a single package. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the requested package is unknown GetPackage(context.Context, *GetPackageRequest) (*GetPackageResponse, error) // Returns the status of a single package. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the requested package is unknown GetPackageStatus(context.Context, *GetPackageStatusRequest) (*GetPackageStatusResponse, error) // contains filtered or unexported methods }
PackageServiceServer is the server API for PackageService service. All implementations must embed UnimplementedPackageServiceServer for forward compatibility
type PackageStatus ¶
type PackageStatus int32
const ( // The server is not aware of such a package. PackageStatus_UNKNOWN PackageStatus = 0 // The server is able to execute Daml commands operating on this package. PackageStatus_REGISTERED PackageStatus = 1 )
func (PackageStatus) Descriptor ¶
func (PackageStatus) Descriptor() protoreflect.EnumDescriptor
func (PackageStatus) Enum ¶
func (x PackageStatus) Enum() *PackageStatus
func (PackageStatus) EnumDescriptor
deprecated
func (PackageStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PackageStatus.Descriptor instead.
func (PackageStatus) Number ¶
func (x PackageStatus) Number() protoreflect.EnumNumber
func (PackageStatus) String ¶
func (x PackageStatus) String() string
func (PackageStatus) Type ¶
func (PackageStatus) Type() protoreflect.EnumType
type Record ¶
type Record struct { // Omitted from the transaction stream when verbose streaming is not enabled. // Optional when submitting commands. RecordId *Identifier `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"` // The nested values of the record. // Required Fields []*RecordField `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
Contains nested values.
func (*Record) Descriptor
deprecated
func (*Record) GetFields ¶
func (x *Record) GetFields() []*RecordField
func (*Record) GetRecordId ¶
func (x *Record) GetRecordId() *Identifier
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type RecordField ¶
type RecordField struct { // When reading a transaction stream, it's omitted if verbose streaming is not enabled. // When submitting a commmand, it's optional: // - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once. // - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template. // Must be a valid NameString Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // A nested value of a record. // Required Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A named nested value within a record.
func (*RecordField) Descriptor
deprecated
func (*RecordField) Descriptor() ([]byte, []int)
Deprecated: Use RecordField.ProtoReflect.Descriptor instead.
func (*RecordField) GetLabel ¶
func (x *RecordField) GetLabel() string
func (*RecordField) GetValue ¶
func (x *RecordField) GetValue() *Value
func (*RecordField) ProtoMessage ¶
func (*RecordField) ProtoMessage()
func (*RecordField) ProtoReflect ¶
func (x *RecordField) ProtoReflect() protoreflect.Message
func (*RecordField) Reset ¶
func (x *RecordField) Reset()
func (*RecordField) String ¶
func (x *RecordField) String() string
type SubmitAndWaitForTransactionIdResponse ¶
type SubmitAndWaitForTransactionIdResponse struct { // The id of the transaction that resulted from the submitted command. // Must be a valid LedgerString (as described in “value.proto“). // Required TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // The format of this field is described in “ledger_offset.proto“. // Optional CompletionOffset string `protobuf:"bytes,2,opt,name=completion_offset,json=completionOffset,proto3" json:"completion_offset,omitempty"` // contains filtered or unexported fields }
func (*SubmitAndWaitForTransactionIdResponse) Descriptor
deprecated
func (*SubmitAndWaitForTransactionIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitAndWaitForTransactionIdResponse.ProtoReflect.Descriptor instead.
func (*SubmitAndWaitForTransactionIdResponse) GetCompletionOffset ¶
func (x *SubmitAndWaitForTransactionIdResponse) GetCompletionOffset() string
func (*SubmitAndWaitForTransactionIdResponse) GetTransactionId ¶
func (x *SubmitAndWaitForTransactionIdResponse) GetTransactionId() string
func (*SubmitAndWaitForTransactionIdResponse) ProtoMessage ¶
func (*SubmitAndWaitForTransactionIdResponse) ProtoMessage()
func (*SubmitAndWaitForTransactionIdResponse) ProtoReflect ¶
func (x *SubmitAndWaitForTransactionIdResponse) ProtoReflect() protoreflect.Message
func (*SubmitAndWaitForTransactionIdResponse) Reset ¶
func (x *SubmitAndWaitForTransactionIdResponse) Reset()
func (*SubmitAndWaitForTransactionIdResponse) String ¶
func (x *SubmitAndWaitForTransactionIdResponse) String() string
type SubmitAndWaitForTransactionResponse ¶
type SubmitAndWaitForTransactionResponse struct { // The flat transaction that resulted from the submitted command. // Required Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // The format of this field is described in “ledger_offset.proto“. // Optional CompletionOffset string `protobuf:"bytes,2,opt,name=completion_offset,json=completionOffset,proto3" json:"completion_offset,omitempty"` // contains filtered or unexported fields }
func (*SubmitAndWaitForTransactionResponse) Descriptor
deprecated
func (*SubmitAndWaitForTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitAndWaitForTransactionResponse.ProtoReflect.Descriptor instead.
func (*SubmitAndWaitForTransactionResponse) GetCompletionOffset ¶
func (x *SubmitAndWaitForTransactionResponse) GetCompletionOffset() string
func (*SubmitAndWaitForTransactionResponse) GetTransaction ¶
func (x *SubmitAndWaitForTransactionResponse) GetTransaction() *Transaction
func (*SubmitAndWaitForTransactionResponse) ProtoMessage ¶
func (*SubmitAndWaitForTransactionResponse) ProtoMessage()
func (*SubmitAndWaitForTransactionResponse) ProtoReflect ¶
func (x *SubmitAndWaitForTransactionResponse) ProtoReflect() protoreflect.Message
func (*SubmitAndWaitForTransactionResponse) Reset ¶
func (x *SubmitAndWaitForTransactionResponse) Reset()
func (*SubmitAndWaitForTransactionResponse) String ¶
func (x *SubmitAndWaitForTransactionResponse) String() string
type SubmitAndWaitForTransactionTreeResponse ¶
type SubmitAndWaitForTransactionTreeResponse struct { // The transaction tree that resulted from the submitted command. // Required Transaction *TransactionTree `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // The format of this field is described in “ledger_offset.proto“. // Optional CompletionOffset string `protobuf:"bytes,2,opt,name=completion_offset,json=completionOffset,proto3" json:"completion_offset,omitempty"` // contains filtered or unexported fields }
func (*SubmitAndWaitForTransactionTreeResponse) Descriptor
deprecated
func (*SubmitAndWaitForTransactionTreeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitAndWaitForTransactionTreeResponse.ProtoReflect.Descriptor instead.
func (*SubmitAndWaitForTransactionTreeResponse) GetCompletionOffset ¶
func (x *SubmitAndWaitForTransactionTreeResponse) GetCompletionOffset() string
func (*SubmitAndWaitForTransactionTreeResponse) GetTransaction ¶
func (x *SubmitAndWaitForTransactionTreeResponse) GetTransaction() *TransactionTree
func (*SubmitAndWaitForTransactionTreeResponse) ProtoMessage ¶
func (*SubmitAndWaitForTransactionTreeResponse) ProtoMessage()
func (*SubmitAndWaitForTransactionTreeResponse) ProtoReflect ¶
func (x *SubmitAndWaitForTransactionTreeResponse) ProtoReflect() protoreflect.Message
func (*SubmitAndWaitForTransactionTreeResponse) Reset ¶
func (x *SubmitAndWaitForTransactionTreeResponse) Reset()
func (*SubmitAndWaitForTransactionTreeResponse) String ¶
func (x *SubmitAndWaitForTransactionTreeResponse) String() string
type SubmitAndWaitRequest ¶
type SubmitAndWaitRequest struct { // The commands to be submitted. // Required Commands *Commands `protobuf:"bytes,1,opt,name=commands,proto3" json:"commands,omitempty"` // contains filtered or unexported fields }
These commands are atomic, and will become transactions.
func (*SubmitAndWaitRequest) Descriptor
deprecated
func (*SubmitAndWaitRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitAndWaitRequest.ProtoReflect.Descriptor instead.
func (*SubmitAndWaitRequest) GetCommands ¶
func (x *SubmitAndWaitRequest) GetCommands() *Commands
func (*SubmitAndWaitRequest) ProtoMessage ¶
func (*SubmitAndWaitRequest) ProtoMessage()
func (*SubmitAndWaitRequest) ProtoReflect ¶
func (x *SubmitAndWaitRequest) ProtoReflect() protoreflect.Message
func (*SubmitAndWaitRequest) Reset ¶
func (x *SubmitAndWaitRequest) Reset()
func (*SubmitAndWaitRequest) String ¶
func (x *SubmitAndWaitRequest) String() string
type SubmitRequest ¶
type SubmitRequest struct { // The commands to be submitted in a single transaction. // Required Commands *Commands `protobuf:"bytes,1,opt,name=commands,proto3" json:"commands,omitempty"` // contains filtered or unexported fields }
The submitted commands will be processed atomically in a single transaction. Moreover, each “Command“ in “commands“ will be executed in the order specified by the request.
func (*SubmitRequest) Descriptor
deprecated
func (*SubmitRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitRequest.ProtoReflect.Descriptor instead.
func (*SubmitRequest) GetCommands ¶
func (x *SubmitRequest) GetCommands() *Commands
func (*SubmitRequest) ProtoMessage ¶
func (*SubmitRequest) ProtoMessage()
func (*SubmitRequest) ProtoReflect ¶
func (x *SubmitRequest) ProtoReflect() protoreflect.Message
func (*SubmitRequest) Reset ¶
func (x *SubmitRequest) Reset()
func (*SubmitRequest) String ¶
func (x *SubmitRequest) String() string
type Transaction ¶
type Transaction struct { // Assigned by the server. Useful for correlating logs. // Must be a valid LedgerString (as described in “value.proto“). // Required TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // The ID of the command which resulted in this transaction. Missing for everyone except the submitting party. // Must be a valid LedgerString (as described in “value.proto“). // Optional CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // The workflow ID used in command submission. // Must be a valid LedgerString (as described in “value.proto“). // Optional WorkflowId string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // Ledger effective time. // Must be a valid LedgerString (as described in “value.proto“). // Required EffectiveAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=effective_at,json=effectiveAt,proto3" json:"effective_at,omitempty"` // The collection of events. // Only contains “CreatedEvent“ or “ArchivedEvent“. // Required Events []*Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` // The absolute offset. The format of this field is described in “ledger_offset.proto“. // Required Offset string `protobuf:"bytes,6,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
Filtered view of an on-ledger transaction.
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetCommandId ¶
func (x *Transaction) GetCommandId() string
func (*Transaction) GetEffectiveAt ¶
func (x *Transaction) GetEffectiveAt() *timestamppb.Timestamp
func (*Transaction) GetEvents ¶
func (x *Transaction) GetEvents() []*Event
func (*Transaction) GetOffset ¶
func (x *Transaction) GetOffset() string
func (*Transaction) GetTransactionId ¶
func (x *Transaction) GetTransactionId() string
func (*Transaction) GetWorkflowId ¶
func (x *Transaction) GetWorkflowId() string
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionFilter ¶
type TransactionFilter struct { // Keys of the map determine which parties' on-ledger transactions are being queried. // Values of the map determine which events are disclosed in the stream per party. // At the minimum, a party needs to set an empty Filters message to receive any events. // Each key must be a valid PartyIdString (as described in “value.proto“). // Required FiltersByParty map[string]*Filters `` /* 193-byte string literal not displayed */ // contains filtered or unexported fields }
Used for filtering Transaction and Active Contract Set streams. Determines which on-ledger events will be served to the client.
func (*TransactionFilter) Descriptor
deprecated
func (*TransactionFilter) Descriptor() ([]byte, []int)
Deprecated: Use TransactionFilter.ProtoReflect.Descriptor instead.
func (*TransactionFilter) GetFiltersByParty ¶
func (x *TransactionFilter) GetFiltersByParty() map[string]*Filters
func (*TransactionFilter) ProtoMessage ¶
func (*TransactionFilter) ProtoMessage()
func (*TransactionFilter) ProtoReflect ¶
func (x *TransactionFilter) ProtoReflect() protoreflect.Message
func (*TransactionFilter) Reset ¶
func (x *TransactionFilter) Reset()
func (*TransactionFilter) String ¶
func (x *TransactionFilter) String() string
type TransactionServiceClient ¶
type TransactionServiceClient interface { // Read the ledger's filtered transaction stream for a set of parties. // Lists only creates and archives, but not other events. // Omits all events on transient contracts, i.e., contracts that were both created and archived in the same transaction. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if “before“ is not before “end“) // - “FAILED_PRECONDITION“: if the ledger has been pruned after the subscription start offset // - “OUT_OF_RANGE“: if the “begin“ parameter value is not before the end of the ledger GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (TransactionService_GetTransactionsClient, error) // Read the ledger's complete transaction tree stream for a set of parties. // The stream can be filtered only by parties, but not templates (template filter must be empty). // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if “before“ is not before “end“) // - “FAILED_PRECONDITION“: if the ledger has been pruned after the subscription start offset // - “OUT_OF_RANGE“: if the “begin“ parameter value is not before the end of the ledger GetTransactionTrees(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (TransactionService_GetTransactionTreesClient, error) // Lookup a transaction tree by the ID of an event that appears within it. // For looking up a transaction instead of a transaction tree, please see GetFlatTransactionByEventId // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or no such transaction exists // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty) GetTransactionByEventId(ctx context.Context, in *GetTransactionByEventIdRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) // Lookup a transaction tree by its ID. // For looking up a transaction instead of a transaction tree, please see GetFlatTransactionById // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or no such transaction exists // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty) GetTransactionById(ctx context.Context, in *GetTransactionByIdRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) // Lookup a transaction by the ID of an event that appears within it. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or no such transaction exists // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty) GetFlatTransactionByEventId(ctx context.Context, in *GetTransactionByEventIdRequest, opts ...grpc.CallOption) (*GetFlatTransactionResponse, error) // Lookup a transaction by its ID. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or no such transaction exists // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty) GetFlatTransactionById(ctx context.Context, in *GetTransactionByIdRequest, opts ...grpc.CallOption) (*GetFlatTransactionResponse, error) // Get the current ledger end. // Subscriptions started with the returned offset will serve transactions created after this RPC was called. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id GetLedgerEnd(ctx context.Context, in *GetLedgerEndRequest, opts ...grpc.CallOption) (*GetLedgerEndResponse, error) }
TransactionServiceClient is the client API for TransactionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTransactionServiceClient ¶
func NewTransactionServiceClient(cc grpc.ClientConnInterface) TransactionServiceClient
type TransactionServiceServer ¶
type TransactionServiceServer interface { // Read the ledger's filtered transaction stream for a set of parties. // Lists only creates and archives, but not other events. // Omits all events on transient contracts, i.e., contracts that were both created and archived in the same transaction. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if “before“ is not before “end“) // - “FAILED_PRECONDITION“: if the ledger has been pruned after the subscription start offset // - “OUT_OF_RANGE“: if the “begin“ parameter value is not before the end of the ledger GetTransactions(*GetTransactionsRequest, TransactionService_GetTransactionsServer) error // Read the ledger's complete transaction tree stream for a set of parties. // The stream can be filtered only by parties, but not templates (template filter must be empty). // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if “before“ is not before “end“) // - “FAILED_PRECONDITION“: if the ledger has been pruned after the subscription start offset // - “OUT_OF_RANGE“: if the “begin“ parameter value is not before the end of the ledger GetTransactionTrees(*GetTransactionsRequest, TransactionService_GetTransactionTreesServer) error // Lookup a transaction tree by the ID of an event that appears within it. // For looking up a transaction instead of a transaction tree, please see GetFlatTransactionByEventId // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or no such transaction exists // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty) GetTransactionByEventId(context.Context, *GetTransactionByEventIdRequest) (*GetTransactionResponse, error) // Lookup a transaction tree by its ID. // For looking up a transaction instead of a transaction tree, please see GetFlatTransactionById // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or no such transaction exists // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty) GetTransactionById(context.Context, *GetTransactionByIdRequest) (*GetTransactionResponse, error) // Lookup a transaction by the ID of an event that appears within it. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or no such transaction exists // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty) GetFlatTransactionByEventId(context.Context, *GetTransactionByEventIdRequest) (*GetFlatTransactionResponse, error) // Lookup a transaction by its ID. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id or no such transaction exists // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if requesting parties are invalid or empty) GetFlatTransactionById(context.Context, *GetTransactionByIdRequest) (*GetFlatTransactionResponse, error) // Get the current ledger end. // Subscriptions started with the returned offset will serve transactions created after this RPC was called. // Errors: // - “UNAUTHENTICATED“: if the request does not include a valid access token // - “PERMISSION_DENIED“: if the claims in the token are insufficient to perform a given operation // - “NOT_FOUND“: if the request does not include a valid ledger id GetLedgerEnd(context.Context, *GetLedgerEndRequest) (*GetLedgerEndResponse, error) // contains filtered or unexported methods }
TransactionServiceServer is the server API for TransactionService service. All implementations must embed UnimplementedTransactionServiceServer for forward compatibility
type TransactionService_GetTransactionTreesClient ¶
type TransactionService_GetTransactionTreesClient interface { Recv() (*GetTransactionTreesResponse, error) grpc.ClientStream }
type TransactionService_GetTransactionTreesServer ¶
type TransactionService_GetTransactionTreesServer interface { Send(*GetTransactionTreesResponse) error grpc.ServerStream }
type TransactionService_GetTransactionsClient ¶
type TransactionService_GetTransactionsClient interface { Recv() (*GetTransactionsResponse, error) grpc.ClientStream }
type TransactionService_GetTransactionsServer ¶
type TransactionService_GetTransactionsServer interface { Send(*GetTransactionsResponse) error grpc.ServerStream }
type TransactionTree ¶
type TransactionTree struct { // Assigned by the server. Useful for correlating logs. // Must be a valid LedgerString (as described in “value.proto“). // Required TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // The ID of the command which resulted in this transaction. Missing for everyone except the submitting party. // Must be a valid LedgerString (as described in “value.proto“). // Optional CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // The workflow ID used in command submission. Only set if the “workflow_id“ for the command was set. // Must be a valid LedgerString (as described in “value.proto“). // Optional WorkflowId string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` // Ledger effective time. // Required EffectiveAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=effective_at,json=effectiveAt,proto3" json:"effective_at,omitempty"` // The absolute offset. The format of this field is described in “ledger_offset.proto“. // Required Offset string `protobuf:"bytes,6,opt,name=offset,proto3" json:"offset,omitempty"` // Changes to the ledger that were caused by this transaction. Nodes of the transaction tree. // Each key be a valid LedgerString (as describe in “value.proto“). // Required EventsById map[string]*TreeEvent `` /* 181-byte string literal not displayed */ // Roots of the transaction tree. // Each element must be a valid LedgerString (as describe in “value.proto“). // The elements are in the same order as the commands in the // corresponding Commands object that triggered this transaction. // Required RootEventIds []string `protobuf:"bytes,8,rep,name=root_event_ids,json=rootEventIds,proto3" json:"root_event_ids,omitempty"` // contains filtered or unexported fields }
Complete view of an on-ledger transaction.
func (*TransactionTree) Descriptor
deprecated
func (*TransactionTree) Descriptor() ([]byte, []int)
Deprecated: Use TransactionTree.ProtoReflect.Descriptor instead.
func (*TransactionTree) GetCommandId ¶
func (x *TransactionTree) GetCommandId() string
func (*TransactionTree) GetEffectiveAt ¶
func (x *TransactionTree) GetEffectiveAt() *timestamppb.Timestamp
func (*TransactionTree) GetEventsById ¶
func (x *TransactionTree) GetEventsById() map[string]*TreeEvent
func (*TransactionTree) GetOffset ¶
func (x *TransactionTree) GetOffset() string
func (*TransactionTree) GetRootEventIds ¶
func (x *TransactionTree) GetRootEventIds() []string
func (*TransactionTree) GetTransactionId ¶
func (x *TransactionTree) GetTransactionId() string
func (*TransactionTree) GetWorkflowId ¶
func (x *TransactionTree) GetWorkflowId() string
func (*TransactionTree) ProtoMessage ¶
func (*TransactionTree) ProtoMessage()
func (*TransactionTree) ProtoReflect ¶
func (x *TransactionTree) ProtoReflect() protoreflect.Message
func (*TransactionTree) Reset ¶
func (x *TransactionTree) Reset()
func (*TransactionTree) String ¶
func (x *TransactionTree) String() string
type TreeEvent ¶
type TreeEvent struct { // Types that are assignable to Kind: // *TreeEvent_Created // *TreeEvent_Exercised Kind isTreeEvent_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
Each tree event message type below contains a “witness_parties“ field which indicates the subset of the requested parties that can see the event in question.
Note that transaction trees might contain events with _no_ witness parties, which were included simply because they were children of events which have witnesses.
func (*TreeEvent) Descriptor
deprecated
func (*TreeEvent) GetCreated ¶
func (x *TreeEvent) GetCreated() *CreatedEvent
func (*TreeEvent) GetExercised ¶
func (x *TreeEvent) GetExercised() *ExercisedEvent
func (*TreeEvent) ProtoMessage ¶
func (*TreeEvent) ProtoMessage()
func (*TreeEvent) ProtoReflect ¶
func (x *TreeEvent) ProtoReflect() protoreflect.Message
type TreeEvent_Created ¶
type TreeEvent_Created struct {
Created *CreatedEvent `protobuf:"bytes,1,opt,name=created,proto3,oneof"`
}
type TreeEvent_Exercised ¶
type TreeEvent_Exercised struct {
Exercised *ExercisedEvent `protobuf:"bytes,2,opt,name=exercised,proto3,oneof"`
}
type UnimplementedActiveContractsServiceServer ¶
type UnimplementedActiveContractsServiceServer struct { }
UnimplementedActiveContractsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedActiveContractsServiceServer) GetActiveContracts ¶
func (UnimplementedActiveContractsServiceServer) GetActiveContracts(*GetActiveContractsRequest, ActiveContractsService_GetActiveContractsServer) error
type UnimplementedCommandCompletionServiceServer ¶
type UnimplementedCommandCompletionServiceServer struct { }
UnimplementedCommandCompletionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCommandCompletionServiceServer) CompletionEnd ¶
func (UnimplementedCommandCompletionServiceServer) CompletionEnd(context.Context, *CompletionEndRequest) (*CompletionEndResponse, error)
func (UnimplementedCommandCompletionServiceServer) CompletionStream ¶
func (UnimplementedCommandCompletionServiceServer) CompletionStream(*CompletionStreamRequest, CommandCompletionService_CompletionStreamServer) error
type UnimplementedCommandServiceServer ¶
type UnimplementedCommandServiceServer struct { }
UnimplementedCommandServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCommandServiceServer) SubmitAndWait ¶
func (UnimplementedCommandServiceServer) SubmitAndWait(context.Context, *SubmitAndWaitRequest) (*emptypb.Empty, error)
func (UnimplementedCommandServiceServer) SubmitAndWaitForTransaction ¶
func (UnimplementedCommandServiceServer) SubmitAndWaitForTransaction(context.Context, *SubmitAndWaitRequest) (*SubmitAndWaitForTransactionResponse, error)
func (UnimplementedCommandServiceServer) SubmitAndWaitForTransactionId ¶
func (UnimplementedCommandServiceServer) SubmitAndWaitForTransactionId(context.Context, *SubmitAndWaitRequest) (*SubmitAndWaitForTransactionIdResponse, error)
func (UnimplementedCommandServiceServer) SubmitAndWaitForTransactionTree ¶
func (UnimplementedCommandServiceServer) SubmitAndWaitForTransactionTree(context.Context, *SubmitAndWaitRequest) (*SubmitAndWaitForTransactionTreeResponse, error)
type UnimplementedCommandSubmissionServiceServer ¶
type UnimplementedCommandSubmissionServiceServer struct { }
UnimplementedCommandSubmissionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCommandSubmissionServiceServer) Submit ¶
func (UnimplementedCommandSubmissionServiceServer) Submit(context.Context, *SubmitRequest) (*emptypb.Empty, error)
type UnimplementedLedgerConfigurationServiceServer ¶
type UnimplementedLedgerConfigurationServiceServer struct { }
UnimplementedLedgerConfigurationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLedgerConfigurationServiceServer) GetLedgerConfiguration ¶
func (UnimplementedLedgerConfigurationServiceServer) GetLedgerConfiguration(*GetLedgerConfigurationRequest, LedgerConfigurationService_GetLedgerConfigurationServer) error
type UnimplementedLedgerIdentityServiceServer ¶
type UnimplementedLedgerIdentityServiceServer struct { }
UnimplementedLedgerIdentityServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLedgerIdentityServiceServer) GetLedgerIdentity ¶
func (UnimplementedLedgerIdentityServiceServer) GetLedgerIdentity(context.Context, *GetLedgerIdentityRequest) (*GetLedgerIdentityResponse, error)
type UnimplementedPackageServiceServer ¶
type UnimplementedPackageServiceServer struct { }
UnimplementedPackageServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPackageServiceServer) GetPackage ¶
func (UnimplementedPackageServiceServer) GetPackage(context.Context, *GetPackageRequest) (*GetPackageResponse, error)
func (UnimplementedPackageServiceServer) GetPackageStatus ¶
func (UnimplementedPackageServiceServer) GetPackageStatus(context.Context, *GetPackageStatusRequest) (*GetPackageStatusResponse, error)
func (UnimplementedPackageServiceServer) ListPackages ¶
func (UnimplementedPackageServiceServer) ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error)
type UnimplementedTransactionServiceServer ¶
type UnimplementedTransactionServiceServer struct { }
UnimplementedTransactionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTransactionServiceServer) GetFlatTransactionByEventId ¶
func (UnimplementedTransactionServiceServer) GetFlatTransactionByEventId(context.Context, *GetTransactionByEventIdRequest) (*GetFlatTransactionResponse, error)
func (UnimplementedTransactionServiceServer) GetFlatTransactionById ¶
func (UnimplementedTransactionServiceServer) GetFlatTransactionById(context.Context, *GetTransactionByIdRequest) (*GetFlatTransactionResponse, error)
func (UnimplementedTransactionServiceServer) GetLedgerEnd ¶
func (UnimplementedTransactionServiceServer) GetLedgerEnd(context.Context, *GetLedgerEndRequest) (*GetLedgerEndResponse, error)
func (UnimplementedTransactionServiceServer) GetTransactionByEventId ¶
func (UnimplementedTransactionServiceServer) GetTransactionByEventId(context.Context, *GetTransactionByEventIdRequest) (*GetTransactionResponse, error)
func (UnimplementedTransactionServiceServer) GetTransactionById ¶
func (UnimplementedTransactionServiceServer) GetTransactionById(context.Context, *GetTransactionByIdRequest) (*GetTransactionResponse, error)
func (UnimplementedTransactionServiceServer) GetTransactionTrees ¶
func (UnimplementedTransactionServiceServer) GetTransactionTrees(*GetTransactionsRequest, TransactionService_GetTransactionTreesServer) error
func (UnimplementedTransactionServiceServer) GetTransactions ¶
func (UnimplementedTransactionServiceServer) GetTransactions(*GetTransactionsRequest, TransactionService_GetTransactionsServer) error
type UnimplementedVersionServiceServer ¶
type UnimplementedVersionServiceServer struct { }
UnimplementedVersionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedVersionServiceServer) GetLedgerApiVersion ¶
func (UnimplementedVersionServiceServer) GetLedgerApiVersion(context.Context, *GetLedgerApiVersionRequest) (*GetLedgerApiVersionResponse, error)
type UnsafeActiveContractsServiceServer ¶
type UnsafeActiveContractsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeActiveContractsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActiveContractsServiceServer will result in compilation errors.
type UnsafeCommandCompletionServiceServer ¶
type UnsafeCommandCompletionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCommandCompletionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandCompletionServiceServer will result in compilation errors.
type UnsafeCommandServiceServer ¶
type UnsafeCommandServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCommandServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandServiceServer will result in compilation errors.
type UnsafeCommandSubmissionServiceServer ¶
type UnsafeCommandSubmissionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCommandSubmissionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandSubmissionServiceServer will result in compilation errors.
type UnsafeLedgerConfigurationServiceServer ¶
type UnsafeLedgerConfigurationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLedgerConfigurationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LedgerConfigurationServiceServer will result in compilation errors.
type UnsafeLedgerIdentityServiceServer ¶
type UnsafeLedgerIdentityServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLedgerIdentityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LedgerIdentityServiceServer will result in compilation errors.
type UnsafePackageServiceServer ¶
type UnsafePackageServiceServer interface {
// contains filtered or unexported methods
}
UnsafePackageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PackageServiceServer will result in compilation errors.
type UnsafeTransactionServiceServer ¶
type UnsafeTransactionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTransactionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransactionServiceServer will result in compilation errors.
type UnsafeVersionServiceServer ¶
type UnsafeVersionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVersionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VersionServiceServer will result in compilation errors.
type UserManagementFeature ¶
type UserManagementFeature struct { // Whether the Ledger API server provides the user management service. Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"` // The maximum number of rights that can be assigned to a single user. // Servers MUST support at least 100 rights per user. // A value of 0 means that the server enforces no rights per user limit. MaxRightsPerUser int32 `protobuf:"varint,2,opt,name=max_rights_per_user,json=maxRightsPerUser,proto3" json:"max_rights_per_user,omitempty"` // The maximum number of users the server can return in a single response (page). // Servers MUST support at least a 100 users per page. // A value of 0 means that the server enforces no page size limit. MaxUsersPageSize int32 `protobuf:"varint,3,opt,name=max_users_page_size,json=maxUsersPageSize,proto3" json:"max_users_page_size,omitempty"` // contains filtered or unexported fields }
func (*UserManagementFeature) Descriptor
deprecated
func (*UserManagementFeature) Descriptor() ([]byte, []int)
Deprecated: Use UserManagementFeature.ProtoReflect.Descriptor instead.
func (*UserManagementFeature) GetMaxRightsPerUser ¶ added in v7.6.3
func (x *UserManagementFeature) GetMaxRightsPerUser() int32
func (*UserManagementFeature) GetMaxUsersPageSize ¶ added in v7.6.3
func (x *UserManagementFeature) GetMaxUsersPageSize() int32
func (*UserManagementFeature) GetSupported ¶ added in v7.6.3
func (x *UserManagementFeature) GetSupported() bool
func (*UserManagementFeature) ProtoMessage ¶
func (*UserManagementFeature) ProtoMessage()
func (*UserManagementFeature) ProtoReflect ¶
func (x *UserManagementFeature) ProtoReflect() protoreflect.Message
func (*UserManagementFeature) Reset ¶
func (x *UserManagementFeature) Reset()
func (*UserManagementFeature) String ¶
func (x *UserManagementFeature) String() string
type Value ¶
type Value struct { // Types that are assignable to Sum: // *Value_Record // *Value_Variant // *Value_ContractId // *Value_List // *Value_Int64 // *Value_Numeric // *Value_Text // *Value_Timestamp // *Value_Party // *Value_Bool // *Value_Unit // *Value_Date // *Value_Optional // *Value_Map // *Value_Enum // *Value_GenMap Sum isValue_Sum `protobuf_oneof:"Sum"` // contains filtered or unexported fields }
Encodes values that the ledger accepts as command arguments and emits as contract arguments.
The values encoding use different four classes of non-empty strings as identifiers. Those classes are defined as follows: - NameStrings are strings with length <= 1000 that match the regexp “[A-Za-z\$_][A-Za-z0-9\$_]*“. - PackageIdStrings are strings with length <= 64 that match the regexp “[A-Za-z0-9\-_ ]+“. - PartyIdStrings are strings with length <= 256 that match the regexp “[A-Za-z0-9:\-_ ]+“. - LedgerStrings are strings with length <= 256 that match the regexp “[A-Za-z0-9#:\-_/ ]+“. - ApplicationIdStrings are strings with length <= 256 that match the regexp “[A-Za-z0-9#:\-_/ @\|]+“.
func (*Value) Descriptor
deprecated
func (*Value) GetContractId ¶
func (*Value) GetNumeric ¶
func (*Value) GetOptional ¶
func (*Value) GetTimestamp ¶
func (*Value) GetVariant ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Value_Bool ¶
type Value_Bool struct { // True or false. Bool bool `protobuf:"varint,12,opt,name=bool,proto3,oneof"` }
type Value_ContractId ¶
type Value_ContractId struct { // Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail. // Must be a valid LedgerString. ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3,oneof"` }
type Value_Date ¶
type Value_Date struct { // Days since the unix epoch. Can go backwards. Limited from // 0001-01-01 to 9999-12-31, also to be compatible with // https://www.ietf.org/rfc/rfc3339.txt Date int32 `protobuf:"varint,14,opt,name=date,proto3,oneof"` }
type Value_Enum ¶
type Value_Enum struct { // The Enum type Enum *Enum `protobuf:"bytes,17,opt,name=enum,proto3,oneof"` }
type Value_GenMap ¶
type Value_GenMap struct { // The GenMap type GenMap *GenMap `protobuf:"bytes,18,opt,name=gen_map,json=genMap,proto3,oneof"` }
type Value_Int64 ¶
type Value_Int64 struct {
Int64 int64 `protobuf:"zigzag64,5,opt,name=int64,proto3,oneof"`
}
type Value_List ¶
type Value_List struct { // Represents a homogeneous list of values. List *List `protobuf:"bytes,4,opt,name=list,proto3,oneof"` }
type Value_Map ¶
type Value_Map struct { // The Map type Map *Map `protobuf:"bytes,16,opt,name=map,proto3,oneof"` }
type Value_Numeric ¶
type Value_Numeric struct { // A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a // scale between 0 and 37 (significant digits on the right of the decimal point). // The field has to match the regex // [+-]?\d{1,38}(.\d{0,37})? // and should be representable by a Numeric without loss of precision. Numeric string `protobuf:"bytes,6,opt,name=numeric,proto3,oneof"` }
type Value_Optional ¶
type Value_Optional struct { // The Optional type, None or Some Optional *Optional `protobuf:"bytes,15,opt,name=optional,proto3,oneof"` }
type Value_Party ¶
type Value_Party struct { // An agent operating on the ledger. // Must be a valid PartyIdString. Party string `protobuf:"bytes,11,opt,name=party,proto3,oneof"` }
type Value_Record ¶
type Value_Record struct {
Record *Record `protobuf:"bytes,1,opt,name=record,proto3,oneof"`
}
type Value_Text ¶
type Value_Text struct { // A string. Text string `protobuf:"bytes,8,opt,name=text,proto3,oneof"` }
type Value_Timestamp ¶
type Value_Timestamp struct { // Microseconds since the UNIX epoch. Can go backwards. Fixed // since the vast majority of values will be greater than // 2^28, since currently the number of microseconds since the // epoch is greater than that. Range: 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59.999999Z, so that we can convert to/from // https://www.ietf.org/rfc/rfc3339.txt Timestamp int64 `protobuf:"fixed64,9,opt,name=timestamp,proto3,oneof"` }
type Value_Unit ¶
type Value_Variant ¶
type Value_Variant struct {
Variant *Variant `protobuf:"bytes,2,opt,name=variant,proto3,oneof"`
}
type Variant ¶
type Variant struct { // Omitted from the transaction stream when verbose streaming is not enabled. // Optional when submitting commands. VariantId *Identifier `protobuf:"bytes,1,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"` // Determines which of the Variant's alternatives is encoded in this message. // Must be a valid NameString. // Required Constructor string `protobuf:"bytes,2,opt,name=constructor,proto3" json:"constructor,omitempty"` // The value encoded within the Variant. // Required Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A value with alternative representations.
func (*Variant) Descriptor
deprecated
func (*Variant) GetConstructor ¶
func (*Variant) GetVariantId ¶
func (x *Variant) GetVariantId() *Identifier
func (*Variant) ProtoMessage ¶
func (*Variant) ProtoMessage()
func (*Variant) ProtoReflect ¶
func (x *Variant) ProtoReflect() protoreflect.Message
type VersionServiceClient ¶
type VersionServiceClient interface { // Read the Ledger API version GetLedgerApiVersion(ctx context.Context, in *GetLedgerApiVersionRequest, opts ...grpc.CallOption) (*GetLedgerApiVersionResponse, error) }
VersionServiceClient is the client API for VersionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVersionServiceClient ¶
func NewVersionServiceClient(cc grpc.ClientConnInterface) VersionServiceClient
type VersionServiceServer ¶
type VersionServiceServer interface { // Read the Ledger API version GetLedgerApiVersion(context.Context, *GetLedgerApiVersionRequest) (*GetLedgerApiVersionResponse, error) // contains filtered or unexported methods }
VersionServiceServer is the server API for VersionService service. All implementations must embed UnimplementedVersionServiceServer for forward compatibility
Source Files ¶
- active_contracts_service.pb.go
- active_contracts_service_grpc.pb.go
- command_completion_service.pb.go
- command_completion_service_grpc.pb.go
- command_service.pb.go
- command_service_grpc.pb.go
- command_submission_service.pb.go
- command_submission_service_grpc.pb.go
- commands.pb.go
- completion.pb.go
- event.pb.go
- experimental_features.pb.go
- ledger_configuration_service.pb.go
- ledger_configuration_service_grpc.pb.go
- ledger_identity_service.pb.go
- ledger_identity_service_grpc.pb.go
- ledger_offset.pb.go
- package_service.pb.go
- package_service_grpc.pb.go
- transaction.pb.go
- transaction_filter.pb.go
- transaction_service.pb.go
- transaction_service_grpc.pb.go
- value.pb.go
- version_service.pb.go
- version_service_grpc.pb.go