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