v1

package
v7.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommandDeduplicationType_name = map[int32]string{
		0: "ASYNC_ONLY",
		1: "ASYNC_AND_CONCURRENT_SYNC",
	}
	CommandDeduplicationType_value = map[string]int32{
		"ASYNC_ONLY":                0,
		"ASYNC_AND_CONCURRENT_SYNC": 1,
	}
)

Enum value maps for CommandDeduplicationType.

View Source
var (
	CommandDeduplicationPeriodSupport_OffsetSupport_name = map[int32]string{
		0: "OFFSET_NOT_SUPPORTED",
		1: "OFFSET_NATIVE_SUPPORT",
		2: "OFFSET_CONVERT_TO_DURATION",
	}
	CommandDeduplicationPeriodSupport_OffsetSupport_value = map[string]int32{
		"OFFSET_NOT_SUPPORTED":       0,
		"OFFSET_NATIVE_SUPPORT":      1,
		"OFFSET_CONVERT_TO_DURATION": 2,
	}
)

Enum value maps for CommandDeduplicationPeriodSupport_OffsetSupport.

View Source
var (
	CommandDeduplicationPeriodSupport_DurationSupport_name = map[int32]string{
		0: "DURATION_NATIVE_SUPPORT",
		1: "DURATION_CONVERT_TO_OFFSET",
	}
	CommandDeduplicationPeriodSupport_DurationSupport_value = map[string]int32{
		"DURATION_NATIVE_SUPPORT":    0,
		"DURATION_CONVERT_TO_OFFSET": 1,
	}
)

Enum value maps for CommandDeduplicationPeriodSupport_DurationSupport.

View Source
var (
	ExperimentalContractIds_ContractIdV1Support_name = map[int32]string{
		0: "SUFFIXED",
		1: "NON_SUFFIXED",
	}
	ExperimentalContractIds_ContractIdV1Support_value = map[string]int32{
		"SUFFIXED":     0,
		"NON_SUFFIXED": 1,
	}
)

Enum value maps for ExperimentalContractIds_ContractIdV1Support.

View Source
var (
	ExperimentalCommitterEventLog_CommitterEventLogType_name = map[int32]string{
		0: "CENTRALIZED",
		1: "DISTRIBUTED",
	}
	ExperimentalCommitterEventLog_CommitterEventLogType_value = map[string]int32{
		"CENTRALIZED": 0,
		"DISTRIBUTED": 1,
	}
)

Enum value maps for ExperimentalCommitterEventLog_CommitterEventLogType.

View Source
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.

View Source
var (
	PackageStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "REGISTERED",
	}
	PackageStatus_value = map[string]int32{
		"UNKNOWN":    0,
		"REGISTERED": 1,
	}
)

Enum value maps for PackageStatus.

View Source
var (
	HashFunction_name = map[int32]string{
		0: "SHA256",
	}
	HashFunction_value = map[string]int32{
		"SHA256": 0,
	}
)

Enum value maps for HashFunction.

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
var File_com_daml_ledger_api_v1_active_contracts_service_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_command_completion_service_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_command_service_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_command_submission_service_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_commands_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_completion_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_contract_metadata_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_event_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_experimental_features_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_ledger_configuration_service_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_ledger_identity_service_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_ledger_offset_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_package_service_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_transaction_filter_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_transaction_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_transaction_service_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_value_proto protoreflect.FileDescriptor
View Source
var File_com_daml_ledger_api_v1_version_service_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
var VersionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.daml.ledger.api.v1.VersionService",
	HandlerType: (*VersionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLedgerApiVersion",
			Handler:    _VersionService_GetLedgerApiVersion_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/daml/ledger/api/v1/version_service.proto",
}

VersionService_ServiceDesc is the grpc.ServiceDesc for VersionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterActiveContractsServiceServer

func RegisterActiveContractsServiceServer(s grpc.ServiceRegistrar, srv ActiveContractsServiceServer)

func RegisterCommandCompletionServiceServer

func RegisterCommandCompletionServiceServer(s grpc.ServiceRegistrar, srv CommandCompletionServiceServer)

func RegisterCommandServiceServer

func RegisterCommandServiceServer(s grpc.ServiceRegistrar, srv CommandServiceServer)

func RegisterCommandSubmissionServiceServer

func RegisterCommandSubmissionServiceServer(s grpc.ServiceRegistrar, srv CommandSubmissionServiceServer)

func RegisterLedgerConfigurationServiceServer

func RegisterLedgerConfigurationServiceServer(s grpc.ServiceRegistrar, srv LedgerConfigurationServiceServer)

func RegisterLedgerIdentityServiceServer deprecated

func RegisterLedgerIdentityServiceServer(s grpc.ServiceRegistrar, srv LedgerIdentityServiceServer)

Deprecated: Do not use.

func RegisterPackageServiceServer

func RegisterPackageServiceServer(s grpc.ServiceRegistrar, srv PackageServiceServer)

func RegisterTransactionServiceServer

func RegisterTransactionServiceServer(s grpc.ServiceRegistrar, srv TransactionServiceServer)

func RegisterVersionServiceServer

func RegisterVersionServiceServer(s grpc.ServiceRegistrar, srv VersionServiceServer)

Types

type ActiveContractsServiceClient

type ActiveContractsServiceClient interface {
	// Returns a stream of the latest snapshot of active contracts.
	// If there are no active contracts, the stream returns a single GetActiveContractsResponse message with the offset at which the snapshot has been taken.
	// Clients SHOULD use the offset in the last GetActiveContractsResponse message to continue streaming transactions with the transaction service.
	// Clients SHOULD NOT assume that the set of active contracts they receive reflects the state at the ledger end.
	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.

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.
	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 an “ArchivedEvent“,
	// these are the intersection of the stakeholders of the contract in
	// question and the parties specified in the “TransactionFilter“. The
	// stakeholders are the union of the signatories and the observers of
	// the contract.
	// Each one of its elements must be a valid PartyIdString (as described
	// in “value.proto“).
	// Required
	WitnessParties []string `protobuf:"bytes,4,rep,name=witness_parties,json=witnessParties,proto3" json:"witness_parties,omitempty"`
	// contains filtered or unexported fields
}

Records that a contract has been archived, and choices may no longer be exercised on it.

func (*ArchivedEvent) Descriptor deprecated

func (*ArchivedEvent) Descriptor() ([]byte, []int)

Deprecated: Use ArchivedEvent.ProtoReflect.Descriptor instead.

func (*ArchivedEvent) GetContractId

func (x *ArchivedEvent) GetContractId() string

func (*ArchivedEvent) GetEventId

func (x *ArchivedEvent) GetEventId() string

func (*ArchivedEvent) GetTemplateId

func (x *ArchivedEvent) GetTemplateId() *Identifier

func (*ArchivedEvent) GetWitnessParties

func (x *ArchivedEvent) GetWitnessParties() []string

func (*ArchivedEvent) ProtoMessage

func (*ArchivedEvent) ProtoMessage()

func (*ArchivedEvent) ProtoReflect

func (x *ArchivedEvent) ProtoReflect() protoreflect.Message

func (*ArchivedEvent) Reset

func (x *ArchivedEvent) Reset()

func (*ArchivedEvent) String

func (x *ArchivedEvent) String() string

type Checkpoint

type Checkpoint struct {

	// All commands with a maximum record time below this value MUST be considered lost if their completion has not arrived before this checkpoint.
	// Required
	RecordTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=record_time,json=recordTime,proto3" json:"record_time,omitempty"`
	// May be used in a subsequent CompletionStreamRequest to resume the consumption of this stream at a later time.
	// Required
	Offset *LedgerOffset `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

Checkpoints may be used to:

* detect time out of commands. * provide an offset which can be used to restart consumption.

func (*Checkpoint) Descriptor deprecated

func (*Checkpoint) Descriptor() ([]byte, []int)

Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead.

func (*Checkpoint) GetOffset

func (x *Checkpoint) GetOffset() *LedgerOffset

func (*Checkpoint) GetRecordTime

func (x *Checkpoint) GetRecordTime() *timestamppb.Timestamp

func (*Checkpoint) ProtoMessage

func (*Checkpoint) ProtoMessage()

func (*Checkpoint) ProtoReflect

func (x *Checkpoint) ProtoReflect() protoreflect.Message

func (*Checkpoint) Reset

func (x *Checkpoint) Reset()

func (*Checkpoint) String

func (x *Checkpoint) String() string

type Command

type Command struct {

	// Types that are assignable to Command:
	//
	//	*Command_Create
	//	*Command_Exercise
	//	*Command_ExerciseByKey
	//	*Command_CreateAndExercise
	Command isCommand_Command `protobuf_oneof:"command"`
	// contains filtered or unexported fields
}

A command can either create a new contract or exercise a choice on an existing contract.

func (*Command) Descriptor deprecated

func (*Command) Descriptor() ([]byte, []int)

Deprecated: Use Command.ProtoReflect.Descriptor instead.

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

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

type CommandCompletionServiceClient

type CommandCompletionServiceClient interface {
	// Subscribe to command completion events.
	CompletionStream(ctx context.Context, in *CompletionStreamRequest, opts ...grpc.CallOption) (CommandCompletionService_CompletionStreamClient, error)
	// Returns the offset after the latest completion.
	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.

type CommandCompletionServiceServer

type CommandCompletionServiceServer interface {
	// Subscribe to command completion events.
	CompletionStream(*CompletionStreamRequest, CommandCompletionService_CompletionStreamServer) error
	// Returns the offset after the latest completion.
	CompletionEnd(context.Context, *CompletionEndRequest) (*CompletionEndResponse, error)
	// contains filtered or unexported methods
}

CommandCompletionServiceServer is the server API for CommandCompletionService service. All implementations must embed UnimplementedCommandCompletionServiceServer for forward compatibility

type CommandCompletionService_CompletionStreamClient

type CommandCompletionService_CompletionStreamClient interface {
	Recv() (*CompletionStreamResponse, error)
	grpc.ClientStream
}

type CommandCompletionService_CompletionStreamServer

type CommandCompletionService_CompletionStreamServer interface {
	Send(*CompletionStreamResponse) error
	grpc.ServerStream
}

type CommandDeduplicationFeatures

type CommandDeduplicationFeatures struct {
	DeduplicationPeriodSupport *CommandDeduplicationPeriodSupport `` /* 141-byte string literal not displayed */
	DeduplicationType          CommandDeduplicationType           `` /* 166-byte string literal not displayed */
	// The ledger will reject any requests which specify a deduplication period which exceeds the specified max deduplication duration.
	// This is also enforced for ledgers that convert deduplication periods specified as offsets to durations.
	MaxDeduplicationDurationEnforced bool `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

Feature descriptors for command deduplication intended to be used for adapting Ledger API tests.

func (*CommandDeduplicationFeatures) Descriptor deprecated

func (*CommandDeduplicationFeatures) Descriptor() ([]byte, []int)

Deprecated: Use CommandDeduplicationFeatures.ProtoReflect.Descriptor instead.

func (*CommandDeduplicationFeatures) GetDeduplicationPeriodSupport

func (x *CommandDeduplicationFeatures) GetDeduplicationPeriodSupport() *CommandDeduplicationPeriodSupport

func (*CommandDeduplicationFeatures) GetDeduplicationType added in v7.6.3

func (x *CommandDeduplicationFeatures) GetDeduplicationType() CommandDeduplicationType

func (*CommandDeduplicationFeatures) GetMaxDeduplicationDurationEnforced added in v7.6.3

func (x *CommandDeduplicationFeatures) GetMaxDeduplicationDurationEnforced() bool

func (*CommandDeduplicationFeatures) ProtoMessage

func (*CommandDeduplicationFeatures) ProtoMessage()

func (*CommandDeduplicationFeatures) ProtoReflect

func (*CommandDeduplicationFeatures) Reset

func (x *CommandDeduplicationFeatures) Reset()

func (*CommandDeduplicationFeatures) String

type CommandDeduplicationPeriodSupport added in v7.6.3

type CommandDeduplicationPeriodSupport struct {
	OffsetSupport   CommandDeduplicationPeriodSupport_OffsetSupport   `` /* 177-byte string literal not displayed */
	DurationSupport CommandDeduplicationPeriodSupport_DurationSupport `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

Feature descriptor specifying how deduplication periods can be specified and how they are handled by the participant node.

func (*CommandDeduplicationPeriodSupport) Descriptor deprecated added in v7.6.3

func (*CommandDeduplicationPeriodSupport) Descriptor() ([]byte, []int)

Deprecated: Use CommandDeduplicationPeriodSupport.ProtoReflect.Descriptor instead.

func (*CommandDeduplicationPeriodSupport) GetDurationSupport added in v7.6.3

func (*CommandDeduplicationPeriodSupport) GetOffsetSupport added in v7.6.3

func (*CommandDeduplicationPeriodSupport) ProtoMessage added in v7.6.3

func (*CommandDeduplicationPeriodSupport) ProtoMessage()

func (*CommandDeduplicationPeriodSupport) ProtoReflect added in v7.6.3

func (*CommandDeduplicationPeriodSupport) Reset added in v7.6.3

func (*CommandDeduplicationPeriodSupport) String added in v7.6.3

type CommandDeduplicationPeriodSupport_DurationSupport added in v7.6.3

type CommandDeduplicationPeriodSupport_DurationSupport int32

How the participant node supports deduplication periods specified as durations.

const (
	CommandDeduplicationPeriodSupport_DURATION_NATIVE_SUPPORT    CommandDeduplicationPeriodSupport_DurationSupport = 0
	CommandDeduplicationPeriodSupport_DURATION_CONVERT_TO_OFFSET CommandDeduplicationPeriodSupport_DurationSupport = 1
)

func (CommandDeduplicationPeriodSupport_DurationSupport) Descriptor added in v7.6.3

func (CommandDeduplicationPeriodSupport_DurationSupport) Enum added in v7.6.3

func (CommandDeduplicationPeriodSupport_DurationSupport) EnumDescriptor deprecated added in v7.6.3

Deprecated: Use CommandDeduplicationPeriodSupport_DurationSupport.Descriptor instead.

func (CommandDeduplicationPeriodSupport_DurationSupport) Number added in v7.6.3

func (CommandDeduplicationPeriodSupport_DurationSupport) String added in v7.6.3

func (CommandDeduplicationPeriodSupport_DurationSupport) Type added in v7.6.3

type CommandDeduplicationPeriodSupport_OffsetSupport added in v7.6.3

type CommandDeduplicationPeriodSupport_OffsetSupport int32

How the participant node supports deduplication periods specified using offsets.

const (
	CommandDeduplicationPeriodSupport_OFFSET_NOT_SUPPORTED       CommandDeduplicationPeriodSupport_OffsetSupport = 0
	CommandDeduplicationPeriodSupport_OFFSET_NATIVE_SUPPORT      CommandDeduplicationPeriodSupport_OffsetSupport = 1
	CommandDeduplicationPeriodSupport_OFFSET_CONVERT_TO_DURATION CommandDeduplicationPeriodSupport_OffsetSupport = 2
)

func (CommandDeduplicationPeriodSupport_OffsetSupport) Descriptor added in v7.6.3

func (CommandDeduplicationPeriodSupport_OffsetSupport) Enum added in v7.6.3

func (CommandDeduplicationPeriodSupport_OffsetSupport) EnumDescriptor deprecated added in v7.6.3

Deprecated: Use CommandDeduplicationPeriodSupport_OffsetSupport.Descriptor instead.

func (CommandDeduplicationPeriodSupport_OffsetSupport) Number added in v7.6.3

func (CommandDeduplicationPeriodSupport_OffsetSupport) String added in v7.6.3

func (CommandDeduplicationPeriodSupport_OffsetSupport) Type added in v7.6.3

type CommandDeduplicationType added in v7.6.3

type CommandDeduplicationType int32

How the participant node reports duplicate command submissions.

const (
	// Duplicate commands are exclusively reported asynchronously via completions.
	CommandDeduplicationType_ASYNC_ONLY CommandDeduplicationType = 0
	// Commands that are duplicates of concurrently submitted commands are reported synchronously via a gRPC error on the
	// command submission, while all other duplicate commands are reported asynchronously via completions.
	CommandDeduplicationType_ASYNC_AND_CONCURRENT_SYNC CommandDeduplicationType = 1
)

func (CommandDeduplicationType) Descriptor added in v7.6.3

func (CommandDeduplicationType) Enum added in v7.6.3

func (CommandDeduplicationType) EnumDescriptor deprecated added in v7.6.3

func (CommandDeduplicationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CommandDeduplicationType.Descriptor instead.

func (CommandDeduplicationType) Number added in v7.6.3

func (CommandDeduplicationType) String added in v7.6.3

func (x CommandDeduplicationType) String() string

func (CommandDeduplicationType) Type added in v7.6.3

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.
	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.
	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.
	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.
	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.

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.
	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.
	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.
	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.
	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.
	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.

type CommandSubmissionServiceServer

type CommandSubmissionServiceServer interface {
	// Submit a single composite command.
	Submit(context.Context, *SubmitRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

CommandSubmissionServiceServer is the server API for CommandSubmissionService service. All implementations must embed UnimplementedCommandSubmissionServiceServer for forward compatibility

type Command_Create

type Command_Create struct {
	Create *CreateCommand `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}

type Command_CreateAndExercise

type Command_CreateAndExercise struct {
	CreateAndExercise *CreateAndExerciseCommand `protobuf:"bytes,3,opt,name=createAndExercise,proto3,oneof"`
}

type Command_Exercise

type Command_Exercise struct {
	Exercise *ExerciseCommand `protobuf:"bytes,2,opt,name=exercise,proto3,oneof"`
}

type Command_ExerciseByKey

type Command_ExerciseByKey struct {
	ExerciseByKey *ExerciseByKeyCommand `protobuf:"bytes,4,opt,name=exerciseByKey,proto3,oneof"`
}

type Commands

type Commands struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// Identifier of the on-ledger workflow that this command is a part of.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	// Uniquely identifies the application or participant user that issued the command.
	// Must be a valid ApplicationIdString (as described in “value.proto“).
	// Required unless authentication is used with a user token or a custom token specifying an application-id.
	// In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
	ApplicationId string `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	// Uniquely identifies the command.
	// The triple (application_id, party + act_as, command_id) constitutes the change ID for the intended ledger change,
	// where party + act_as is interpreted as a set of party names.
	// The change ID can be used for matching the intended ledger changes with all their completions.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	CommandId string `protobuf:"bytes,4,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
	// Party on whose behalf the command should be executed.
	// If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
	// to act on behalf of the given party.
	// Must be a valid PartyIdString (as described in “value.proto“).
	// Deprecated in favor of the “act_as“ field. If both are set, then the effective list of parties on whose
	// behalf the command should be executed is the union of all parties listed in “party“ and “act_as“.
	// Optional
	Party string `protobuf:"bytes,5,opt,name=party,proto3" json:"party,omitempty"`
	// Individual elements of this atomic command. Must be non-empty.
	// Required
	Commands []*Command `protobuf:"bytes,8,rep,name=commands,proto3" json:"commands,omitempty"`
	// Specifies the deduplication period for the change ID.
	// If omitted, the participant will assume the configured maximum deduplication time (see
	// “ledger_configuration_service.proto“).
	//
	// Types that are assignable to DeduplicationPeriod:
	//
	//	*Commands_DeduplicationTime
	//	*Commands_DeduplicationDuration
	//	*Commands_DeduplicationOffset
	DeduplicationPeriod isCommands_DeduplicationPeriod `protobuf_oneof:"deduplication_period"`
	// Lower bound for the ledger time assigned to the resulting transaction.
	// Note: The ledger time of a transaction is assigned as part of command interpretation.
	// Use this property if you expect that command interpretation will take a considerate amount of time, such that by
	// the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
	// Must not be set at the same time as min_ledger_time_rel.
	// Optional
	MinLedgerTimeAbs *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=min_ledger_time_abs,json=minLedgerTimeAbs,proto3" json:"min_ledger_time_abs,omitempty"`
	// Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
	// Must not be set at the same time as min_ledger_time_abs.
	// Optional
	MinLedgerTimeRel *durationpb.Duration `protobuf:"bytes,11,opt,name=min_ledger_time_rel,json=minLedgerTimeRel,proto3" json:"min_ledger_time_rel,omitempty"`
	// Set of parties on whose behalf the command should be executed.
	// If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
	// to act on behalf of each of the given parties.
	// This field supersedes the “party“ field. The effective set of parties on whose behalf the command
	// should be executed is the union of all parties listed in “party“ and “act_as“, which must be non-empty.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Optional
	ActAs []string `protobuf:"bytes,12,rep,name=act_as,json=actAs,proto3" json:"act_as,omitempty"`
	// Set of parties on whose behalf (in addition to all parties listed in “act_as“) contracts can be retrieved.
	// This affects Daml operations such as “fetch“, “fetchByKey“, “lookupByKey“, “exercise“, and “exerciseByKey“.
	// Note: A participant node of a Daml network can host multiple parties. Each contract present on the participant
	// node is only visible to a subset of these parties. A command can only use contracts that are visible to at least
	// one of the parties in “act_as“ or “read_as“. This visibility check is independent from the Daml authorization
	// rules for fetch operations.
	// If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
	// to read contract data on behalf of each of the given parties.
	// Optional
	ReadAs []string `protobuf:"bytes,13,rep,name=read_as,json=readAs,proto3" json:"read_as,omitempty"`
	// A unique identifier to distinguish completions for different submissions with the same change ID.
	// Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
	// with the same change ID.
	// Must be a valid LedgerString (as described in “value.proto“).
	//
	// If omitted, the participant or the committer may set a value of their choice.
	// Optional
	SubmissionId string `protobuf:"bytes,14,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"`
	// Additional contracts used to resolve contract & contract key lookups.
	// Optional
	DisclosedContracts []*DisclosedContract `protobuf:"bytes,17,rep,name=disclosed_contracts,json=disclosedContracts,proto3" json:"disclosed_contracts,omitempty"`
	// contains filtered or unexported fields
}

