Package com.daml.ledger.api.v1
Class TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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.Builder
addAllRequestingParties(java.lang.Iterable<java.lang.String> values)
The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
addRequestingParties(java.lang.String value)
The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
addRequestingPartiesBytes(com.google.protobuf.ByteString value)
The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequest
build()
TransactionServiceOuterClass.GetTransactionByEventIdRequest
buildPartial()
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
clear()
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
clearEventId()
The ID of a particular event.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
clearRequestingParties()
The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
clone()
TransactionServiceOuterClass.GetTransactionByEventIdRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getEventId()
The ID of a particular event.com.google.protobuf.ByteString
getEventIdBytes()
The ID of a particular event.java.lang.String
getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.com.google.protobuf.ByteString
getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service.java.lang.String
getRequestingParties(int index)
The parties whose events the client expects to see.com.google.protobuf.ByteString
getRequestingPartiesBytes(int index)
The parties whose events the client expects to see.int
getRequestingPartiesCount()
The parties whose events the client expects to see.com.google.protobuf.ProtocolStringList
getRequestingPartiesList()
The parties whose events the client expects to see.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
mergeFrom(TransactionServiceOuterClass.GetTransactionByEventIdRequest other)
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
mergeFrom(com.google.protobuf.Message other)
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
setEventId(java.lang.String value)
The ID of a particular event.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
setEventIdBytes(com.google.protobuf.ByteString value)
The ID of a particular event.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
setRequestingParties(int index, java.lang.String value)
The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
clear
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
getDefaultInstanceForType
public TransactionServiceOuterClass.GetTransactionByEventIdRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionServiceOuterClass.GetTransactionByEventIdRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionServiceOuterClass.GetTransactionByEventIdRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
clearField
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
clearOneof
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder mergeFrom(TransactionServiceOuterClass.GetTransactionByEventIdRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getLedgerId
in 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:
getLedgerIdBytes
in 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:
getEventId
in 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:
getEventIdBytes
in 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:
getRequestingPartiesList
in 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:
getRequestingPartiesCount
in 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:
getRequestingParties
in 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:
getRequestingPartiesBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
mergeUnknownFields
public final TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByEventIdRequest.Builder>
-
-