Package com.daml.ledger.api.v1
Class TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
- com.daml.ledger.api.v1.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
-
- All Implemented Interfaces:
TransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- TransactionServiceOuterClass.GetTransactionByEventIdRequest
public static final class TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder> implements TransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetTransactionByEventIdRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuilderaddAllRequestingParties(java.lang.Iterable<java.lang.String> values)The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuilderaddRequestingParties(java.lang.String value)The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuilderaddRequestingPartiesBytes(com.google.protobuf.ByteString value)The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequestbuild()TransactionServiceOuterClass.GetTransactionByEventIdRequestbuildPartial()TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builderclear()TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuilderclearEventId()The ID of a particular event.TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuilderclearLedgerId()Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuilderclearRequestingParties()The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builderclone()TransactionServiceOuterClass.GetTransactionByEventIdRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetEventId()The ID of a particular event.com.google.protobuf.ByteStringgetEventIdBytes()The ID of a particular event.java.lang.StringgetLedgerId()Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.ByteStringgetLedgerIdBytes()Must correspond to the ledger ID reported by the Ledger Identification Service.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.com.google.protobuf.ProtocolStringListgetRequestingPartiesList()The parties whose events the client expects to see.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildermergeFrom(TransactionServiceOuterClass.GetTransactionByEventIdRequest other)TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildermergeFrom(com.google.protobuf.Message other)TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildersetEventId(java.lang.String value)The ID of a particular event.TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildersetEventIdBytes(com.google.protobuf.ByteString value)The ID of a particular event.TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildersetLedgerId(java.lang.String value)Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildersetLedgerIdBytes(com.google.protobuf.ByteString value)Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildersetRequestingParties(int index, java.lang.String value)The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
clear
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.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<TransactionServiceOuterClass.GetTransactionByEventIdRequest.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<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
getDefaultInstanceForType
public TransactionServiceOuterClass.GetTransactionByEventIdRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionServiceOuterClass.GetTransactionByEventIdRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionServiceOuterClass.GetTransactionByEventIdRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.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<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
setField
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.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<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
clearField
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
clearOneof
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
setRepeatedField
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.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<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
addRepeatedField
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.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<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder mergeFrom(TransactionServiceOuterClass.GetTransactionByEventIdRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.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<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>- Throws:
java.io.IOException
-
getLedgerId
public java.lang.String getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Specified by:
getLedgerIdin interfaceTransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder- Returns:
- The ledgerId.
-
getLedgerIdBytes
public com.google.protobuf.ByteString getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Specified by:
getLedgerIdBytesin interfaceTransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder- Returns:
- The bytes for ledgerId.
-
setLedgerId
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Parameters:
value- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Returns:
- This builder for chaining.
-
setLedgerIdBytes
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Parameters:
value- The bytes for ledgerId to set.- Returns:
- This builder for chaining.
-
getEventId
public java.lang.String getEventId()
The ID of a particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 2 [json_name = "eventId"];- Specified by:
getEventIdin interfaceTransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
The ID of a particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 2 [json_name = "eventId"];- Specified by:
getEventIdBytesin interfaceTransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder- Returns:
- The bytes for eventId.
-
setEventId
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder setEventId(java.lang.String value)
The ID of a particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 2 [json_name = "eventId"];- Parameters:
value- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder clearEventId()
The ID of a particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 2 [json_name = "eventId"];- Returns:
- This builder for chaining.
-
setEventIdBytes
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder setEventIdBytes(com.google.protobuf.ByteString value)
The ID of a particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 2 [json_name = "eventId"];- Parameters:
value- The bytes for eventId to set.- Returns:
- This builder for chaining.
-
getRequestingPartiesList
public com.google.protobuf.ProtocolStringList getRequestingPartiesList()
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
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesListin interfaceTransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder- Returns:
- A list containing the requestingParties.
-
getRequestingPartiesCount
public int getRequestingPartiesCount()
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
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesCountin interfaceTransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder- Returns:
- The count of requestingParties.
-
getRequestingParties
public java.lang.String getRequestingParties(int index)
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
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesin interfaceTransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder- 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. 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
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesBytesin interfaceTransactionServiceOuterClass.GetTransactionByEventIdRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestingParties at the given index.
-
setRequestingParties
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder setRequestingParties(int index, java.lang.String value)
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
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 TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder addRequestingParties(java.lang.String value)
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
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Parameters:
value- The requestingParties to add.- Returns:
- This builder for chaining.
-
addAllRequestingParties
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder addAllRequestingParties(java.lang.Iterable<java.lang.String> values)
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
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Parameters:
values- The requestingParties to add.- Returns:
- This builder for chaining.
-
clearRequestingParties
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder clearRequestingParties()
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
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Returns:
- This builder for chaining.
-
addRequestingPartiesBytes
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder addRequestingPartiesBytes(com.google.protobuf.ByteString value)
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
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Parameters:
value- The bytes of the requestingParties to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
mergeUnknownFields
public final TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
-