A composite command that groups multiple commands together.

func (*Commands) Descriptor deprecated

func (*Commands) Descriptor() ([]byte, []int)

Deprecated: Use Commands.ProtoReflect.Descriptor instead.

func (*Commands) GetActAs

func (x *Commands) GetActAs() []string

func (*Commands) GetApplicationId

func (x *Commands) GetApplicationId() string

func (*Commands) GetCommandId

func (x *Commands) GetCommandId() string

func (*Commands) GetCommands

func (x *Commands) GetCommands() []*Command

func (*Commands) GetDeduplicationDuration

func (x *Commands) GetDeduplicationDuration() *durationpb.Duration

func (*Commands) GetDeduplicationOffset

func (x *Commands) GetDeduplicationOffset() string

func (*Commands) GetDeduplicationPeriod

func (m *Commands) GetDeduplicationPeriod() isCommands_DeduplicationPeriod

func (*Commands) GetDeduplicationTime deprecated

func (x *Commands) GetDeduplicationTime() *durationpb.Duration

Deprecated: Do not use.

func (*Commands) GetDisclosedContracts added in v7.10.0

func (x *Commands) GetDisclosedContracts() []*DisclosedContract

func (*Commands) GetLedgerId

func (x *Commands) GetLedgerId() string

func (*Commands) GetMinLedgerTimeAbs

func (x *Commands) GetMinLedgerTimeAbs() *timestamppb.Timestamp

func (*Commands) GetMinLedgerTimeRel

func (x *Commands) GetMinLedgerTimeRel() *durationpb.Duration

func (*Commands) GetParty

func (x *Commands) GetParty() string

func (*Commands) GetReadAs

func (x *Commands) GetReadAs() []string

func (*Commands) GetSubmissionId

func (x *Commands) GetSubmissionId() string

func (*Commands) GetWorkflowId

func (x *Commands) GetWorkflowId() string

func (*Commands) ProtoMessage

func (*Commands) ProtoMessage()

func (*Commands) ProtoReflect

func (x *Commands) ProtoReflect() protoreflect.Message

func (*Commands) Reset

func (x *Commands) Reset()

func (*Commands) String

func (x *Commands) String() string

type Commands_DeduplicationDuration

type Commands_DeduplicationDuration struct {
	// Specifies the length of the deduplication period.
	// It is interpreted relative to the local clock at some point during the submission's processing.
	// Must be non-negative. Must not exceed the maximum deduplication time (see
	// “ledger_configuration_service.proto“).
	DeduplicationDuration *durationpb.Duration `protobuf:"bytes,15,opt,name=deduplication_duration,json=deduplicationDuration,proto3,oneof"`
}

type Commands_DeduplicationOffset

type Commands_DeduplicationOffset struct {
	// Specifies the start of the deduplication period by a completion stream offset (exclusive).
	// Must be a valid LedgerString (as described in “ledger_offset.proto“).
	DeduplicationOffset string `protobuf:"bytes,16,opt,name=deduplication_offset,json=deduplicationOffset,proto3,oneof"`
}

type Commands_DeduplicationTime

type Commands_DeduplicationTime struct {
	// Specifies the length of the deduplication period.
	// Same semantics apply as for `deduplication_duration`.
	// Must be non-negative. Must not exceed the maximum deduplication time (see
	// “ledger_configuration_service.proto“).
	//
	// Deprecated: Do not use.
	DeduplicationTime *durationpb.Duration `protobuf:"bytes,9,opt,name=deduplication_time,json=deduplicationTime,proto3,oneof"`
}

type Completion

type Completion struct {

	// The ID of the succeeded or failed command.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	CommandId string `protobuf:"bytes,1,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
	// Identifies the exact type of the error.
	// It uses the same format of conveying error details as it is used for the RPC responses of the APIs.
	// Optional
	Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// The transaction_id of the transaction that resulted from the command with command_id.
	// Only set for successfully executed commands.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	TransactionId string `protobuf:"bytes,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	// The application-id or user-id that was used for the submission, as described in “commands.proto“.
	// Must be a valid ApplicationIdString (as described in “value.proto“).
	// Optional for historic completions where this data is not available.
	ApplicationId string `protobuf:"bytes,4,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	// The set of parties on whose behalf the commands were executed.
	// Contains the union of “party“ and “act_as“ from “commands.proto“.
	// The order of the parties need not be the same as in the submission.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Optional for historic completions where this data is not available.
	ActAs []string `protobuf:"bytes,5,rep,name=act_as,json=actAs,proto3" json:"act_as,omitempty"`
	// The submission ID this completion refers to, as described in “commands.proto“.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	SubmissionId string `protobuf:"bytes,6,opt,name=submission_id,json=submissionId,proto3" json:"submission_id,omitempty"`
	// The actual deduplication window used for the submission, which is derived from
	// “Commands.deduplication_period“. The ledger may convert the deduplication period into other
	// descriptions and extend the period in implementation-specified ways.
	//
	// Used to audit the deduplication guarantee described in “commands.proto“.
	//
	// Optional; the deduplication guarantee applies even if the completion omits this field.
	//
	// Types that are assignable to DeduplicationPeriod:
	//
	//	*Completion_DeduplicationOffset
	//	*Completion_DeduplicationDuration
	DeduplicationPeriod isCompletion_DeduplicationPeriod `protobuf_oneof:"deduplication_period"`
	// contains filtered or unexported fields
}

A completion represents the status of a submitted command on the ledger: it can be successful or failed.

func (*Completion) Descriptor deprecated

func (*Completion) Descriptor() ([]byte, []int)

Deprecated: Use Completion.ProtoReflect.Descriptor instead.

func (*Completion) GetActAs

func (x *Completion) GetActAs() []string

func (*Completion) GetApplicationId

func (x *Completion) GetApplicationId() string

func (*Completion) GetCommandId

func (x *Completion) GetCommandId() string

func (*Completion) GetDeduplicationDuration

func (x *Completion) GetDeduplicationDuration() *durationpb.Duration

func (*Completion) GetDeduplicationOffset

func (x *Completion) GetDeduplicationOffset() string

func (*Completion) GetDeduplicationPeriod

func (m *Completion) GetDeduplicationPeriod() isCompletion_DeduplicationPeriod

func (*Completion) GetStatus

func (x *Completion) GetStatus() *status.Status

func (*Completion) GetSubmissionId

func (x *Completion) GetSubmissionId() string

func (*Completion) GetTransactionId

func (x *Completion) GetTransactionId() string

func (*Completion) ProtoMessage

func (*Completion) ProtoMessage()

func (*Completion) ProtoReflect

func (x *Completion) ProtoReflect() protoreflect.Message

func (*Completion) Reset

func (x *Completion) Reset()

func (*Completion) String

func (x *Completion) String() string

type CompletionEndRequest

type CompletionEndRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CompletionEndRequest) Descriptor deprecated

func (*CompletionEndRequest) Descriptor() ([]byte, []int)

Deprecated: Use CompletionEndRequest.ProtoReflect.Descriptor instead.

func (*CompletionEndRequest) GetLedgerId

func (x *CompletionEndRequest) GetLedgerId() string

func (*CompletionEndRequest) ProtoMessage

func (*CompletionEndRequest) ProtoMessage()

func (*CompletionEndRequest) ProtoReflect

func (x *CompletionEndRequest) ProtoReflect() protoreflect.Message

func (*CompletionEndRequest) Reset

func (x *CompletionEndRequest) Reset()

func (*CompletionEndRequest) String

func (x *CompletionEndRequest) String() string

type CompletionEndResponse

type CompletionEndResponse struct {

	// This offset can be used in a CompletionStreamRequest message.
	// Required
	Offset *LedgerOffset `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*CompletionEndResponse) Descriptor deprecated

