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)
- 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 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) GetDeduplicationTime() *durationpb.Duration
- 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) GetWorkflowId() string
- func (*Commands) ProtoMessage()
- func (x *Commands) ProtoReflect() protoreflect.Message
- func (x *Commands) Reset()
- func (x *Commands) String() string
- type Completion
- func (*Completion) Descriptor() ([]byte, []int)deprecated
- func (x *Completion) GetCommandId() string
- func (x *Completion) GetStatus() *status.Status
- func (x *Completion) GetTraceContext() *TraceContext
- 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 (x *CompletionEndRequest) GetTraceContext() *TraceContext
- 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 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 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) GetTraceContext() *TraceContext
- 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) GetTraceContext() *TraceContext
- 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) 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 (x *GetLedgerConfigurationRequest) GetTraceContext() *TraceContext
- 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 (x *GetLedgerEndRequest) GetTraceContext() *TraceContext
- 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 GetLedgerIdentityRequest
- func (*GetLedgerIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerIdentityRequest) GetTraceContext() *TraceContext
- func (*GetLedgerIdentityRequest) ProtoMessage()
- func (x *GetLedgerIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *GetLedgerIdentityRequest) Reset()
- func (x *GetLedgerIdentityRequest) String() string
- type GetLedgerIdentityResponse
- func (*GetLedgerIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerIdentityResponse) GetLedgerId() string
- 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 (x *GetPackageRequest) GetTraceContext() *TraceContext
- 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 (x *GetPackageStatusRequest) GetTraceContext() *TraceContext
- 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 (x *GetTransactionByEventIdRequest) GetTraceContext() *TraceContext
- 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) GetTraceContext() *TraceContext
- 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) GetTraceContext() *TraceContext
- 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) GetMaxDeduplicationTime() *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 LedgerIdentityServiceClient
- type LedgerIdentityServiceServer
- 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 (x *ListPackagesRequest) GetTraceContext() *TraceContext
- 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) 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) 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) 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 (x *SubmitAndWaitRequest) GetTraceContext() *TraceContext
- func (*SubmitAndWaitRequest) ProtoMessage()
- func (x *SubmitAndWaitRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitAndWaitRequest) Reset()
- func (x *SubmitAndWaitRequest) String() string
- type SubmitRequest
- func (*SubmitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitRequest) GetCommands() *Commands
- func (x *SubmitRequest) GetTraceContext() *TraceContext
- func (*SubmitRequest) ProtoMessage()
- func (x *SubmitRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitRequest) Reset()
- func (x *SubmitRequest) String() string
- type TraceContext
- func (*TraceContext) Descriptor() ([]byte, []int)deprecated
- func (x *TraceContext) GetParentSpanId() *wrapperspb.UInt64Value
- func (x *TraceContext) GetSampled() bool
- func (x *TraceContext) GetSpanId() uint64
- func (x *TraceContext) GetTraceId() uint64
- func (x *TraceContext) GetTraceIdHigh() uint64
- func (*TraceContext) ProtoMessage()
- func (x *TraceContext) ProtoReflect() protoreflect.Message
- func (x *TraceContext) Reset()
- func (x *TraceContext) String() string
- 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) GetTraceContext() *TraceContext
- 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) GetTraceContext() *TraceContext
- 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 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 ( 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_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_trace_context_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 ¶
func RegisterLedgerIdentityServiceServer(s grpc.ServiceRegistrar, srv LedgerIdentityServiceServer)
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 descibed // 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 or if the ledger has been pruned before “begin“ // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “OUT_OF_RANGE“: if the absolute offset is not before 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 or if the ledger has been pruned before “begin“ // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “OUT_OF_RANGE“: if the absolute offset is not before 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 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “RESOURCE_EXHAUSTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “RESOURCE_EXHAUSTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “RESOURCE_EXHAUSTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “RESOURCE_EXHAUSTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “RESOURCE_EXHAUSTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “RESOURCE_EXHAUSTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “RESOURCE_EXHAUSTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “RESOURCE_EXHAUSTED“: if the number of in-flight commands reached the maximum (if a limit is configured) // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “RESOURCE_EXHAUSTED“: if the participant or the ledger is overloaded. Clients should back off exponentially and retry. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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 // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields // - “UNAVAILABLE“: if the participant is not yet ready to submit commands or if the service has been shut down. // - “RESOURCE_EXHAUSTED“: if the participant or the ledger is overloaded. Clients should back off exponentially and retry. // - “ABORTED“: if a contract key is missing or duplicated due to for example contention on resources 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“). // Required 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 its part) that issued the command. This is used in tracing // across different components and to let applications subscribe to their own submissions only. // Must be a valid LedgerString (as described in “value.proto“). // Required ApplicationId string `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // Uniquely identified the command. This identifier should be unique for each new command within an // application domain, i.e., the triple (application_id, party, command_id) must be unique. // It can be used for matching the requests with their respective 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"` // The length of the time window during which all commands with the same “act_as“ parties and // the same command ID will be deduplicated. // Duplicate commands submitted before the end of this window return an ALREADY_EXISTS error. // Optional DeduplicationTime *durationpb.Duration `protobuf:"bytes,9,opt,name=deduplication_time,json=deduplicationTime,proto3" json:"deduplication_time,omitempty"` // 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"` // 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) GetDeduplicationTime ¶
func (x *Commands) GetDeduplicationTime() *durationpb.Duration
func (*Commands) GetLedgerId ¶
func (*Commands) GetMinLedgerTimeAbs ¶
func (x *Commands) GetMinLedgerTimeAbs() *timestamppb.Timestamp
func (*Commands) GetMinLedgerTimeRel ¶
func (x *Commands) GetMinLedgerTimeRel() *durationpb.Duration
func (*Commands) GetWorkflowId ¶
func (*Commands) ProtoMessage ¶
func (*Commands) ProtoMessage()
func (*Commands) ProtoReflect ¶
func (x *Commands) ProtoReflect() protoreflect.Message
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 trace context submitted with the command. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,omitempty"` // 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) GetCommandId ¶
func (x *Completion) GetCommandId() string
func (*Completion) GetStatus ¶
func (x *Completion) GetStatus() *status.Status
func (*Completion) GetTraceContext ¶
func (x *Completion) GetTraceContext() *TraceContext
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“). // Required LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *CompletionEndRequest) GetTraceContext() *TraceContext
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“). // Required 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 LedgerString (as described in “value.proto“). // Required 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 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 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“). // Required 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"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *GetActiveContractsRequest) GetTraceContext() *TraceContext
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"` // Zipkin trace context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *GetActiveContractsResponse) GetTraceContext() *TraceContext
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“). // Required 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"` // contains filtered or unexported fields }
func (*GetLedgerApiVersionResponse) Descriptor
deprecated
func (*GetLedgerApiVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerApiVersionResponse.ProtoReflect.Descriptor instead.
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“). // Required LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *GetLedgerConfigurationRequest) GetTraceContext() *TraceContext
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“). // Required LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *GetLedgerEndRequest) GetTraceContext() *TraceContext
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 ¶
type GetLedgerIdentityRequest struct { // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,omitempty"` // contains filtered or unexported fields }
func (*GetLedgerIdentityRequest) Descriptor
deprecated
func (*GetLedgerIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerIdentityRequest.ProtoReflect.Descriptor instead.
func (*GetLedgerIdentityRequest) GetTraceContext ¶
func (x *GetLedgerIdentityRequest) GetTraceContext() *TraceContext
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 ¶
type GetLedgerIdentityResponse struct { // The ID of the ledger exposed by the server. // Must be a valid LedgerString (as described in “value.proto“). // Required LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // contains filtered or unexported fields }
func (*GetLedgerIdentityResponse) Descriptor
deprecated
func (*GetLedgerIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerIdentityResponse.ProtoReflect.Descriptor instead.
func (*GetLedgerIdentityResponse) GetLedgerId ¶
func (x *GetLedgerIdentityResponse) GetLedgerId() string
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“). // Required 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"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *GetPackageRequest) GetTraceContext() *TraceContext
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“). // Required 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"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *GetPackageStatusRequest) GetTraceContext() *TraceContext
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“). // Required 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"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *GetTransactionByEventIdRequest) GetTraceContext() *TraceContext
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“). // Required 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"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *GetTransactionByIdRequest) GetTraceContext() *TraceContext
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“). // Required 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"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *GetTransactionsRequest) GetTraceContext() *TraceContext
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 { // The maximum value for the “deduplication_time“ parameter of command submissions // (as described in “commands.proto“). This defines the maximum time window during which // commands can be deduplicated. MaxDeduplicationTime *durationpb.Duration `protobuf:"bytes,3,opt,name=max_deduplication_time,json=maxDeduplicationTime,proto3" json:"max_deduplication_time,omitempty"` // 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) GetMaxDeduplicationTime ¶
func (x *LedgerConfiguration) GetMaxDeduplicationTime() *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 ¶
type LedgerIdentityServiceClient interface { // 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.
func NewLedgerIdentityServiceClient ¶
func NewLedgerIdentityServiceClient(cc grpc.ClientConnInterface) LedgerIdentityServiceClient
type LedgerIdentityServiceServer ¶
type LedgerIdentityServiceServer interface { // 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
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“). // Required LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *ListPackagesRequest) GetTraceContext() *TraceContext
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"` // contains filtered or unexported fields }
func (*SubmitAndWaitForTransactionIdResponse) Descriptor
deprecated
func (*SubmitAndWaitForTransactionIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitAndWaitForTransactionIdResponse.ProtoReflect.Descriptor instead.
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"` // contains filtered or unexported fields }
func (*SubmitAndWaitForTransactionResponse) Descriptor
deprecated
func (*SubmitAndWaitForTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitAndWaitForTransactionResponse.ProtoReflect.Descriptor instead.
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"` // contains filtered or unexported fields }
func (*SubmitAndWaitForTransactionTreeResponse) Descriptor
deprecated
func (*SubmitAndWaitForTransactionTreeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitAndWaitForTransactionTreeResponse.ProtoReflect.Descriptor instead.
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"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *SubmitAndWaitRequest) GetTraceContext() *TraceContext
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"` // Server side tracing will be registered as a child of the submitted context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *SubmitRequest) GetTraceContext() *TraceContext
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 TraceContext ¶
type TraceContext struct { // If present, this is the high 64 bits of the 128-bit identifier. Otherwise the trace ID is 64 bits long. TraceIdHigh uint64 `protobuf:"varint,1,opt,name=trace_id_high,json=traceIdHigh,proto3" json:"trace_id_high,omitempty"` // The TraceId is 64 or 128-bit in length and indicates the overall ID of the trace. Every span in a trace shares this ID. TraceId uint64 `protobuf:"varint,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` // The SpanId is 64-bit in length and indicates the position of the current operation in the trace tree. // The value should not be interpreted: it may or may not be derived from the value of the TraceId. SpanId uint64 `protobuf:"varint,3,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` // The ParentSpanId is 64-bit in length and indicates the position of the parent operation in the trace tree. // When the span is the root of the trace tree, the ParentSpanId is absent. ParentSpanId *wrapperspb.UInt64Value `protobuf:"bytes,4,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"` // When the sampled decision is accept, report this span to the tracing system. When it is reject, do not. // When B3 attributes are sent without a sampled decision, the receiver should make one. // Once the sampling decision is made, the same value should be consistently sent downstream. Sampled bool `protobuf:"varint,5,opt,name=sampled,proto3" json:"sampled,omitempty"` // contains filtered or unexported fields }
Data structure to propagate Zipkin trace information. See https://github.com/openzipkin/b3-propagation Trace identifiers are 64 or 128-bit, but all span identifiers within a trace are 64-bit. All identifiers are opaque.
func (*TraceContext) Descriptor
deprecated
func (*TraceContext) Descriptor() ([]byte, []int)
Deprecated: Use TraceContext.ProtoReflect.Descriptor instead.
func (*TraceContext) GetParentSpanId ¶
func (x *TraceContext) GetParentSpanId() *wrapperspb.UInt64Value
func (*TraceContext) GetSampled ¶
func (x *TraceContext) GetSampled() bool
func (*TraceContext) GetSpanId ¶
func (x *TraceContext) GetSpanId() uint64
func (*TraceContext) GetTraceId ¶
func (x *TraceContext) GetTraceId() uint64
func (*TraceContext) GetTraceIdHigh ¶
func (x *TraceContext) GetTraceIdHigh() uint64
func (*TraceContext) ProtoMessage ¶
func (*TraceContext) ProtoMessage()
func (*TraceContext) ProtoReflect ¶
func (x *TraceContext) ProtoReflect() protoreflect.Message
func (*TraceContext) Reset ¶
func (x *TraceContext) Reset()
func (*TraceContext) String ¶
func (x *TraceContext) 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"` // Zipkin trace context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *Transaction) GetTraceContext() *TraceContext
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 or if the ledger has been pruned before “begin“ // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if “before“ is not before “end“) // - “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 or if the ledger has been pruned before “begin“ // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if “before“ is not before “end“) // - “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 or no such transaction exists 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 or if the ledger has been pruned before “begin“ // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if “before“ is not before “end“) // - “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 or if the ledger has been pruned before “begin“ // - “INVALID_ARGUMENT“: if the payload is malformed or is missing required fields (e.g. if “before“ is not before “end“) // - “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 or no such transaction exists 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 triggerd this transaction. // Required RootEventIds []string `protobuf:"bytes,8,rep,name=root_event_ids,json=rootEventIds,proto3" json:"root_event_ids,omitempty"` // Zipkin trace context. // This field is a future extension point and is currently not supported. // Optional TraceContext *TraceContext `protobuf:"bytes,1000,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,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) GetTraceContext ¶
func (x *TransactionTree) GetTraceContext() *TraceContext
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 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 strings as identifiers. Those classes are defined as follow: - NameStrings are strings that match the regexp “[A-Za-z\$_][A-Za-z0-9\$_]*“. - PackageIdStrings are strings that match the regexp “[A-Za-z0-9\-_ ]+“. - PartyIdStrings are strings that match the regexp “[A-Za-z0-9:\-_ ]+“. - LedgerStrings are strings 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
- 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
- trace_context.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