Package com.daml.ledger.api.v2
Interface TransactionFilterOuterClass.EventFormatOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransactionFilterOuterClass.EventFormat,TransactionFilterOuterClass.EventFormat.Builder
- Enclosing class:
TransactionFilterOuterClass
public static interface TransactionFilterOuterClass.EventFormatOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanEach key must be a valid PartyIdString (as described in ``value.proto``).Deprecated.intEach key must be a valid PartyIdString (as described in ``value.proto``).Each key must be a valid PartyIdString (as described in ``value.proto``).getFiltersByPartyOrDefault(String key, TransactionFilterOuterClass.Filters defaultValue) Each key must be a valid PartyIdString (as described in ``value.proto``).Each key must be a valid PartyIdString (as described in ``value.proto``).Wildcard filters that apply to all the parties existing on the participant.Wildcard filters that apply to all the parties existing on the participant.booleanIf enabled, values served over the API will contain more information than strictly necessary to interpret the data.booleanWildcard filters that apply to all the parties existing on the participant.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFiltersByPartyCount
int getFiltersByPartyCount()Each key must be a valid PartyIdString (as described in ``value.proto``). The interpretation of the filter depends on the transaction-shape being filtered: 1. For **ledger-effects** create and exercise events are returned, for which the witnesses include at least one of the listed parties and match the per-party filter. 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. Optional: can be emptymap<string, .com.daml.ledger.api.v2.Filters> filters_by_party = 1; -
containsFiltersByParty
Each key must be a valid PartyIdString (as described in ``value.proto``). The interpretation of the filter depends on the transaction-shape being filtered: 1. For **ledger-effects** create and exercise events are returned, for which the witnesses include at least one of the listed parties and match the per-party filter. 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. Optional: can be emptymap<string, .com.daml.ledger.api.v2.Filters> filters_by_party = 1; -
getFiltersByParty
Deprecated.UsegetFiltersByPartyMap()instead. -
getFiltersByPartyMap
Map<String,TransactionFilterOuterClass.Filters> getFiltersByPartyMap()Each key must be a valid PartyIdString (as described in ``value.proto``). The interpretation of the filter depends on the transaction-shape being filtered: 1. For **ledger-effects** create and exercise events are returned, for which the witnesses include at least one of the listed parties and match the per-party filter. 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. Optional: can be emptymap<string, .com.daml.ledger.api.v2.Filters> filters_by_party = 1; -
getFiltersByPartyOrDefault
TransactionFilterOuterClass.Filters getFiltersByPartyOrDefault(String key, TransactionFilterOuterClass.Filters defaultValue) Each key must be a valid PartyIdString (as described in ``value.proto``). The interpretation of the filter depends on the transaction-shape being filtered: 1. For **ledger-effects** create and exercise events are returned, for which the witnesses include at least one of the listed parties and match the per-party filter. 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. Optional: can be emptymap<string, .com.daml.ledger.api.v2.Filters> filters_by_party = 1; -
getFiltersByPartyOrThrow
Each key must be a valid PartyIdString (as described in ``value.proto``). The interpretation of the filter depends on the transaction-shape being filtered: 1. For **ledger-effects** create and exercise events are returned, for which the witnesses include at least one of the listed parties and match the per-party filter. 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. Optional: can be emptymap<string, .com.daml.ledger.api.v2.Filters> filters_by_party = 1; -
hasFiltersForAnyParty
boolean hasFiltersForAnyParty()Wildcard filters that apply to all the parties existing on the participant. The interpretation of the filters is the same with the per-party filter as described above. Optional
.com.daml.ledger.api.v2.Filters filters_for_any_party = 2;- Returns:
- Whether the filtersForAnyParty field is set.
-
getFiltersForAnyParty
TransactionFilterOuterClass.Filters getFiltersForAnyParty()Wildcard filters that apply to all the parties existing on the participant. The interpretation of the filters is the same with the per-party filter as described above. Optional
.com.daml.ledger.api.v2.Filters filters_for_any_party = 2;- Returns:
- The filtersForAnyParty.
-
getFiltersForAnyPartyOrBuilder
TransactionFilterOuterClass.FiltersOrBuilder getFiltersForAnyPartyOrBuilder()Wildcard filters that apply to all the parties existing on the participant. The interpretation of the filters is the same with the per-party filter as described above. Optional
.com.daml.ledger.api.v2.Filters filters_for_any_party = 2; -
getVerbose
boolean getVerbose()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
bool verbose = 3;- Returns:
- The verbose.
-