func (*CompletionEndResponse) Descriptor() ([]byte, []int)

Deprecated: Use CompletionEndResponse.ProtoReflect.Descriptor instead.

func (*CompletionEndResponse) GetOffset

func (x *CompletionEndResponse) GetOffset() *LedgerOffset

func (*CompletionEndResponse) ProtoMessage

func (*CompletionEndResponse) ProtoMessage()

func (*CompletionEndResponse) ProtoReflect

func (x *CompletionEndResponse) ProtoReflect() protoreflect.Message

func (*CompletionEndResponse) Reset

func (x *CompletionEndResponse) Reset()

func (*CompletionEndResponse) String

func (x *CompletionEndResponse) String() string

type CompletionStreamRequest

type CompletionStreamRequest struct {

	// Must correspond to the ledger id reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// Only completions of commands submitted with the same application_id will be visible in the stream.
	// Must be a valid ApplicationIdString (as described in “value.proto“).
	// Required unless authentication is used with a user token or a custom token specifying an application-id.
	// In that case, the token's user-id, respectively application-id, will be used for the request's application_id.
	ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	// Non-empty list of parties whose data should be included.
	// Only completions of commands for which at least one of the “act_as“ parties is in the given set of parties
	// will be visible in the stream.
	// Must be a valid PartyIdString (as described in “value.proto“).
	// Required
	Parties []string `protobuf:"bytes,3,rep,name=parties,proto3" json:"parties,omitempty"`
	// This field indicates the minimum offset for completions. This can be used to resume an earlier completion stream.
	// This offset is exclusive: the response will only contain commands whose offset is strictly greater than this.
	// Optional, if not set the ledger uses the current ledger end offset instead.
	Offset *LedgerOffset `protobuf:"bytes,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*CompletionStreamRequest) Descriptor deprecated

func (*CompletionStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use CompletionStreamRequest.ProtoReflect.Descriptor instead.

func (*CompletionStreamRequest) GetApplicationId

func (x *CompletionStreamRequest) GetApplicationId() string

func (*CompletionStreamRequest) GetLedgerId

func (x *CompletionStreamRequest) GetLedgerId() string

func (*CompletionStreamRequest) GetOffset

func (x *CompletionStreamRequest) GetOffset() *LedgerOffset

func (*CompletionStreamRequest) GetParties

func (x *CompletionStreamRequest) GetParties() []string

func (*CompletionStreamRequest) ProtoMessage

func (*CompletionStreamRequest) ProtoMessage()

func (*CompletionStreamRequest) ProtoReflect

func (x *CompletionStreamRequest) ProtoReflect() protoreflect.Message

func (*CompletionStreamRequest) Reset

func (x *CompletionStreamRequest) Reset()

func (*CompletionStreamRequest) String

func (x *CompletionStreamRequest) String() string

type CompletionStreamResponse

type CompletionStreamResponse struct {

	// This checkpoint may be used to restart consumption.  The
	// checkpoint is after any completions in this response.
	// Optional
	Checkpoint *Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
	// If set, one or more completions.
	Completions []*Completion `protobuf:"bytes,2,rep,name=completions,proto3" json:"completions,omitempty"`
	// contains filtered or unexported fields
}

func (*CompletionStreamResponse) Descriptor deprecated

func (*CompletionStreamResponse) Descriptor() ([]byte, []int)

Deprecated: Use CompletionStreamResponse.ProtoReflect.Descriptor instead.

func (*CompletionStreamResponse) GetCheckpoint

func (x *CompletionStreamResponse) GetCheckpoint() *Checkpoint

func (*CompletionStreamResponse) GetCompletions

func (x *CompletionStreamResponse) GetCompletions() []*Completion

func (*CompletionStreamResponse) ProtoMessage

func (*CompletionStreamResponse) ProtoMessage()

func (*CompletionStreamResponse) ProtoReflect

func (x *CompletionStreamResponse) ProtoReflect() protoreflect.Message

func (*CompletionStreamResponse) Reset

func (x *CompletionStreamResponse) Reset()

func (*CompletionStreamResponse) String

func (x *CompletionStreamResponse) String() string

type Completion_DeduplicationDuration

type Completion_DeduplicationDuration struct {
	// Specifies the length of the deduplication period.
	// It is measured in record time of completions.
	//
	// Must be non-negative.
	DeduplicationDuration *durationpb.Duration `protobuf:"bytes,9,opt,name=deduplication_duration,json=deduplicationDuration,proto3,oneof"`
}

type Completion_DeduplicationOffset

type Completion_DeduplicationOffset struct {
	// Specifies the start of the deduplication period by a completion stream offset (exclusive).
	//
	// Must be a valid LedgerString (as described in “value.proto“).
	DeduplicationOffset string `protobuf:"bytes,8,opt,name=deduplication_offset,json=deduplicationOffset,proto3,oneof"`
}

type ContractMetadata added in v7.10.0

type ContractMetadata struct {

	// Ledger effective time of the transaction that created the contract.
	// Required
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Hash of the contract key if defined.
	// Optional
	ContractKeyHash []byte `protobuf:"bytes,2,opt,name=contract_key_hash,json=contractKeyHash,proto3" json:"contract_key_hash,omitempty"`
	// Driver-specific metadata. This is opaque and cannot be decoded.
	// Optional
	DriverMetadata []byte `protobuf:"bytes,3,opt,name=driver_metadata,json=driverMetadata,proto3" json:"driver_metadata,omitempty"`
	// contains filtered or unexported fields
}

Contract-related metadata used in DisclosedContract (that can be included in command submission) or forwarded as part of the CreateEvent in Active Contract Set or Transaction streams.

func (*ContractMetadata) Descriptor deprecated added in v7.10.0

func (*ContractMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ContractMetadata.ProtoReflect.Descriptor instead.

func (*ContractMetadata) GetContractKeyHash added in v7.10.0

func (x *ContractMetadata) GetContractKeyHash() []byte

func (*ContractMetadata) GetCreatedAt added in v7.10.0

func (x *ContractMetadata) GetCreatedAt() *timestamppb.Timestamp

func (*ContractMetadata) GetDriverMetadata added in v7.10.0

func (x *ContractMetadata) GetDriverMetadata() []byte

func (*ContractMetadata) ProtoMessage added in v7.10.0

func (*ContractMetadata) ProtoMessage()

func (*ContractMetadata) ProtoReflect added in v7.10.0

func (x *ContractMetadata) ProtoReflect() protoreflect.Message

func (*ContractMetadata) Reset added in v7.10.0

func (x *ContractMetadata) Reset()

func (*ContractMetadata) String added in v7.10.0

func (x *ContractMetadata) 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.
	// This will be set if and only if “create_arguments“ is set and “template_id“ defines a contract key.
	// 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.
	// Set either:
	//   - if there was a party, which is in the “witness_parties“ of this event,
	//     and for which an “InclusiveFilters“ exists with the “template_id“ of this event
	//     among the “template_ids“,
	//   - or if there was a party, which is in the “witness_parties“ of this event,
	//     and for which a wildcard filter exists (“Filters“ without “InclusiveFilters“,
	//     or with an “InclusiveFilters“ with empty “template_ids“ and empty “interface_filters“).
	//
	// Optional
	CreateArguments *Record `protobuf:"bytes,4,opt,name=create_arguments,json=createArguments,proto3" json:"create_arguments,omitempty"`
	// Opaque representation of contract payload intended for forwarding
	// to an API server as a contract disclosed as part of a command
	// submission.
	// Optional
	CreateArgumentsBlob *anypb.Any `protobuf:"bytes,12,opt,name=create_arguments_blob,json=createArgumentsBlob,proto3" json:"create_arguments_blob,omitempty"`
	// Interface views specified in the transaction filter.
	// Includes an “InterfaceView“ for each interface for which there is a “InterfaceFilter“ with
	//   - its party in the “witness_parties“ of this event,
	//   - and which is implemented by the template of this event,
	//   - and which has “include_interface_view“ set.
	//
	// Optional
	InterfaceViews []*InterfaceView `protobuf:"bytes,11,rep,name=interface_views,json=interfaceViews,proto3" json:"interface_views,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"`
	// Metadata of the contract. Required for contracts created
	// after the introduction of explicit disclosure.
	Metadata *ContractMetadata `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,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) GetCreateArgumentsBlob added in v7.10.0

func (x *CreatedEvent) GetCreateArgumentsBlob() *anypb.Any

func (*CreatedEvent) GetEventId

func (x *CreatedEvent) GetEventId() string

func (*CreatedEvent) GetInterfaceViews added in v7.10.0

func (x *CreatedEvent) GetInterfaceViews() []*InterfaceView

func (*CreatedEvent) GetMetadata added in v7.10.0

func (x *CreatedEvent) GetMetadata() *ContractMetadata

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 DisclosedContract added in v7.10.0

