Package com.daml.ledger.api.v1
Interface EventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EventQueryServiceOuterClass.GetEventsByContractKeyRequest,EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder
- Enclosing class:
- EventQueryServiceOuterClass
public static interface EventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContinuationToken()A ``continuation_token`` associated with a previous response.com.google.protobuf.ByteStringgetContinuationTokenBytes()A ``continuation_token`` associated with a previous response.ValueOuterClass.ValuegetContractKey()The contract key to search for.ValueOuterClass.ValueOrBuildergetContractKeyOrBuilder()The contract key to search for.java.lang.StringgetRequestingParties(int index)The parties whose events the client expects to see.com.google.protobuf.ByteStringgetRequestingPartiesBytes(int index)The parties whose events the client expects to see.intgetRequestingPartiesCount()The parties whose events the client expects to see.java.util.List<java.lang.String>getRequestingPartiesList()The parties whose events the client expects to see.ValueOuterClass.IdentifiergetTemplateId()The template id associated with the contract key RequiredValueOuterClass.IdentifierOrBuildergetTemplateIdOrBuilder()The template id associated with the contract key RequiredbooleanhasContractKey()The contract key to search for.booleanhasTemplateId()The template id associated with the contract key Required-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasContractKey
boolean hasContractKey()
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];- Returns:
- Whether the contractKey field is set.
-
getContractKey
ValueOuterClass.Value getContractKey()
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];- Returns:
- The contractKey.
-
getContractKeyOrBuilder
ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];
-
hasTemplateId
boolean hasTemplateId()
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];- Returns:
- Whether the templateId field is set.
-
getTemplateId
ValueOuterClass.Identifier getTemplateId()
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];- Returns:
- The templateId.
-
getTemplateIdOrBuilder
ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];
-
getRequestingPartiesList
java.util.List<java.lang.String> getRequestingPartiesList()
The parties whose events the client expects to see. The events associated with the contract key will only be returned if the requesting parties includes at least one party that is a stakeholder of the event. For a definition of stakeholders see https://docs.daml.com/concepts/ledger-model/ledger-privacy.html#contract-observers-and-stakeholders Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Returns:
- A list containing the requestingParties.
-
getRequestingPartiesCount
int getRequestingPartiesCount()
The parties whose events the client expects to see. The events associated with the contract key will only be returned if the requesting parties includes at least one party that is a stakeholder of the event. For a definition of stakeholders see https://docs.daml.com/concepts/ledger-model/ledger-privacy.html#contract-observers-and-stakeholders Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Returns:
- The count of requestingParties.
-
getRequestingParties
java.lang.String getRequestingParties(int index)
The parties whose events the client expects to see. The events associated with the contract key will only be returned if the requesting parties includes at least one party that is a stakeholder of the event. For a definition of stakeholders see https://docs.daml.com/concepts/ledger-model/ledger-privacy.html#contract-observers-and-stakeholders Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Parameters:
index- The index of the element to return.- Returns:
- The requestingParties at the given index.
-
getRequestingPartiesBytes
com.google.protobuf.ByteString getRequestingPartiesBytes(int index)
The parties whose events the client expects to see. The events associated with the contract key will only be returned if the requesting parties includes at least one party that is a stakeholder of the event. For a definition of stakeholders see https://docs.daml.com/concepts/ledger-model/ledger-privacy.html#contract-observers-and-stakeholders Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestingParties at the given index.
-
getContinuationToken
java.lang.String getContinuationToken()
A ``continuation_token`` associated with a previous response. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Returns:
- The continuationToken.
-
getContinuationTokenBytes
com.google.protobuf.ByteString getContinuationTokenBytes()
A ``continuation_token`` associated with a previous response. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Returns:
- The bytes for continuationToken.
-
-