Package com.daml.ledger.api.v1
Class TransactionServiceOuterClass.GetTransactionByIdRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByIdRequest.Builder>
-
- com.daml.ledger.api.v1.TransactionServiceOuterClass.GetTransactionByIdRequest.Builder
-
- All Implemented Interfaces:
TransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- TransactionServiceOuterClass.GetTransactionByIdRequest
public static final class TransactionServiceOuterClass.GetTransactionByIdRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByIdRequest.Builder> implements TransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetTransactionByIdRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionServiceOuterClass.GetTransactionByIdRequest.BuilderaddAllRequestingParties(java.lang.Iterable<java.lang.String> values)The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByIdRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TransactionServiceOuterClass.GetTransactionByIdRequest.BuilderaddRequestingParties(java.lang.String value)The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByIdRequest.BuilderaddRequestingPartiesBytes(com.google.protobuf.ByteString value)The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByIdRequestbuild()TransactionServiceOuterClass.GetTransactionByIdRequestbuildPartial()TransactionServiceOuterClass.GetTransactionByIdRequest.Builderclear()TransactionServiceOuterClass.GetTransactionByIdRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TransactionServiceOuterClass.GetTransactionByIdRequest.BuilderclearLedgerId()Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetTransactionByIdRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TransactionServiceOuterClass.GetTransactionByIdRequest.BuilderclearRequestingParties()The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByIdRequest.BuilderclearTransactionId()The ID of a particular transaction.TransactionServiceOuterClass.GetTransactionByIdRequest.Builderclone()TransactionServiceOuterClass.GetTransactionByIdRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.java.lang.StringgetTransactionId()The ID of a particular transaction.com.google.protobuf.ByteStringgetTransactionIdBytes()The ID of a particular transaction.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TransactionServiceOuterClass.GetTransactionByIdRequest.BuildermergeFrom(TransactionServiceOuterClass.GetTransactionByIdRequest other)TransactionServiceOuterClass.GetTransactionByIdRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransactionServiceOuterClass.GetTransactionByIdRequest.BuildermergeFrom(com.google.protobuf.Message other)TransactionServiceOuterClass.GetTransactionByIdRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransactionServiceOuterClass.GetTransactionByIdRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TransactionServiceOuterClass.GetTransactionByIdRequest.BuildersetLedgerId(java.lang.String value)Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetTransactionByIdRequest.BuildersetLedgerIdBytes(com.google.protobuf.ByteString value)Must correspond to the ledger ID reported by the Ledger Identification Service.TransactionServiceOuterClass.GetTransactionByIdRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)TransactionServiceOuterClass.GetTransactionByIdRequest.BuildersetRequestingParties(int index, java.lang.String value)The parties whose events the client expects to see.TransactionServiceOuterClass.GetTransactionByIdRequest.BuildersetTransactionId(java.lang.String value)The ID of a particular transaction.TransactionServiceOuterClass.GetTransactionByIdRequest.BuildersetTransactionIdBytes(com.google.protobuf.ByteString value)The ID of a particular transaction.TransactionServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
clear
public TransactionServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
getDefaultInstanceForType
public TransactionServiceOuterClass.GetTransactionByIdRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionServiceOuterClass.GetTransactionByIdRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionServiceOuterClass.GetTransactionByIdRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
setField
public TransactionServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
clearField
public TransactionServiceOuterClass.GetTransactionByIdRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByIdRequest.Builder>
-
clearOneof
public TransactionServiceOuterClass.GetTransactionByIdRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByIdRequest.Builder>
-
setRepeatedField
public TransactionServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
addRepeatedField
public TransactionServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionByIdRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransactionServiceOuterClass.GetTransactionByIdRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionByIdRequest.Builder mergeFrom(TransactionServiceOuterClass.GetTransactionByIdRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByIdRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionByIdRequest.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.GetTransactionByIdRequest.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 describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Specified by:
getLedgerIdin interfaceTransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder- 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 describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Specified by:
getLedgerIdBytesin interfaceTransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder- Returns:
- The bytes for ledgerId.
-
setLedgerId
public TransactionServiceOuterClass.GetTransactionByIdRequest.Builder setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe 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.GetTransactionByIdRequest.Builder clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Returns:
- This builder for chaining.
-
setLedgerIdBytes
public TransactionServiceOuterClass.GetTransactionByIdRequest.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 describe in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];- Parameters:
value- The bytes for ledgerId to set.- Returns:
- This builder for chaining.
-
getTransactionId
public java.lang.String getTransactionId()
The ID of a particular transaction. Must be a valid LedgerString (as describe in ``value.proto``). Required
string transaction_id = 2 [json_name = "transactionId"];- Specified by:
getTransactionIdin interfaceTransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder- Returns:
- The transactionId.
-
getTransactionIdBytes
public com.google.protobuf.ByteString getTransactionIdBytes()
The ID of a particular transaction. Must be a valid LedgerString (as describe in ``value.proto``). Required
string transaction_id = 2 [json_name = "transactionId"];- Specified by:
getTransactionIdBytesin interfaceTransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder- Returns:
- The bytes for transactionId.
-
setTransactionId
public TransactionServiceOuterClass.GetTransactionByIdRequest.Builder setTransactionId(java.lang.String value)
The ID of a particular transaction. Must be a valid LedgerString (as describe in ``value.proto``). Required
string transaction_id = 2 [json_name = "transactionId"];- Parameters:
value- The transactionId to set.- Returns:
- This builder for chaining.
-
clearTransactionId
public TransactionServiceOuterClass.GetTransactionByIdRequest.Builder clearTransactionId()
The ID of a particular transaction. Must be a valid LedgerString (as describe in ``value.proto``). Required
string transaction_id = 2 [json_name = "transactionId"];- Returns:
- This builder for chaining.
-
setTransactionIdBytes
public TransactionServiceOuterClass.GetTransactionByIdRequest.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
The ID of a particular transaction. Must be a valid LedgerString (as describe in ``value.proto``). Required
string transaction_id = 2 [json_name = "transactionId"];- Parameters:
value- The bytes for transactionId 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 be a valid PartyIdString (as describe in ``value.proto``). Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesListin interfaceTransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder- 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 be a valid PartyIdString (as describe in ``value.proto``). Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesCountin interfaceTransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder- 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 be a valid PartyIdString (as describe in ``value.proto``). Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesin interfaceTransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder- 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 be a valid PartyIdString (as describe in ``value.proto``). Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Specified by:
getRequestingPartiesBytesin interfaceTransactionServiceOuterClass.GetTransactionByIdRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestingParties at the given index.
-
setRequestingParties
public TransactionServiceOuterClass.GetTransactionByIdRequest.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 be a valid PartyIdString (as describe 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.GetTransactionByIdRequest.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 be a valid PartyIdString (as describe 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.GetTransactionByIdRequest.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 be a valid PartyIdString (as describe 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.GetTransactionByIdRequest.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 be a valid PartyIdString (as describe in ``value.proto``). Required
repeated string requesting_parties = 3 [json_name = "requestingParties"];- Returns:
- This builder for chaining.
-
addRequestingPartiesBytes
public TransactionServiceOuterClass.GetTransactionByIdRequest.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 be a valid PartyIdString (as describe 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.GetTransactionByIdRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByIdRequest.Builder>
-
mergeUnknownFields
public final TransactionServiceOuterClass.GetTransactionByIdRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionByIdRequest.Builder>
-
-