type DisclosedContract struct {

	// The template id of the contract.
	// Required
	TemplateId *Identifier `protobuf:"bytes,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
	// The contract id
	// Required
	ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
	// The contract arguments
	//
	// Types that are assignable to Arguments:
	//
	//	*DisclosedContract_CreateArguments
	//	*DisclosedContract_CreateArgumentsBlob
	Arguments isDisclosedContract_Arguments `protobuf_oneof:"arguments"`
	// The contract metadata from the create event.
	// Required
	Metadata *ContractMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

An additional contract that is used to resolve contract & contract key lookups.

func (*DisclosedContract) Descriptor deprecated added in v7.10.0

func (*DisclosedContract) Descriptor() ([]byte, []int)

Deprecated: Use DisclosedContract.ProtoReflect.Descriptor instead.

func (*DisclosedContract) GetArguments added in v7.10.0

func (m *DisclosedContract) GetArguments() isDisclosedContract_Arguments

func (*DisclosedContract) GetContractId added in v7.10.0

func (x *DisclosedContract) GetContractId() string

func (*DisclosedContract) GetCreateArguments added in v7.10.0

func (x *DisclosedContract) GetCreateArguments() *Record

func (*DisclosedContract) GetCreateArgumentsBlob added in v7.10.0

func (x *DisclosedContract) GetCreateArgumentsBlob() *anypb.Any

func (*DisclosedContract) GetMetadata added in v7.10.0

func (x *DisclosedContract) GetMetadata() *ContractMetadata

func (*DisclosedContract) GetTemplateId added in v7.10.0

func (x *DisclosedContract) GetTemplateId() *Identifier

func (*DisclosedContract) ProtoMessage added in v7.10.0

func (*DisclosedContract) ProtoMessage()

func (*DisclosedContract) ProtoReflect added in v7.10.0

func (x *DisclosedContract) ProtoReflect() protoreflect.Message

func (*DisclosedContract) Reset added in v7.10.0

func (x *DisclosedContract) Reset()

func (*DisclosedContract) String added in v7.10.0

func (x *DisclosedContract) String() string

type DisclosedContract_CreateArguments added in v7.10.0

type DisclosedContract_CreateArguments struct {
	// The contract arguments as typed Record
	CreateArguments *Record `protobuf:"bytes,3,opt,name=create_arguments,json=createArguments,proto3,oneof"`
}

type DisclosedContract_CreateArgumentsBlob added in v7.10.0

type DisclosedContract_CreateArgumentsBlob struct {
	// The contract arguments specified using an opaque blob extracted from the “create_arguments_blob“ field
	// of a “com.daml.ledger.api.v1.CreatedEvent“.
	CreateArgumentsBlob *anypb.Any `protobuf:"bytes,5,opt,name=create_arguments_blob,json=createArgumentsBlob,proto3,oneof"`
}

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) Descriptor() ([]byte, []int)

Deprecated: Use Enum.ProtoReflect.Descriptor instead.

func (*Enum) GetConstructor

func (x *Enum) GetConstructor() string

func (*Enum) GetEnumId

func (x *Enum) GetEnumId() *Identifier

func (*Enum) ProtoMessage

func (*Enum) ProtoMessage()

func (*Enum) ProtoReflect

func (x *Enum) ProtoReflect() protoreflect.Message

func (*Enum) Reset

func (x *Enum) Reset()

func (*Enum) String

func (x *Enum) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetArchived

func (x *Event) GetArchived() *ArchivedEvent

func (*Event) GetCreated

func (x *Event) GetCreated() *CreatedEvent

func (*Event) GetEvent

func (m *Event) GetEvent() isEvent_Event

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

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 interface where the choice is defined, if inherited.
	// Optional
	InterfaceId *Identifier `protobuf:"bytes,13,opt,name=interface_id,json=interfaceId,proto3" json:"interface_id,omitempty"`
	// The choice that was 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 of the exercised choice.
	// Required
	ChoiceArgument *Value `protobuf:"bytes,6,opt,name=choice_argument,json=choiceArgument,proto3" json:"choice_argument,omitempty"`
	// The parties that exercised 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.
	// The order of the children is the same as the event order in the transaction.
	// 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) GetInterfaceId added in v7.10.0

func (x *ExercisedEvent) GetInterfaceId() *Identifier

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 ExperimentalCommitterEventLog added in v7.8.0

type ExperimentalCommitterEventLog struct {
	EventLogType ExperimentalCommitterEventLog_CommitterEventLogType `` /* 180-byte string literal not displayed */
	// contains filtered or unexported fields
}

How the committer stores events.

func (*ExperimentalCommitterEventLog) Descriptor deprecated added in v7.8.0

func (*ExperimentalCommitterEventLog) Descriptor() ([]byte, []int)

Deprecated: Use ExperimentalCommitterEventLog.ProtoReflect.Descriptor instead.

func (*ExperimentalCommitterEventLog) GetEventLogType added in v7.8.0

func (*ExperimentalCommitterEventLog) ProtoMessage added in v7.8.0

func (*ExperimentalCommitterEventLog) ProtoMessage()

func (*ExperimentalCommitterEventLog) ProtoReflect added in v7.8.0

func (*ExperimentalCommitterEventLog) Reset added in v7.8.0

func (x *ExperimentalCommitterEventLog) Reset()

func (*ExperimentalCommitterEventLog) String added in v7.8.0

type ExperimentalCommitterEventLog_CommitterEventLogType added in v7.8.0

type ExperimentalCommitterEventLog_CommitterEventLogType int32
const (
	// Default. There is a single log.
	ExperimentalCommitterEventLog_CENTRALIZED ExperimentalCommitterEventLog_CommitterEventLogType = 0
	// There is more than one event log. Usually, when the committer itself is distributed.
	// Or there are per-participant event logs.
	// It may result in transaction IDs being different for the same transaction across participants, for example.
	ExperimentalCommitterEventLog_DISTRIBUTED ExperimentalCommitterEventLog_CommitterEventLogType = 1
)

func (ExperimentalCommitterEventLog_CommitterEventLogType) Descriptor added in v7.8.0

func (ExperimentalCommitterEventLog_CommitterEventLogType) Enum added in v7.8.0

func (ExperimentalCommitterEventLog_CommitterEventLogType) EnumDescriptor deprecated added in v7.8.0

Deprecated: Use ExperimentalCommitterEventLog_CommitterEventLogType.Descriptor instead.

func (ExperimentalCommitterEventLog_CommitterEventLogType) Number added in v7.8.0

func (ExperimentalCommitterEventLog_CommitterEventLogType) String added in v7.8.0

func (ExperimentalCommitterEventLog_CommitterEventLogType) Type added in v7.8.0

type ExperimentalContractIds added in v7.6.3

type ExperimentalContractIds struct {
	V1 ExperimentalContractIds_ContractIdV1Support `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

See `daml-lf/spec/contract-id.rst` for more information on contract ID formats.

func (*ExperimentalContractIds) Descriptor deprecated added in v7.6.3

func (*ExperimentalContractIds) Descriptor() ([]byte, []int)

Deprecated: Use ExperimentalContractIds.ProtoReflect.Descriptor instead.

func (*ExperimentalContractIds) GetV1 added in v7.6.3

func (*ExperimentalContractIds) ProtoMessage added in v7.6.3

func (*ExperimentalContractIds) ProtoMessage()

func (*ExperimentalContractIds) ProtoReflect added in v7.6.3

func (x *ExperimentalContractIds) ProtoReflect() protoreflect.Message

func (*ExperimentalContractIds) Reset added in v7.6.3

func (x *ExperimentalContractIds) Reset()

func (*ExperimentalContractIds) String added in v7.6.3

func (x *ExperimentalContractIds) String() string

type ExperimentalContractIds_ContractIdV1Support added in v7.6.3

type ExperimentalContractIds_ContractIdV1Support int32
const (
	// Contract IDs must be suffixed.
	// Distributed ledger implementations must reject non-suffixed contract IDs.
	ExperimentalContractIds_SUFFIXED ExperimentalContractIds_ContractIdV1Support = 0
	// Contract IDs do not need to be suffixed.
	// This can be useful for shorter contract IDs in centralized committer implementations.
	// Suffixed contract IDs must also be supported.
	ExperimentalContractIds_NON_SUFFIXED ExperimentalContractIds_ContractIdV1Support = 1
)

func (ExperimentalContractIds_ContractIdV1Support) Descriptor added in v7.6.3

func (ExperimentalContractIds_ContractIdV1Support) Enum added in v7.6.3

func (ExperimentalContractIds_ContractIdV1Support) EnumDescriptor deprecated added in v7.6.3

func (ExperimentalContractIds_ContractIdV1Support) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExperimentalContractIds_ContractIdV1Support.Descriptor instead.

func (ExperimentalContractIds_ContractIdV1Support) Number added in v7.6.3

func (ExperimentalContractIds_ContractIdV1Support) String added in v7.6.3

func (ExperimentalContractIds_ContractIdV1Support) Type added in v7.6.3

type ExperimentalExplicitDisclosure added in v7.10.0

type ExperimentalExplicitDisclosure struct {
	Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"`
	// contains filtered or unexported fields
}

Enables the use of explicitly disclosed contracts for command submission

func (*ExperimentalExplicitDisclosure) Descriptor deprecated added in v7.10.0

func (*ExperimentalExplicitDisclosure) Descriptor() ([]byte, []int)

Deprecated: Use ExperimentalExplicitDisclosure.ProtoReflect.Descriptor instead.

func (*ExperimentalExplicitDisclosure) GetSupported added in v7.10.0

func (x *ExperimentalExplicitDisclosure) GetSupported() bool

func (*ExperimentalExplicitDisclosure) ProtoMessage added in v7.10.0

func (*ExperimentalExplicitDisclosure) ProtoMessage()

func (*ExperimentalExplicitDisclosure) ProtoReflect added in v7.10.0

func (*ExperimentalExplicitDisclosure) Reset added in v7.10.0

func (x *ExperimentalExplicitDisclosure) Reset()

func (*ExperimentalExplicitDisclosure) String added in v7.10.0

type ExperimentalFeatures

type ExperimentalFeatures struct {

	// Deprecated: Do not use.
	SelfServiceErrorCodes               *ExperimentalSelfServiceErrorCodes               `` /* 128-byte string literal not displayed */
	StaticTime                          *ExperimentalStaticTime                          `protobuf:"bytes,2,opt,name=static_time,json=staticTime,proto3" json:"static_time,omitempty"`
	CommandDeduplication                *CommandDeduplicationFeatures                    `protobuf:"bytes,3,opt,name=command_deduplication,json=commandDeduplication,proto3" json:"command_deduplication,omitempty"`
	OptionalLedgerId                    *ExperimentalOptionalLedgerId                    `protobuf:"bytes,4,opt,name=optional_ledger_id,json=optionalLedgerId,proto3" json:"optional_ledger_id,omitempty"`
	ContractIds                         *ExperimentalContractIds                         `protobuf:"bytes,5,opt,name=contract_ids,json=contractIds,proto3" json:"contract_ids,omitempty"`
	CommitterEventLog                   *ExperimentalCommitterEventLog                   `protobuf:"bytes,6,opt,name=committer_event_log,json=committerEventLog,proto3" json:"committer_event_log,omitempty"`
	ExplicitDisclosure                  *ExperimentalExplicitDisclosure                  `protobuf:"bytes,7,opt,name=explicit_disclosure,json=explicitDisclosure,proto3" json:"explicit_disclosure,omitempty"`
	UserAndPartyLocalMetadataExtensions *ExperimentalUserAndPartyLocalMetadataExtensions `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

See the feature message definitions for descriptions.

func (*ExperimentalFeatures) Descriptor deprecated

func (*ExperimentalFeatures) Descriptor() ([]byte, []int)

Deprecated: Use ExperimentalFeatures.ProtoReflect.Descriptor instead.

func (*ExperimentalFeatures) GetCommandDeduplication added in v7.6.3

func (x *ExperimentalFeatures) GetCommandDeduplication() *CommandDeduplicationFeatures

func (*ExperimentalFeatures) GetCommitterEventLog added in v7.8.0

func (x *ExperimentalFeatures) GetCommitterEventLog() *ExperimentalCommitterEventLog

func (*ExperimentalFeatures) GetContractIds added in v7.6.3

func (x *ExperimentalFeatures) GetContractIds() *ExperimentalContractIds

func (*ExperimentalFeatures) GetExplicitDisclosure added in v7.10.0

func (x *ExperimentalFeatures) GetExplicitDisclosure() *ExperimentalExplicitDisclosure

func (*ExperimentalFeatures) GetOptionalLedgerId added in v7.6.3

func (x *ExperimentalFeatures) GetOptionalLedgerId() *ExperimentalOptionalLedgerId

func (*ExperimentalFeatures) GetSelfServiceErrorCodes deprecated

func (x *ExperimentalFeatures) GetSelfServiceErrorCodes() *ExperimentalSelfServiceErrorCodes

Deprecated: Do not use.

func (*ExperimentalFeatures) GetStaticTime added in v7.6.3

func (x *ExperimentalFeatures) GetStaticTime() *ExperimentalStaticTime

func (*ExperimentalFeatures) GetUserAndPartyLocalMetadataExtensions added in v7.10.0

func (x *ExperimentalFeatures) GetUserAndPartyLocalMetadataExtensions() *ExperimentalUserAndPartyLocalMetadataExtensions

func (*ExperimentalFeatures) ProtoMessage

func (*ExperimentalFeatures) ProtoMessage()

func (*ExperimentalFeatures) ProtoReflect

func (x *ExperimentalFeatures) ProtoReflect() protoreflect.Message

func (*ExperimentalFeatures) Reset

func (x *ExperimentalFeatures) Reset()

func (*ExperimentalFeatures) String

func (x *ExperimentalFeatures) String() string

type ExperimentalOptionalLedgerId added in v7.6.3

type ExperimentalOptionalLedgerId struct {
	// contains filtered or unexported fields
}

Ledger API does not require ledgerId to be set in the requests.

func (*ExperimentalOptionalLedgerId) Descriptor deprecated added in v7.6.3

func (*ExperimentalOptionalLedgerId) Descriptor() ([]byte, []int)

Deprecated: Use ExperimentalOptionalLedgerId.ProtoReflect.Descriptor instead.

func (*ExperimentalOptionalLedgerId) ProtoMessage added in v7.6.3

func (*ExperimentalOptionalLedgerId) ProtoMessage()

func (*ExperimentalOptionalLedgerId) ProtoReflect added in v7.6.3

func (*ExperimentalOptionalLedgerId) Reset added in v7.6.3

func (x *ExperimentalOptionalLedgerId) Reset()

func (*ExperimentalOptionalLedgerId) String added in v7.6.3

type ExperimentalSelfServiceErrorCodes deprecated

type ExperimentalSelfServiceErrorCodes struct {
	// contains filtered or unexported fields
}

GRPC self-service error codes are returned by the Ledger API.

Deprecated: Do not use.

func (*ExperimentalSelfServiceErrorCodes) Descriptor deprecated

func (*ExperimentalSelfServiceErrorCodes) Descriptor() ([]byte, []int)

Deprecated: Use ExperimentalSelfServiceErrorCodes.ProtoReflect.Descriptor instead.

func (*ExperimentalSelfServiceErrorCodes) ProtoMessage

func (*ExperimentalSelfServiceErrorCodes) ProtoMessage()

func (*ExperimentalSelfServiceErrorCodes) ProtoReflect

func (*ExperimentalSelfServiceErrorCodes) Reset

func (*ExperimentalSelfServiceErrorCodes) String

type ExperimentalStaticTime added in v7.6.3

type ExperimentalStaticTime struct {
	Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"`
	// contains filtered or unexported fields
}

Ledger is in the static time mode and exposes a time service.

func (*ExperimentalStaticTime) Descriptor deprecated added in v7.6.3

func (*ExperimentalStaticTime) Descriptor() ([]byte, []int)

Deprecated: Use ExperimentalStaticTime.ProtoReflect.Descriptor instead.

func (*ExperimentalStaticTime) GetSupported added in v7.6.3

func (x *ExperimentalStaticTime) GetSupported() bool

func (*ExperimentalStaticTime) ProtoMessage added in v7.6.3

func (*ExperimentalStaticTime) ProtoMessage()

func (*ExperimentalStaticTime) ProtoReflect added in v7.6.3

func (x *ExperimentalStaticTime) ProtoReflect() protoreflect.Message

func (*ExperimentalStaticTime) Reset added in v7.6.3

func (x *ExperimentalStaticTime) Reset()

func (*ExperimentalStaticTime) String added in v7.6.3

func (x *ExperimentalStaticTime) String() string

type ExperimentalUserAndPartyLocalMetadataExtensions added in v7.10.0

type ExperimentalUserAndPartyLocalMetadataExtensions struct {
	Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"`
	// contains filtered or unexported fields
}

Whether the Ledger API supports: - is_deactivated user property, - metadata with annotations and resource version for users and parties, - update calls for users and parties.

func (*ExperimentalUserAndPartyLocalMetadataExtensions) Descriptor deprecated added in v7.10.0

Deprecated: Use ExperimentalUserAndPartyLocalMetadataExtensions.ProtoReflect.Descriptor instead.

func (*ExperimentalUserAndPartyLocalMetadataExtensions) GetSupported added in v7.10.0

func (*ExperimentalUserAndPartyLocalMetadataExtensions) ProtoMessage added in v7.10.0

func (*ExperimentalUserAndPartyLocalMetadataExtensions) ProtoReflect added in v7.10.0

func (*ExperimentalUserAndPartyLocalMetadataExtensions) Reset added in v7.10.0

func (*ExperimentalUserAndPartyLocalMetadataExtensions) String added in v7.10.0

type FeaturesDescriptor

type FeaturesDescriptor struct {

	// If set, then the Ledger API server supports user management.
	// It is recommended that clients query this field to gracefully adjust their behavior for
	// ledgers that do not support user management.
	UserManagement *UserManagementFeature `protobuf:"bytes,2,opt,name=user_management,json=userManagement,proto3" json:"user_management,omitempty"`
	// Features under development or features that are used
	// for ledger implementation testing purposes only.
	//
	// Daml applications SHOULD not depend on these in production.
	Experimental *ExperimentalFeatures `protobuf:"bytes,1,opt,name=experimental,proto3" json:"experimental,omitempty"`
	// contains filtered or unexported fields
}

func (*FeaturesDescriptor) Descriptor deprecated

func (*FeaturesDescriptor) Descriptor() ([]byte, []int)

Deprecated: Use FeaturesDescriptor.ProtoReflect.Descriptor instead.

func (*FeaturesDescriptor) GetExperimental

func (x *FeaturesDescriptor) GetExperimental() *ExperimentalFeatures

func (*FeaturesDescriptor) GetUserManagement

func (x *FeaturesDescriptor) GetUserManagement() *UserManagementFeature

func (*FeaturesDescriptor) ProtoMessage

func (*FeaturesDescriptor) ProtoMessage()

func (*FeaturesDescriptor) ProtoReflect

func (x *FeaturesDescriptor) ProtoReflect() protoreflect.Message

func (*FeaturesDescriptor) Reset

func (x *FeaturesDescriptor) Reset()

func (*FeaturesDescriptor) String

func (x *FeaturesDescriptor) String() string

type Filters

type Filters struct {

	// If set, then contracts matching any of the “InclusiveFilters“ match
	// this filter.
	// If not set, or if “InclusiveFilters“ has empty “template_ids“ and empty “interface_filters“:
	// any contract matches this filter.
	// Optional
	Inclusive *InclusiveFilters `protobuf:"bytes,1,opt,name=inclusive,proto3" json:"inclusive,omitempty"`
	// contains filtered or unexported fields
}

The union of a set of contract filters, or a wildcard.

func (*Filters) Descriptor deprecated

func (*Filters) Descriptor() ([]byte, []int)

Deprecated: Use Filters.ProtoReflect.Descriptor instead.

func (*Filters) GetInclusive

func (x *Filters) GetInclusive() *InclusiveFilters

func (*Filters) ProtoMessage

func (*Filters) ProtoMessage()

func (*Filters) ProtoReflect

func (x *Filters) ProtoReflect() protoreflect.Message

func (*Filters) Reset

func (x *Filters) Reset()

func (*Filters) String

func (x *Filters) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use GenMap.ProtoReflect.Descriptor instead.

func (*GenMap) GetEntries

func (x *GenMap) GetEntries() []*GenMap_Entry

func (*GenMap) ProtoMessage

func (*GenMap) ProtoMessage()

func (*GenMap) ProtoReflect

func (x *GenMap) ProtoReflect() protoreflect.Message

func (*GenMap) Reset

func (x *GenMap) Reset()

func (*GenMap) String

func (x *GenMap) String() string

type GenMap_Entry

type GenMap_Entry struct {
	Key   *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GenMap_Entry) Descriptor deprecated

func (*GenMap_Entry) Descriptor() ([]byte, []int)

Deprecated: Use GenMap_Entry.ProtoReflect.Descriptor instead.

func (*GenMap_Entry) GetKey

func (x *GenMap_Entry) GetKey() *Value

func (*GenMap_Entry) GetValue

func (x *GenMap_Entry) GetValue() *Value

func (*GenMap_Entry) ProtoMessage

func (*GenMap_Entry) ProtoMessage()

func (*GenMap_Entry) ProtoReflect

func (x *GenMap_Entry) ProtoReflect() protoreflect.Message

func (*GenMap_Entry) Reset

func (x *GenMap_Entry) Reset()

func (*GenMap_Entry) String

func (x *GenMap_Entry) String() string

type GetActiveContractsRequest

type GetActiveContractsRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// Templates to include in the served snapshot, per party.
	// Required
	Filter *TransactionFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
	// In particular, setting the verbose flag to true triggers the ledger to include labels for record fields.
	// Optional
	Verbose bool `protobuf:"varint,3,opt,name=verbose,proto3" json:"verbose,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActiveContractsRequest) Descriptor deprecated

func (*GetActiveContractsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetActiveContractsRequest.ProtoReflect.Descriptor instead.

func (*GetActiveContractsRequest) GetFilter

func (*GetActiveContractsRequest) GetLedgerId

func (x *GetActiveContractsRequest) GetLedgerId() string

func (*GetActiveContractsRequest) GetVerbose

func (x *GetActiveContractsRequest) GetVerbose() bool

func (*GetActiveContractsRequest) ProtoMessage

func (*GetActiveContractsRequest) ProtoMessage()

func (*GetActiveContractsRequest) ProtoReflect

func (*GetActiveContractsRequest) Reset

func (x *GetActiveContractsRequest) Reset()

func (*GetActiveContractsRequest) String

func (x *GetActiveContractsRequest) String() string

type GetActiveContractsResponse

type GetActiveContractsResponse struct {

	// Included in the last message.
	// The client should start consuming the transactions endpoint with this offset.
	// The format of this field is described in “ledger_offset.proto“.
	// Required
	Offset string `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// The workflow that created the contracts.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	// The list of contracts that were introduced by the workflow with “workflow_id“ at the offset.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	ActiveContracts []*CreatedEvent `protobuf:"bytes,3,rep,name=active_contracts,json=activeContracts,proto3" json:"active_contracts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActiveContractsResponse) Descriptor deprecated

func (*GetActiveContractsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetActiveContractsResponse.ProtoReflect.Descriptor instead.

func (*GetActiveContractsResponse) GetActiveContracts

func (x *GetActiveContractsResponse) GetActiveContracts() []*CreatedEvent

func (*GetActiveContractsResponse) GetOffset

func (x *GetActiveContractsResponse) GetOffset() string

func (*GetActiveContractsResponse) GetWorkflowId

func (x *GetActiveContractsResponse) GetWorkflowId() string

func (*GetActiveContractsResponse) ProtoMessage

func (*GetActiveContractsResponse) ProtoMessage()

func (*GetActiveContractsResponse) ProtoReflect

func (*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 (*GetFlatTransactionResponse) Reset

func (x *GetFlatTransactionResponse) Reset()

func (*GetFlatTransactionResponse) String

func (x *GetFlatTransactionResponse) String() string

type GetLedgerApiVersionRequest

type GetLedgerApiVersionRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLedgerApiVersionRequest) Descriptor deprecated

func (*GetLedgerApiVersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLedgerApiVersionRequest.ProtoReflect.Descriptor instead.

func (*GetLedgerApiVersionRequest) GetLedgerId

func (x *GetLedgerApiVersionRequest) GetLedgerId() string

func (*GetLedgerApiVersionRequest) ProtoMessage

func (*GetLedgerApiVersionRequest) ProtoMessage()

func (*GetLedgerApiVersionRequest) ProtoReflect

func (*GetLedgerApiVersionRequest) Reset

func (x *GetLedgerApiVersionRequest) Reset()

func (*GetLedgerApiVersionRequest) String

func (x *GetLedgerApiVersionRequest) String() string

type GetLedgerApiVersionResponse

type GetLedgerApiVersionResponse struct {

	// The version of the ledger API.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The features supported by this Ledger API endpoint.
	//
	// Daml applications CAN use the feature descriptor on top of
	// version constraints on the Ledger API version to determine
	// whether a given Ledger API endpoint supports the features
	// required to run the application.
	//
	// See the feature descriptions themselves for the relation between
	// Ledger API versions and feature presence.
	Features *FeaturesDescriptor `protobuf:"bytes,2,opt,name=features,proto3" json:"features,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLedgerApiVersionResponse) Descriptor deprecated

func (*GetLedgerApiVersionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLedgerApiVersionResponse.ProtoReflect.Descriptor instead.

func (*GetLedgerApiVersionResponse) GetFeatures

func (*GetLedgerApiVersionResponse) GetVersion

func (x *GetLedgerApiVersionResponse) GetVersion() string

func (*GetLedgerApiVersionResponse) ProtoMessage

func (*GetLedgerApiVersionResponse) ProtoMessage()

func (*GetLedgerApiVersionResponse) ProtoReflect

func (*GetLedgerApiVersionResponse) Reset

func (x *GetLedgerApiVersionResponse) Reset()

func (*GetLedgerApiVersionResponse) String

func (x *GetLedgerApiVersionResponse) String() string

type GetLedgerConfigurationRequest

type GetLedgerConfigurationRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLedgerConfigurationRequest) Descriptor deprecated

func (*GetLedgerConfigurationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLedgerConfigurationRequest.ProtoReflect.Descriptor instead.

func (*GetLedgerConfigurationRequest) GetLedgerId

func (x *GetLedgerConfigurationRequest) GetLedgerId() string

func (*GetLedgerConfigurationRequest) ProtoMessage

func (*GetLedgerConfigurationRequest) ProtoMessage()

func (*GetLedgerConfigurationRequest) ProtoReflect

func (*GetLedgerConfigurationRequest) Reset

func (x *GetLedgerConfigurationRequest) Reset()

func (*GetLedgerConfigurationRequest) 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 (*GetLedgerConfigurationResponse) Reset

func (x *GetLedgerConfigurationResponse) Reset()

func (*GetLedgerConfigurationResponse) String

type GetLedgerEndRequest

type GetLedgerEndRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as describe in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLedgerEndRequest) Descriptor deprecated

func (*GetLedgerEndRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLedgerEndRequest.ProtoReflect.Descriptor instead.

func (*GetLedgerEndRequest) GetLedgerId

func (x *GetLedgerEndRequest) GetLedgerId() string

func (*GetLedgerEndRequest) ProtoMessage

func (*GetLedgerEndRequest) ProtoMessage()

func (*GetLedgerEndRequest) ProtoReflect

func (x *GetLedgerEndRequest) ProtoReflect() protoreflect.Message

func (*GetLedgerEndRequest) Reset

func (x *GetLedgerEndRequest) Reset()

func (*GetLedgerEndRequest) String

func (x *GetLedgerEndRequest) String() string

type GetLedgerEndResponse

type GetLedgerEndResponse struct {

	// The absolute offset of the current ledger end.
	Offset *LedgerOffset `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLedgerEndResponse) Descriptor deprecated

func (*GetLedgerEndResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLedgerEndResponse.ProtoReflect.Descriptor instead.

func (*GetLedgerEndResponse) GetOffset

func (x *GetLedgerEndResponse) GetOffset() *LedgerOffset

func (*GetLedgerEndResponse) ProtoMessage

func (*GetLedgerEndResponse) ProtoMessage()

func (*GetLedgerEndResponse) ProtoReflect

func (x *GetLedgerEndResponse) ProtoReflect() protoreflect.Message

func (*GetLedgerEndResponse) Reset

func (x *GetLedgerEndResponse) Reset()

func (*GetLedgerEndResponse) String

func (x *GetLedgerEndResponse) String() string

type GetLedgerIdentityRequest deprecated

type GetLedgerIdentityRequest struct {
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*GetLedgerIdentityRequest) Descriptor deprecated

func (*GetLedgerIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLedgerIdentityRequest.ProtoReflect.Descriptor instead.

func (*GetLedgerIdentityRequest) ProtoMessage

func (*GetLedgerIdentityRequest) ProtoMessage()

func (*GetLedgerIdentityRequest) ProtoReflect

func (x *GetLedgerIdentityRequest) ProtoReflect() protoreflect.Message

func (*GetLedgerIdentityRequest) Reset

func (x *GetLedgerIdentityRequest) Reset()

func (*GetLedgerIdentityRequest) String

func (x *GetLedgerIdentityRequest) String() string

type GetLedgerIdentityResponse deprecated

type GetLedgerIdentityResponse struct {

	// The ID of the ledger exposed by the server.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	//
	// Deprecated: Do not use.
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*GetLedgerIdentityResponse) Descriptor deprecated

func (*GetLedgerIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLedgerIdentityResponse.ProtoReflect.Descriptor instead.

func (*GetLedgerIdentityResponse) GetLedgerId deprecated

func (x *GetLedgerIdentityResponse) GetLedgerId() string

Deprecated: Do not use.

func (*GetLedgerIdentityResponse) ProtoMessage

func (*GetLedgerIdentityResponse) ProtoMessage()

func (*GetLedgerIdentityResponse) ProtoReflect

func (*GetLedgerIdentityResponse) Reset

func (x *GetLedgerIdentityResponse) Reset()

func (*GetLedgerIdentityResponse) String

func (x *GetLedgerIdentityResponse) String() string

type GetPackageRequest

type GetPackageRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// The ID of the requested package.
	// Must be a valid PackageIdString (as described in “value.proto“).
	// Required
	PackageId string `protobuf:"bytes,2,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPackageRequest) Descriptor deprecated

func (*GetPackageRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.

func (*GetPackageRequest) GetLedgerId

func (x *GetPackageRequest) GetLedgerId() string

func (*GetPackageRequest) GetPackageId

func (x *GetPackageRequest) GetPackageId() string

func (*GetPackageRequest) ProtoMessage

func (*GetPackageRequest) ProtoMessage()

func (*GetPackageRequest) ProtoReflect

func (x *GetPackageRequest) ProtoReflect() protoreflect.Message

func (*GetPackageRequest) Reset

func (x *GetPackageRequest) Reset()

func (*GetPackageRequest) String

func (x *GetPackageRequest) String() string

type GetPackageResponse

type GetPackageResponse struct {

	// The hash function we use to calculate the hash.
	// Required
	HashFunction HashFunction `` /* 139-byte string literal not displayed */
	// Contains a “daml_lf“ ArchivePayload. See further details in “daml_lf.proto“.
	// Required
	ArchivePayload []byte `protobuf:"bytes,2,opt,name=archive_payload,json=archivePayload,proto3" json:"archive_payload,omitempty"`
	// The hash of the archive payload, can also used as a “package_id“.
	// Must be a valid PackageIdString (as described in “value.proto“).
	// Required
	Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPackageResponse) Descriptor deprecated

func (*GetPackageResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPackageResponse.ProtoReflect.Descriptor instead.

func (*GetPackageResponse) GetArchivePayload

func (x *GetPackageResponse) GetArchivePayload() []byte

func (*GetPackageResponse) GetHash

func (x *GetPackageResponse) GetHash() string

func (*GetPackageResponse) GetHashFunction

func (x *GetPackageResponse) GetHashFunction() HashFunction

func (*GetPackageResponse) ProtoMessage

func (*GetPackageResponse) ProtoMessage()

func (*GetPackageResponse) ProtoReflect

func (x *GetPackageResponse) ProtoReflect() protoreflect.Message

func (*GetPackageResponse) Reset

func (x *GetPackageResponse) Reset()

func (*GetPackageResponse) String

func (x *GetPackageResponse) String() string

type GetPackageStatusRequest

type GetPackageStatusRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// The ID of the requested package.
	// Must be a valid PackageIdString (as described in “value.proto“).
	// Required
	PackageId string `protobuf:"bytes,2,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPackageStatusRequest) Descriptor deprecated

func (*GetPackageStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPackageStatusRequest.ProtoReflect.Descriptor instead.

func (*GetPackageStatusRequest) GetLedgerId

func (x *GetPackageStatusRequest) GetLedgerId() string

func (*GetPackageStatusRequest) GetPackageId

func (x *GetPackageStatusRequest) GetPackageId() string

func (*GetPackageStatusRequest) ProtoMessage

func (*GetPackageStatusRequest) ProtoMessage()

func (*GetPackageStatusRequest) ProtoReflect

func (x *GetPackageStatusRequest) ProtoReflect() protoreflect.Message

func (*GetPackageStatusRequest) Reset

func (x *GetPackageStatusRequest) Reset()

func (*GetPackageStatusRequest) String

func (x *GetPackageStatusRequest) String() string

type GetPackageStatusResponse

type GetPackageStatusResponse struct {

	// The status of the package.
	PackageStatus PackageStatus `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetPackageStatusResponse) Descriptor deprecated

func (*GetPackageStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPackageStatusResponse.ProtoReflect.Descriptor instead.

func (*GetPackageStatusResponse) GetPackageStatus

func (x *GetPackageStatusResponse) GetPackageStatus() PackageStatus

func (*GetPackageStatusResponse) ProtoMessage

func (*GetPackageStatusResponse) ProtoMessage()

func (*GetPackageStatusResponse) ProtoReflect

func (x *GetPackageStatusResponse) ProtoReflect() protoreflect.Message

func (*GetPackageStatusResponse) Reset

func (x *GetPackageStatusResponse) Reset()

func (*GetPackageStatusResponse) String

func (x *GetPackageStatusResponse) String() string

type GetTransactionByEventIdRequest

type GetTransactionByEventIdRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// The ID of a particular event.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	EventId string `protobuf:"bytes,2,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// The parties whose events the client expects to see.
	// Events that are not visible for the parties in this collection will not be present in the response.
	// Each element must be a valid PartyIdString (as described in “value.proto“).
	// Required
	RequestingParties []string `protobuf:"bytes,3,rep,name=requesting_parties,json=requestingParties,proto3" json:"requesting_parties,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionByEventIdRequest) Descriptor deprecated

func (*GetTransactionByEventIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionByEventIdRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionByEventIdRequest) GetEventId

func (x *GetTransactionByEventIdRequest) GetEventId() string

func (*GetTransactionByEventIdRequest) GetLedgerId

func (x *GetTransactionByEventIdRequest) GetLedgerId() string

func (*GetTransactionByEventIdRequest) GetRequestingParties

func (x *GetTransactionByEventIdRequest) GetRequestingParties() []string

func (*GetTransactionByEventIdRequest) ProtoMessage

func (*GetTransactionByEventIdRequest) ProtoMessage()

func (*GetTransactionByEventIdRequest) ProtoReflect

func (*GetTransactionByEventIdRequest) Reset

func (x *GetTransactionByEventIdRequest) Reset()

func (*GetTransactionByEventIdRequest) String

type GetTransactionByIdRequest

type GetTransactionByIdRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as describe in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// The ID of a particular transaction.
	// Must be a valid LedgerString (as describe in “value.proto“).
	// Required
	TransactionId string `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	// The parties whose events the client expects to see.
	// Events that are not visible for the parties in this collection will not be present in the response.
	// Each element be a valid PartyIdString (as describe in “value.proto“).
	// Required
	RequestingParties []string `protobuf:"bytes,3,rep,name=requesting_parties,json=requestingParties,proto3" json:"requesting_parties,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionByIdRequest) Descriptor deprecated

func (*GetTransactionByIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionByIdRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionByIdRequest) GetLedgerId

func (x *GetTransactionByIdRequest) GetLedgerId() string

func (*GetTransactionByIdRequest) GetRequestingParties

func (x *GetTransactionByIdRequest) GetRequestingParties() []string

func (*GetTransactionByIdRequest) GetTransactionId

func (x *GetTransactionByIdRequest) GetTransactionId() string

func (*GetTransactionByIdRequest) ProtoMessage

func (*GetTransactionByIdRequest) ProtoMessage()

func (*GetTransactionByIdRequest) ProtoReflect

func (*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 (*GetTransactionTreesResponse) Reset

func (x *GetTransactionTreesResponse) Reset()

func (*GetTransactionTreesResponse) String

func (x *GetTransactionTreesResponse) String() string

type GetTransactionsRequest

type GetTransactionsRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// Beginning of the requested ledger section.
	// This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this.
	// Required
	Begin *LedgerOffset `protobuf:"bytes,2,opt,name=begin,proto3" json:"begin,omitempty"`
	// End of the requested ledger section.
	// This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this.
	// Optional, if not set, the stream will not terminate.
	End *LedgerOffset `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	// Requesting parties with template filters.
	// Template filters must be empty for GetTransactionTrees requests.
	// Required
	Filter *TransactionFilter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// If enabled, values served over the API will contain more information than strictly necessary to interpret the data.
	// In particular, setting the verbose flag to true triggers the ledger to include labels for record fields.
	// Optional
	Verbose bool `protobuf:"varint,5,opt,name=verbose,proto3" json:"verbose,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionsRequest) Descriptor deprecated

func (*GetTransactionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionsRequest.ProtoReflect.Descriptor instead.

func (*GetTransactionsRequest) GetBegin

func (x *GetTransactionsRequest) GetBegin() *LedgerOffset

func (*GetTransactionsRequest) GetEnd

func (x *GetTransactionsRequest) GetEnd() *LedgerOffset

func (*GetTransactionsRequest) GetFilter

func (x *GetTransactionsRequest) GetFilter() *TransactionFilter

func (*GetTransactionsRequest) GetLedgerId

func (x *GetTransactionsRequest) GetLedgerId() string

func (*GetTransactionsRequest) GetVerbose

func (x *GetTransactionsRequest) GetVerbose() bool

func (*GetTransactionsRequest) ProtoMessage

func (*GetTransactionsRequest) ProtoMessage()

func (*GetTransactionsRequest) ProtoReflect

func (x *GetTransactionsRequest) ProtoReflect() protoreflect.Message

func (*GetTransactionsRequest) Reset

func (x *GetTransactionsRequest) Reset()

func (*GetTransactionsRequest) String

func (x *GetTransactionsRequest) String() string

type GetTransactionsResponse

type GetTransactionsResponse struct {

	// The list of transactions that matches the filter in GetTransactionsRequest for the GetTransactions method.
	Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionsResponse) Descriptor deprecated

func (*GetTransactionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionsResponse.ProtoReflect.Descriptor instead.

func (*GetTransactionsResponse) GetTransactions

func (x *GetTransactionsResponse) GetTransactions() []*Transaction

func (*GetTransactionsResponse) ProtoMessage

func (*GetTransactionsResponse) ProtoMessage()

func (*GetTransactionsResponse) ProtoReflect

func (x *GetTransactionsResponse) ProtoReflect() protoreflect.Message

func (*GetTransactionsResponse) Reset

func (x *GetTransactionsResponse) Reset()

func (*GetTransactionsResponse) String

func (x *GetTransactionsResponse) String() string

type HashFunction

type HashFunction int32
const (
	HashFunction_SHA256 HashFunction = 0
)

func (HashFunction) Descriptor

func (HashFunction) Enum

func (x HashFunction) Enum() *HashFunction

func (HashFunction) EnumDescriptor deprecated

func (HashFunction) EnumDescriptor() ([]byte, []int)

Deprecated: Use HashFunction.Descriptor instead.

func (HashFunction) Number

func (HashFunction) String

func (x HashFunction) String() string

func (HashFunction) Type

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 for which the payload will be included in the
	// “create_arguments“ of a matching “CreatedEvent“.
	// SHOULD NOT contain duplicates.
	// All “template_ids“ needs to be valid: corresponding template should be defined in one of
	// the available packages at the time of the query.
	// Optional
	TemplateIds []*Identifier `protobuf:"bytes,1,rep,name=template_ids,json=templateIds,proto3" json:"template_ids,omitempty"`
	// Include an “InterfaceView“ for every “InterfaceFilter“ matching a contract.
	// The “InterfaceFilter“s MUST use unique “interface_id“s.
	// All “interface_id“ needs to be valid: corresponding interface should be defined in one of
	// the available packages at the time of the query.
	// Optional
	InterfaceFilters []*InterfaceFilter `protobuf:"bytes,2,rep,name=interface_filters,json=interfaceFilters,proto3" json:"interface_filters,omitempty"`
	// contains filtered or unexported fields
}

A filter that matches all contracts that are either an instance of one of the “template_ids“ or that match one of the “interface_filters“.

func (*InclusiveFilters) Descriptor deprecated

func (*InclusiveFilters) Descriptor() ([]byte, []int)

Deprecated: Use InclusiveFilters.ProtoReflect.Descriptor instead.

func (*InclusiveFilters) GetInterfaceFilters added in v7.10.0

func (x *InclusiveFilters) GetInterfaceFilters() []*InterfaceFilter

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 InterfaceFilter added in v7.10.0

type InterfaceFilter struct {

	// The interface that a matching contract must implement.
	// Required
	InterfaceId *Identifier `protobuf:"bytes,1,opt,name=interface_id,json=interfaceId,proto3" json:"interface_id,omitempty"`
	// Whether to include the interface view on the contract in the returned “CreateEvent“.
	// Use this to access contract data in a uniform manner in your API client.
	// Optional
	IncludeInterfaceView bool `protobuf:"varint,2,opt,name=include_interface_view,json=includeInterfaceView,proto3" json:"include_interface_view,omitempty"`
	// Whether to include a “create_arguments_blob“ in the returned
	// “CreateEvent“.
	// Use this to access the complete contract data in your API client
	// for submitting it as a disclosed contract with future commands.
	// Optional
	IncludeCreateArgumentsBlob bool `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

This filter matches contracts that implement a specific interface.

func (*InterfaceFilter) Descriptor deprecated added in v7.10.0

func (*InterfaceFilter) Descriptor() ([]byte, []int)

Deprecated: Use InterfaceFilter.ProtoReflect.Descriptor instead.

func (*InterfaceFilter) GetIncludeCreateArgumentsBlob added in v7.10.0

func (x *InterfaceFilter) GetIncludeCreateArgumentsBlob() bool

func (*InterfaceFilter) GetIncludeInterfaceView added in v7.10.0

func (x *InterfaceFilter) GetIncludeInterfaceView() bool

func (*InterfaceFilter) GetInterfaceId added in v7.10.0

func (x *InterfaceFilter) GetInterfaceId() *Identifier

func (*InterfaceFilter) ProtoMessage added in v7.10.0

func (*InterfaceFilter) ProtoMessage()

func (*InterfaceFilter) ProtoReflect added in v7.10.0

func (x *InterfaceFilter) ProtoReflect() protoreflect.Message

func (*InterfaceFilter) Reset added in v7.10.0

func (x *InterfaceFilter) Reset()

func (*InterfaceFilter) String added in v7.10.0

func (x *InterfaceFilter) String() string

type InterfaceView added in v7.10.0

type InterfaceView struct {

	// The interface implemented by the matched event.
	// Required
	InterfaceId *Identifier `protobuf:"bytes,1,opt,name=interface_id,json=interfaceId,proto3" json:"interface_id,omitempty"`
	// Whether the view was successfully computed, and if not,
	// the reason for the error. The error is reported using the same rules
	// for error codes and messages as the errors returned for API requests.
	// Required
	ViewStatus *status.Status `protobuf:"bytes,2,opt,name=view_status,json=viewStatus,proto3" json:"view_status,omitempty"`
	// The value of the interface's view method on this event.
	// Set if it was requested in the “InterfaceFilter“ and it could be
	// sucessfully computed.
	// Optional
	ViewValue *Record `protobuf:"bytes,3,opt,name=view_value,json=viewValue,proto3" json:"view_value,omitempty"`
	// contains filtered or unexported fields
}

View of a create event matched by an interface filter.

func (*InterfaceView) Descriptor deprecated added in v7.10.0

func (*InterfaceView) Descriptor() ([]byte, []int)

Deprecated: Use InterfaceView.ProtoReflect.Descriptor instead.

func (*InterfaceView) GetInterfaceId added in v7.10.0

func (x *InterfaceView) GetInterfaceId() *Identifier

func (*InterfaceView) GetViewStatus added in v7.10.0

func (x *InterfaceView) GetViewStatus() *status.Status

func (*InterfaceView) GetViewValue added in v7.10.0

func (x *InterfaceView) GetViewValue() *Record

func (*InterfaceView) ProtoMessage added in v7.10.0

func (*InterfaceView) ProtoMessage()

func (*InterfaceView) ProtoReflect added in v7.10.0

func (x *InterfaceView) ProtoReflect() protoreflect.Message

func (*InterfaceView) Reset added in v7.10.0

func (x *InterfaceView) Reset()

func (*InterfaceView) String added in v7.10.0

func (x *InterfaceView) String() string

type LedgerConfiguration

type LedgerConfiguration struct {

	// If a command submission specifies a deduplication period of length up to “max_deduplication_duration“,
	// the submission SHOULD not be rejected with “FAILED_PRECONDITION“ because the deduplication period starts too early.
	// The deduplication period is measured on a local clock of the participant or Daml ledger,
	// and therefore subject to clock skews and clock drifts.
	// Command submissions with longer periods MAY get accepted though.
	MaxDeduplicationDuration *durationpb.Duration `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

LedgerConfiguration contains parameters of the ledger instance that may be useful to clients.

func (*LedgerConfiguration) Descriptor deprecated

func (*LedgerConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use LedgerConfiguration.ProtoReflect.Descriptor instead.

func (*LedgerConfiguration) GetMaxDeduplicationDuration added in v7.6.5

func (x *LedgerConfiguration) GetMaxDeduplicationDuration() *durationpb.Duration

func (*LedgerConfiguration) ProtoMessage

func (*LedgerConfiguration) ProtoMessage()

func (*LedgerConfiguration) ProtoReflect

func (x *LedgerConfiguration) ProtoReflect() protoreflect.Message

func (*LedgerConfiguration) Reset

func (x *LedgerConfiguration) Reset()

func (*LedgerConfiguration) String

func (x *LedgerConfiguration) String() string

type LedgerConfigurationServiceClient

type LedgerConfigurationServiceClient interface {
	// Returns the latest configuration as the first response, and publishes configuration updates in the same stream.
	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.

type LedgerConfigurationServiceServer

type LedgerConfigurationServiceServer interface {
	// Returns the latest configuration as the first response, and publishes configuration updates in the same stream.
	GetLedgerConfiguration(*GetLedgerConfigurationRequest, LedgerConfigurationService_GetLedgerConfigurationServer) error
	// contains filtered or unexported methods
}

LedgerConfigurationServiceServer is the server API for LedgerConfigurationService service. All implementations must embed UnimplementedLedgerConfigurationServiceServer for forward compatibility

type LedgerConfigurationService_GetLedgerConfigurationClient

type LedgerConfigurationService_GetLedgerConfigurationClient interface {
	Recv() (*GetLedgerConfigurationResponse, error)
	grpc.ClientStream
}

type LedgerConfigurationService_GetLedgerConfigurationServer

type LedgerConfigurationService_GetLedgerConfigurationServer interface {
	Send(*GetLedgerConfigurationResponse) error
	grpc.ServerStream
}

type LedgerIdentityServiceClient deprecated

type LedgerIdentityServiceClient interface {
	// Deprecated: Do not use.
	// Clients may call this RPC to return the identifier of the ledger they are connected to.
	GetLedgerIdentity(ctx context.Context, in *GetLedgerIdentityRequest, opts ...grpc.CallOption) (*GetLedgerIdentityResponse, error)
}

LedgerIdentityServiceClient is the client API for LedgerIdentityService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Deprecated: Do not use.

func NewLedgerIdentityServiceClient deprecated

func NewLedgerIdentityServiceClient(cc grpc.ClientConnInterface) LedgerIdentityServiceClient

Deprecated: Do not use.

type LedgerIdentityServiceServer deprecated

type LedgerIdentityServiceServer interface {
	// Deprecated: Do not use.
	// Clients may call this RPC to return the identifier of the ledger they are connected to.
	GetLedgerIdentity(context.Context, *GetLedgerIdentityRequest) (*GetLedgerIdentityResponse, error)
	// contains filtered or unexported methods
}

LedgerIdentityServiceServer is the server API for LedgerIdentityService service. All implementations must embed UnimplementedLedgerIdentityServiceServer for forward compatibility

Deprecated: Do not use.

type LedgerOffset

type LedgerOffset struct {

	// Types that are assignable to Value:
	//
	//	*LedgerOffset_Absolute
	//	*LedgerOffset_Boundary
	Value isLedgerOffset_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Describes a specific point on the ledger.

The Ledger API endpoints that take offsets allow to specify portions of the ledger that are relevant for the client to read.

Offsets returned by the Ledger API can be used as-is (e.g. to keep track of processed transactions and provide a restart point to use in case of need).

The format of absolute offsets is opaque to the client: no client-side transformation of an offset is guaranteed to return a meaningful offset.

The server implementation ensures internally that offsets are lexicographically comparable.

func (*LedgerOffset) Descriptor deprecated

func (*LedgerOffset) Descriptor() ([]byte, []int)

Deprecated: Use LedgerOffset.ProtoReflect.Descriptor instead.

func (*LedgerOffset) GetAbsolute

func (x *LedgerOffset) GetAbsolute() string

func (*LedgerOffset) GetBoundary

func (x *LedgerOffset) GetBoundary() LedgerOffset_LedgerBoundary

func (*LedgerOffset) GetValue

func (m *LedgerOffset) GetValue() isLedgerOffset_Value

func (*LedgerOffset) ProtoMessage

func (*LedgerOffset) ProtoMessage()

func (*LedgerOffset) ProtoReflect

func (x *LedgerOffset) ProtoReflect() protoreflect.Message

func (*LedgerOffset) Reset

func (x *LedgerOffset) Reset()

func (*LedgerOffset) String

func (x *LedgerOffset) String() string

type LedgerOffset_Absolute

type LedgerOffset_Absolute struct {
	// The format of this string is specific to the ledger and opaque to the client.
	Absolute string `protobuf:"bytes,1,opt,name=absolute,proto3,oneof"`
}

type LedgerOffset_Boundary

type LedgerOffset_Boundary struct {
	Boundary LedgerOffset_LedgerBoundary `protobuf:"varint,2,opt,name=boundary,proto3,enum=com.daml.ledger.api.v1.LedgerOffset_LedgerBoundary,oneof"`
}

type LedgerOffset_LedgerBoundary

type LedgerOffset_LedgerBoundary int32
const (
	// Refers to the first transaction.
	LedgerOffset_LEDGER_BEGIN LedgerOffset_LedgerBoundary = 0
	// Refers to the currently last transaction, which is a moving target.
	LedgerOffset_LEDGER_END LedgerOffset_LedgerBoundary = 1
)

func (LedgerOffset_LedgerBoundary) Descriptor

func (LedgerOffset_LedgerBoundary) Enum

func (LedgerOffset_LedgerBoundary) EnumDescriptor deprecated

func (LedgerOffset_LedgerBoundary) EnumDescriptor() ([]byte, []int)

Deprecated: Use LedgerOffset_LedgerBoundary.Descriptor instead.

func (LedgerOffset_LedgerBoundary) Number

func (LedgerOffset_LedgerBoundary) String

func (LedgerOffset_LedgerBoundary) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetElements

func (x *List) GetElements() []*Value

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

func (x *List) ProtoReflect() protoreflect.Message

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

type ListPackagesRequest

type ListPackagesRequest struct {

	// Must correspond to the ledger ID reported by the Ledger Identification Service.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	LedgerId string `protobuf:"bytes,1,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPackagesRequest) Descriptor deprecated

func (*ListPackagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPackagesRequest.ProtoReflect.Descriptor instead.

func (*ListPackagesRequest) GetLedgerId

func (x *ListPackagesRequest) GetLedgerId() string

func (*ListPackagesRequest) ProtoMessage

func (*ListPackagesRequest) ProtoMessage()

func (*ListPackagesRequest) ProtoReflect

func (x *ListPackagesRequest) ProtoReflect() protoreflect.Message

func (*ListPackagesRequest) Reset

func (x *ListPackagesRequest) Reset()

func (*ListPackagesRequest) String

func (x *ListPackagesRequest) String() string

type ListPackagesResponse

type ListPackagesResponse struct {

	// The IDs of all Daml-LF packages supported by the server.
	// Each element must be a valid PackageIdString (as described in “value.proto“).
	// Required
	PackageIds []string `protobuf:"bytes,1,rep,name=package_ids,json=packageIds,proto3" json:"package_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPackagesResponse) Descriptor deprecated

func (*ListPackagesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPackagesResponse.ProtoReflect.Descriptor instead.

func (*ListPackagesResponse) GetPackageIds

func (x *ListPackagesResponse) GetPackageIds() []string

func (*ListPackagesResponse) ProtoMessage

func (*ListPackagesResponse) ProtoMessage()

func (*ListPackagesResponse) ProtoReflect

func (x *ListPackagesResponse) ProtoReflect() protoreflect.Message

func (*ListPackagesResponse) Reset

func (x *ListPackagesResponse) Reset()

func (*ListPackagesResponse) String

func (x *ListPackagesResponse) String() string

type Map

type Map struct {
	Entries []*Map_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*Map) Descriptor deprecated

func (*Map) Descriptor() ([]byte, []int)

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) GetEntries

func (x *Map) GetEntries() []*Map_Entry

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) ProtoReflect

func (x *Map) ProtoReflect() protoreflect.Message

func (*Map) Reset

func (x *Map) Reset()

func (*Map) String

func (x *Map) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Map_Entry.ProtoReflect.Descriptor instead.

func (*Map_Entry) GetKey

func (x *Map_Entry) GetKey() string

func (*Map_Entry) GetValue

func (x *Map_Entry) GetValue() *Value

func (*Map_Entry) ProtoMessage

func (*Map_Entry) ProtoMessage()

func (*Map_Entry) ProtoReflect

func (x *Map_Entry) ProtoReflect() protoreflect.Message

func (*Map_Entry) Reset

func (x *Map_Entry) Reset()

func (*Map_Entry) String

func (x *Map_Entry) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Optional.ProtoReflect.Descriptor instead.

func (*Optional) GetValue

func (x *Optional) GetValue() *Value

func (*Optional) ProtoMessage

func (*Optional) ProtoMessage()

func (*Optional) ProtoReflect

func (x *Optional) ProtoReflect() protoreflect.Message

func (*Optional) Reset

func (x *Optional) Reset()

func (*Optional) String

func (x *Optional) String() string

type PackageServiceClient

type PackageServiceClient interface {
	// Returns the identifiers of all supported packages.
	ListPackages(ctx context.Context, in *ListPackagesRequest, opts ...grpc.CallOption) (*ListPackagesResponse, error)
	// Returns the contents of a single package.
	GetPackage(ctx context.Context, in *GetPackageRequest, opts ...grpc.CallOption) (*GetPackageResponse, error)
	// Returns the status of a single package.
	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.

type PackageServiceServer

type PackageServiceServer interface {
	// Returns the identifiers of all supported packages.
	ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error)
	// Returns the contents of a single package.
	GetPackage(context.Context, *GetPackageRequest) (*GetPackageResponse, error)
	// Returns the status of a single package.
	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) Enum

func (x PackageStatus) Enum() *PackageStatus

func (PackageStatus) EnumDescriptor deprecated

func (PackageStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use PackageStatus.Descriptor instead.

func (PackageStatus) Number

func (PackageStatus) String

func (x PackageStatus) String() string

func (PackageStatus) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Record.ProtoReflect.Descriptor instead.

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type RecordField

type RecordField struct {

	// When reading a transaction stream, it's omitted if verbose streaming is not enabled.
	// When submitting a commmand, it's optional:
	//   - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once.
	//   - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template.
	//
	// Must be a valid NameString
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// A nested value of a record.
	// Required
	Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A named nested value within a record.

func (*RecordField) Descriptor deprecated

func (*RecordField) Descriptor() ([]byte, []int)

Deprecated: Use RecordField.ProtoReflect.Descriptor instead.

func (*RecordField) GetLabel

func (x *RecordField) GetLabel() string

func (*RecordField) GetValue

func (x *RecordField) GetValue() *Value

func (*RecordField) ProtoMessage

func (*RecordField) ProtoMessage()

func (*RecordField) ProtoReflect

func (x *RecordField) ProtoReflect() protoreflect.Message

func (*RecordField) Reset

func (x *RecordField) Reset()

func (*RecordField) String

func (x *RecordField) String() string

type SubmitAndWaitForTransactionIdResponse

type SubmitAndWaitForTransactionIdResponse struct {

	// The id of the transaction that resulted from the submitted command.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	// The format of this field is described in “ledger_offset.proto“.
	// Optional
	CompletionOffset string `protobuf:"bytes,2,opt,name=completion_offset,json=completionOffset,proto3" json:"completion_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitAndWaitForTransactionIdResponse) Descriptor deprecated

func (*SubmitAndWaitForTransactionIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubmitAndWaitForTransactionIdResponse.ProtoReflect.Descriptor instead.

func (*SubmitAndWaitForTransactionIdResponse) GetCompletionOffset

func (x *SubmitAndWaitForTransactionIdResponse) GetCompletionOffset() string

func (*SubmitAndWaitForTransactionIdResponse) GetTransactionId

func (x *SubmitAndWaitForTransactionIdResponse) GetTransactionId() string

func (*SubmitAndWaitForTransactionIdResponse) ProtoMessage

func (*SubmitAndWaitForTransactionIdResponse) ProtoMessage()

func (*SubmitAndWaitForTransactionIdResponse) ProtoReflect

func (*SubmitAndWaitForTransactionIdResponse) Reset

func (*SubmitAndWaitForTransactionIdResponse) String

type SubmitAndWaitForTransactionResponse

type SubmitAndWaitForTransactionResponse struct {

	// The flat transaction that resulted from the submitted command.
	// Required
	Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// The format of this field is described in “ledger_offset.proto“.
	// Optional
	CompletionOffset string `protobuf:"bytes,2,opt,name=completion_offset,json=completionOffset,proto3" json:"completion_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitAndWaitForTransactionResponse) Descriptor deprecated

func (*SubmitAndWaitForTransactionResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubmitAndWaitForTransactionResponse.ProtoReflect.Descriptor instead.

func (*SubmitAndWaitForTransactionResponse) GetCompletionOffset

func (x *SubmitAndWaitForTransactionResponse) GetCompletionOffset() string

func (*SubmitAndWaitForTransactionResponse) GetTransaction

func (x *SubmitAndWaitForTransactionResponse) GetTransaction() *Transaction

func (*SubmitAndWaitForTransactionResponse) ProtoMessage

func (*SubmitAndWaitForTransactionResponse) ProtoMessage()

func (*SubmitAndWaitForTransactionResponse) ProtoReflect

func (*SubmitAndWaitForTransactionResponse) Reset

func (*SubmitAndWaitForTransactionResponse) String

type SubmitAndWaitForTransactionTreeResponse

type SubmitAndWaitForTransactionTreeResponse struct {

	// The transaction tree that resulted from the submitted command.
	// Required
	Transaction *TransactionTree `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// The format of this field is described in “ledger_offset.proto“.
	// Optional
	CompletionOffset string `protobuf:"bytes,2,opt,name=completion_offset,json=completionOffset,proto3" json:"completion_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitAndWaitForTransactionTreeResponse) Descriptor deprecated

func (*SubmitAndWaitForTransactionTreeResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubmitAndWaitForTransactionTreeResponse.ProtoReflect.Descriptor instead.

func (*SubmitAndWaitForTransactionTreeResponse) GetCompletionOffset

func (x *SubmitAndWaitForTransactionTreeResponse) GetCompletionOffset() string

func (*SubmitAndWaitForTransactionTreeResponse) GetTransaction

func (*SubmitAndWaitForTransactionTreeResponse) ProtoMessage

func (*SubmitAndWaitForTransactionTreeResponse) ProtoReflect

func (*SubmitAndWaitForTransactionTreeResponse) Reset

func (*SubmitAndWaitForTransactionTreeResponse) String

type SubmitAndWaitRequest

type SubmitAndWaitRequest struct {

	// The commands to be submitted.
	// Required
	Commands *Commands `protobuf:"bytes,1,opt,name=commands,proto3" json:"commands,omitempty"`
	// contains filtered or unexported fields
}

These commands are atomic, and will become transactions.

func (*SubmitAndWaitRequest) Descriptor deprecated

func (*SubmitAndWaitRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubmitAndWaitRequest.ProtoReflect.Descriptor instead.

func (*SubmitAndWaitRequest) GetCommands

func (x *SubmitAndWaitRequest) GetCommands() *Commands

func (*SubmitAndWaitRequest) ProtoMessage

func (*SubmitAndWaitRequest) ProtoMessage()

func (*SubmitAndWaitRequest) ProtoReflect

func (x *SubmitAndWaitRequest) ProtoReflect() protoreflect.Message

func (*SubmitAndWaitRequest) Reset

func (x *SubmitAndWaitRequest) Reset()

func (*SubmitAndWaitRequest) String

func (x *SubmitAndWaitRequest) String() string

type SubmitRequest

type SubmitRequest struct {

	// The commands to be submitted in a single transaction.
	// Required
	Commands *Commands `protobuf:"bytes,1,opt,name=commands,proto3" json:"commands,omitempty"`
	// contains filtered or unexported fields
}

The submitted commands will be processed atomically in a single transaction. Moreover, each “Command“ in “commands“ will be executed in the order specified by the request.

func (*SubmitRequest) Descriptor deprecated

func (*SubmitRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubmitRequest.ProtoReflect.Descriptor instead.

func (*SubmitRequest) GetCommands

func (x *SubmitRequest) GetCommands() *Commands

func (*SubmitRequest) ProtoMessage

func (*SubmitRequest) ProtoMessage()

func (*SubmitRequest) ProtoReflect

func (x *SubmitRequest) ProtoReflect() protoreflect.Message

func (*SubmitRequest) Reset

func (x *SubmitRequest) Reset()

func (*SubmitRequest) String

func (x *SubmitRequest) String() string

type Transaction

type Transaction struct {

	// Assigned by the server. Useful for correlating logs.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	// The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
	// The workflow ID used in command submission.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	// Ledger effective time.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	EffectiveAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=effective_at,json=effectiveAt,proto3" json:"effective_at,omitempty"`
	// The collection of events.
	// Only contains “CreatedEvent“ or “ArchivedEvent“.
	// Required
	Events []*Event `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"`
	// The absolute offset. The format of this field is described in “ledger_offset.proto“.
	// Required
	Offset string `protobuf:"bytes,6,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

Filtered view of an on-ledger transaction's create and archive events.

func (*Transaction) Descriptor deprecated

func (*Transaction) Descriptor() ([]byte, []int)

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetCommandId

func (x *Transaction) GetCommandId() string

func (*Transaction) GetEffectiveAt

func (x *Transaction) GetEffectiveAt() *timestamppb.Timestamp

func (*Transaction) GetEvents

func (x *Transaction) GetEvents() []*Event

func (*Transaction) GetOffset

func (x *Transaction) GetOffset() string

func (*Transaction) GetTransactionId

func (x *Transaction) GetTransactionId() string

func (*Transaction) GetWorkflowId

func (x *Transaction) GetWorkflowId() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

func (x *Transaction) ProtoReflect() protoreflect.Message

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TransactionFilter

type TransactionFilter struct {

	// Each key must be a valid PartyIdString (as described in “value.proto“).
	// The interpretation of the filter depends on the stream being filtered:
	// (1) For **transaction tree streams** only party filters with wildcards are allowed, and all subtrees
	//
	//	whose root has one of the listed parties as an informee are returned.
	//
	// (2) For **transaction and active-contract-set streams** create and archive events are returned for all contracts whose
	//
	//	stakeholders include at least one of the listed parties and match the
	//	per-party filter.
	//
	// Required
	FiltersByParty map[string]*Filters `` /* 193-byte string literal not displayed */
	// contains filtered or unexported fields
}

A filter both for filtering create and archive events as well as for filtering transaction trees.

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.
	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).
	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
	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
	GetTransactionById(ctx context.Context, in *GetTransactionByIdRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error)
	// Lookup a transaction by the ID of an event that appears within it.
	GetFlatTransactionByEventId(ctx context.Context, in *GetTransactionByEventIdRequest, opts ...grpc.CallOption) (*GetFlatTransactionResponse, error)
	// Lookup a transaction by its ID.
	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.
	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.

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.
	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).
	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
	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
	GetTransactionById(context.Context, *GetTransactionByIdRequest) (*GetTransactionResponse, error)
	// Lookup a transaction by the ID of an event that appears within it.
	GetFlatTransactionByEventId(context.Context, *GetTransactionByEventIdRequest) (*GetFlatTransactionResponse, error)
	// Lookup a transaction by its ID.
	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.
	GetLedgerEnd(context.Context, *GetLedgerEndRequest) (*GetLedgerEndResponse, error)
	// contains filtered or unexported methods
}

TransactionServiceServer is the server API for TransactionService service. All implementations must embed UnimplementedTransactionServiceServer for forward compatibility

type TransactionService_GetTransactionTreesClient

type TransactionService_GetTransactionTreesClient interface {
	Recv() (*GetTransactionTreesResponse, error)
	grpc.ClientStream
}

type TransactionService_GetTransactionTreesServer

type TransactionService_GetTransactionTreesServer interface {
	Send(*GetTransactionTreesResponse) error
	grpc.ServerStream
}

type TransactionService_GetTransactionsClient

type TransactionService_GetTransactionsClient interface {
	Recv() (*GetTransactionsResponse, error)
	grpc.ClientStream
}

type TransactionService_GetTransactionsServer

type TransactionService_GetTransactionsServer interface {
	Send(*GetTransactionsResponse) error
	grpc.ServerStream
}

type TransactionTree

type TransactionTree struct {

	// Assigned by the server. Useful for correlating logs.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Required
	TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"`
	// The ID of the command which resulted in this transaction. Missing for everyone except the submitting party.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"`
	// The workflow ID used in command submission. Only set if the “workflow_id“ for the command was set.
	// Must be a valid LedgerString (as described in “value.proto“).
	// Optional
	WorkflowId string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	// Ledger effective time.
	// Required
	EffectiveAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=effective_at,json=effectiveAt,proto3" json:"effective_at,omitempty"`
	// The absolute offset. The format of this field is described in “ledger_offset.proto“.
	// Required
	Offset string `protobuf:"bytes,6,opt,name=offset,proto3" json:"offset,omitempty"`
	// Changes to the ledger that were caused by this transaction. Nodes of the transaction tree.
	// Each key be a valid LedgerString (as describe in “value.proto“).
	// Required
	EventsById map[string]*TreeEvent `` /* 181-byte string literal not displayed */
	// Roots of the transaction tree.
	// Each element must be a valid LedgerString (as describe in “value.proto“).
	// The elements are in the same order as the commands in the
	// corresponding Commands object that triggered this transaction.
	// Required
	RootEventIds []string `protobuf:"bytes,8,rep,name=root_event_ids,json=rootEventIds,proto3" json:"root_event_ids,omitempty"`
	// contains filtered or unexported fields
}

Complete view of an on-ledger transaction.

func (*TransactionTree) Descriptor deprecated

func (*TransactionTree) Descriptor() ([]byte, []int)

Deprecated: Use TransactionTree.ProtoReflect.Descriptor instead.

func (*TransactionTree) GetCommandId

func (x *TransactionTree) GetCommandId() string

func (*TransactionTree) GetEffectiveAt

func (x *TransactionTree) GetEffectiveAt() *timestamppb.Timestamp

func (*TransactionTree) GetEventsById

func (x *TransactionTree) GetEventsById() map[string]*TreeEvent

func (*TransactionTree) GetOffset

func (x *TransactionTree) GetOffset() string

func (*TransactionTree) GetRootEventIds

func (x *TransactionTree) GetRootEventIds() []string

func (*TransactionTree) GetTransactionId

func (x *TransactionTree) GetTransactionId() string

func (*TransactionTree) GetWorkflowId

func (x *TransactionTree) GetWorkflowId() string

func (*TransactionTree) ProtoMessage

func (*TransactionTree) ProtoMessage()

func (*TransactionTree) ProtoReflect

func (x *TransactionTree) ProtoReflect() protoreflect.Message

func (*TransactionTree) Reset

func (x *TransactionTree) Reset()

func (*TransactionTree) String

func (x *TransactionTree) String() string

type TreeEvent

type TreeEvent struct {

	// Types that are assignable to Kind:
	//
	//	*TreeEvent_Created
	//	*TreeEvent_Exercised
	Kind isTreeEvent_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

Each tree event message type below contains a “witness_parties“ field which indicates the subset of the requested parties that can see the event in question.

Note that transaction trees might contain events with _no_ witness parties, which were included simply because they were children of events which have witnesses.

func (*TreeEvent) Descriptor deprecated

func (*TreeEvent) Descriptor() ([]byte, []int)

Deprecated: Use TreeEvent.ProtoReflect.Descriptor instead.

func (*TreeEvent) GetCreated

func (x *TreeEvent) GetCreated() *CreatedEvent

func (*TreeEvent) GetExercised

func (x *TreeEvent) GetExercised() *ExercisedEvent

func (*TreeEvent) GetKind

func (m *TreeEvent) GetKind() isTreeEvent_Kind

func (*TreeEvent) ProtoMessage

func (*TreeEvent) ProtoMessage()

func (*TreeEvent) ProtoReflect

func (x *TreeEvent) ProtoReflect() protoreflect.Message

func (*TreeEvent) Reset

func (x *TreeEvent) Reset()

func (*TreeEvent) String

func (x *TreeEvent) String() string

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.

type UnimplementedCommandCompletionServiceServer

type UnimplementedCommandCompletionServiceServer struct {
}

UnimplementedCommandCompletionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCommandCompletionServiceServer) CompletionEnd

type UnimplementedCommandServiceServer

type UnimplementedCommandServiceServer struct {
}

UnimplementedCommandServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCommandServiceServer) SubmitAndWait

func (UnimplementedCommandServiceServer) SubmitAndWaitForTransaction

func (UnimplementedCommandServiceServer) SubmitAndWaitForTransactionId

func (UnimplementedCommandServiceServer) SubmitAndWaitForTransactionTree

type UnimplementedCommandSubmissionServiceServer

type UnimplementedCommandSubmissionServiceServer struct {
}

UnimplementedCommandSubmissionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCommandSubmissionServiceServer) Submit

type UnimplementedLedgerConfigurationServiceServer

type UnimplementedLedgerConfigurationServiceServer struct {
}

UnimplementedLedgerConfigurationServiceServer must be embedded to have forward compatible implementations.

type UnimplementedLedgerIdentityServiceServer

type UnimplementedLedgerIdentityServiceServer struct {
}

UnimplementedLedgerIdentityServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLedgerIdentityServiceServer) GetLedgerIdentity

type UnimplementedPackageServiceServer

type UnimplementedPackageServiceServer struct {
}

UnimplementedPackageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPackageServiceServer) GetPackage

func (UnimplementedPackageServiceServer) GetPackageStatus

func (UnimplementedPackageServiceServer) ListPackages

type UnimplementedTransactionServiceServer

type UnimplementedTransactionServiceServer struct {
}

UnimplementedTransactionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTransactionServiceServer) GetFlatTransactionByEventId

func (UnimplementedTransactionServiceServer) GetFlatTransactionById

func (UnimplementedTransactionServiceServer) GetLedgerEnd

func (UnimplementedTransactionServiceServer) GetTransactionByEventId

func (UnimplementedTransactionServiceServer) GetTransactionById

type UnimplementedVersionServiceServer

type UnimplementedVersionServiceServer struct {
}

UnimplementedVersionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedVersionServiceServer) GetLedgerApiVersion

type UnsafeActiveContractsServiceServer

type UnsafeActiveContractsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeActiveContractsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActiveContractsServiceServer will result in compilation errors.

type UnsafeCommandCompletionServiceServer

type UnsafeCommandCompletionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCommandCompletionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandCompletionServiceServer will result in compilation errors.

type UnsafeCommandServiceServer

type UnsafeCommandServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCommandServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandServiceServer will result in compilation errors.

type UnsafeCommandSubmissionServiceServer

type UnsafeCommandSubmissionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCommandSubmissionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandSubmissionServiceServer will result in compilation errors.

type UnsafeLedgerConfigurationServiceServer

type UnsafeLedgerConfigurationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLedgerConfigurationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LedgerConfigurationServiceServer will result in compilation errors.

type UnsafeLedgerIdentityServiceServer

type UnsafeLedgerIdentityServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLedgerIdentityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LedgerIdentityServiceServer will result in compilation errors.

type UnsafePackageServiceServer

type UnsafePackageServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePackageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PackageServiceServer will result in compilation errors.

type UnsafeTransactionServiceServer

type UnsafeTransactionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTransactionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransactionServiceServer will result in compilation errors.

type UnsafeVersionServiceServer

type UnsafeVersionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeVersionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VersionServiceServer will result in compilation errors.

type UserManagementFeature

type UserManagementFeature struct {

	// Whether the Ledger API server provides the user management service.
	Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"`
	// The maximum number of rights that can be assigned to a single user.
	// Servers MUST support at least 100 rights per user.
	// A value of 0 means that the server enforces no rights per user limit.
	MaxRightsPerUser int32 `protobuf:"varint,2,opt,name=max_rights_per_user,json=maxRightsPerUser,proto3" json:"max_rights_per_user,omitempty"`
	// The maximum number of users the server can return in a single response (page).
	// Servers MUST support at least a 100 users per page.
	// A value of 0 means that the server enforces no page size limit.
	MaxUsersPageSize int32 `protobuf:"varint,3,opt,name=max_users_page_size,json=maxUsersPageSize,proto3" json:"max_users_page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*UserManagementFeature) Descriptor deprecated

func (*UserManagementFeature) Descriptor() ([]byte, []int)

Deprecated: Use UserManagementFeature.ProtoReflect.Descriptor instead.

func (*UserManagementFeature) GetMaxRightsPerUser added in v7.6.3

func (x *UserManagementFeature) GetMaxRightsPerUser() int32

func (*UserManagementFeature) GetMaxUsersPageSize added in v7.6.3

func (x *UserManagementFeature) GetMaxUsersPageSize() int32

func (*UserManagementFeature) GetSupported added in v7.6.3

func (x *UserManagementFeature) GetSupported() bool

func (*UserManagementFeature) ProtoMessage

func (*UserManagementFeature) ProtoMessage()

func (*UserManagementFeature) ProtoReflect

func (x *UserManagementFeature) ProtoReflect() protoreflect.Message

func (*UserManagementFeature) Reset

func (x *UserManagementFeature) Reset()

func (*UserManagementFeature) String

func (x *UserManagementFeature) String() string

type Value

type Value struct {

	// Types that are assignable to Sum:
	//
	//	*Value_Record
	//	*Value_Variant
	//	*Value_ContractId
	//	*Value_List
	//	*Value_Int64
	//	*Value_Numeric
	//	*Value_Text
	//	*Value_Timestamp
	//	*Value_Party
	//	*Value_Bool
	//	*Value_Unit
	//	*Value_Date
	//	*Value_Optional
	//	*Value_Map
	//	*Value_Enum
	//	*Value_GenMap
	Sum isValue_Sum `protobuf_oneof:"Sum"`
	// contains filtered or unexported fields
}

Encodes values that the ledger accepts as command arguments and emits as contract arguments.

The values encoding use different classes of non-empty strings as identifiers. Those classes are defined as follows: - NameStrings are strings with length <= 1000 that match the regexp “[A-Za-z\$_][A-Za-z0-9\$_]*“. - PackageIdStrings are strings with length <= 64 that match the regexp “[A-Za-z0-9\-_ ]+“. - PartyIdStrings are strings with length <= 256 that match the regexp “[A-Za-z0-9:\-_ ]+“. - LedgerStrings are strings with length <= 256 that match the regexp “[A-Za-z0-9#:\-_/ ]+“. - ApplicationIdStrings are strings with length <= 256 that match the regexp “[A-Za-z0-9#:\-_/ @\|]+“.

func (*Value) Descriptor deprecated

func (*Value) Descriptor() ([]byte, []int)

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBool

func (x *Value) GetBool() bool

func (*Value) GetContractId

func (x *Value) GetContractId() string

func (*Value) GetDate

func (x *Value) GetDate() int32

func (*Value) GetEnum

func (x *Value) GetEnum() *Enum

func (*Value) GetGenMap

func (x *Value) GetGenMap() *GenMap

func (*Value) GetInt64

func (x *Value) GetInt64() int64

func (*Value) GetList

func (x *Value) GetList() *List

func (*Value) GetMap

func (x *Value) GetMap() *Map

func (*Value) GetNumeric

func (x *Value) GetNumeric() string

func (*Value) GetOptional

func (x *Value) GetOptional() *Optional

func (*Value) GetParty

func (x *Value) GetParty() string

func (*Value) GetRecord

func (x *Value) GetRecord() *Record

func (*Value) GetSum

func (m *Value) GetSum() isValue_Sum

func (*Value) GetText

func (x *Value) GetText() string

func (*Value) GetTimestamp

func (x *Value) GetTimestamp() int64

func (*Value) GetUnit

func (x *Value) GetUnit() *emptypb.Empty

func (*Value) GetVariant

func (x *Value) GetVariant() *Variant

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

func (x *Value) ProtoReflect() protoreflect.Message

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

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_Unit struct {
	// This value is used for example for choices that don't take any arguments.
	Unit *emptypb.Empty `protobuf:"bytes,13,opt,name=unit,proto3,oneof"`
}

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) Descriptor() ([]byte, []int)

Deprecated: Use Variant.ProtoReflect.Descriptor instead.

func (*Variant) GetConstructor

func (x *Variant) GetConstructor() string

func (*Variant) GetValue

func (x *Variant) GetValue() *Value

func (*Variant) GetVariantId

func (x *Variant) GetVariantId() *Identifier

func (*Variant) ProtoMessage

func (*Variant) ProtoMessage()

func (*Variant) ProtoReflect

func (x *Variant) ProtoReflect() protoreflect.Message

func (*Variant) Reset

func (x *Variant) Reset()

func (*Variant) String

func (x *Variant) String() string

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.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL