Package com.daml.ledger.api.v1
Class EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
- com.daml.ledger.api.v1.EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder
-
- All Implemented Interfaces:
EventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- EventQueryServiceOuterClass.GetEventsByContractKeyRequest
public static final class EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder> implements EventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetEventsByContractKeyRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
clear
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
getDefaultInstanceForType
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
setField
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
clearField
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
clearOneof
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
setRepeatedField
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
addRepeatedField
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
mergeFrom
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
mergeFrom
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder mergeFrom(EventQueryServiceOuterClass.GetEventsByContractKeyRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
mergeFrom
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>- Throws:
java.io.IOException
-
hasContractKey
public boolean hasContractKey()
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];- Specified by:
hasContractKeyin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Returns:
- Whether the contractKey field is set.
-
getContractKey
public ValueOuterClass.Value getContractKey()
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];- Specified by:
getContractKeyin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Returns:
- The contractKey.
-
setContractKey
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setContractKey(ValueOuterClass.Value value)
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];
-
setContractKey
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setContractKey(ValueOuterClass.Value.Builder builderForValue)
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];
-
mergeContractKey
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder mergeContractKey(ValueOuterClass.Value value)
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];
-
clearContractKey
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder clearContractKey()
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];
-
getContractKeyBuilder
public ValueOuterClass.Value.Builder getContractKeyBuilder()
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];
-
getContractKeyOrBuilder
public ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()
The contract key to search for. Required
.com.daml.ledger.api.v1.Value contract_key = 1 [json_name = "contractKey"];- Specified by:
getContractKeyOrBuilderin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder
-
hasTemplateId
public boolean hasTemplateId()
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];- Specified by:
hasTemplateIdin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Returns:
- Whether the templateId field is set.
-
getTemplateId
public ValueOuterClass.Identifier getTemplateId()
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];- Specified by:
getTemplateIdin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Returns:
- The templateId.
-
setTemplateId
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setTemplateId(ValueOuterClass.Identifier value)
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];
-
setTemplateId
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];
-
mergeTemplateId
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder mergeTemplateId(ValueOuterClass.Identifier value)
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];
-
clearTemplateId
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder clearTemplateId()
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];
-
getTemplateIdBuilder
public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];
-
getTemplateIdOrBuilder
public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template id associated with the contract key Required
.com.daml.ledger.api.v1.Identifier template_id = 2 [json_name = "templateId"];- Specified by:
getTemplateIdOrBuilderin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder
-
getRequestingPartiesList
public com.google.protobuf.ProtocolStringList 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 To gain visibility of all contract key bindings and to ensure consistent performance use a key maintainer as a requesting party. Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesListin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Returns:
- A list containing the requestingParties.
-
getRequestingPartiesCount
public 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 To gain visibility of all contract key bindings and to ensure consistent performance use a key maintainer as a requesting party. Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesCountin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Returns:
- The count of requestingParties.
-
getRequestingParties
public 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 To gain visibility of all contract key bindings and to ensure consistent performance use a key maintainer as a requesting party. Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The requestingParties at the given index.
-
getRequestingPartiesBytes
public 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 To gain visibility of all contract key bindings and to ensure consistent performance use a key maintainer as a requesting party. Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesBytesin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestingParties at the given index.
-
setRequestingParties
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setRequestingParties(int index, java.lang.String value)
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 To gain visibility of all contract key bindings and to ensure consistent performance use a key maintainer as a requesting party. Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Parameters:
index- The index to set the value at.value- The requestingParties to set.- Returns:
- This builder for chaining.
-
addRequestingParties
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder addRequestingParties(java.lang.String value)
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 To gain visibility of all contract key bindings and to ensure consistent performance use a key maintainer as a requesting party. Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Parameters:
value- The requestingParties to add.- Returns:
- This builder for chaining.
-
addAllRequestingParties
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder addAllRequestingParties(java.lang.Iterable<java.lang.String> values)
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 To gain visibility of all contract key bindings and to ensure consistent performance use a key maintainer as a requesting party. Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Parameters:
values- The requestingParties to add.- Returns:
- This builder for chaining.
-
clearRequestingParties
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder clearRequestingParties()
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 To gain visibility of all contract key bindings and to ensure consistent performance use a key maintainer as a requesting party. Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Returns:
- This builder for chaining.
-
addRequestingPartiesBytes
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder addRequestingPartiesBytes(com.google.protobuf.ByteString value)
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 To gain visibility of all contract key bindings and to ensure consistent performance use a key maintainer as a requesting party. Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Parameters:
value- The bytes of the requestingParties to add.- Returns:
- This builder for chaining.
-
getContinuationToken
public java.lang.String getContinuationToken()
A ``continuation_token`` associated with a previous response. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Specified by:
getContinuationTokenin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Returns:
- The continuationToken.
-
getContinuationTokenBytes
public com.google.protobuf.ByteString getContinuationTokenBytes()
A ``continuation_token`` associated with a previous response. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Specified by:
getContinuationTokenBytesin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyRequestOrBuilder- Returns:
- The bytes for continuationToken.
-
setContinuationToken
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setContinuationToken(java.lang.String value)
A ``continuation_token`` associated with a previous response. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Parameters:
value- The continuationToken to set.- Returns:
- This builder for chaining.
-
clearContinuationToken
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder clearContinuationToken()
A ``continuation_token`` associated with a previous response. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Returns:
- This builder for chaining.
-
setContinuationTokenBytes
public EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setContinuationTokenBytes(com.google.protobuf.ByteString value)
A ``continuation_token`` associated with a previous response. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Parameters:
value- The bytes for continuationToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
mergeUnknownFields
public final EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyRequest.Builder>
-
-