Package com.daml.ledger.api.v1
Class TransactionServiceOuterClass.GetTransactionsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionsRequest.Builder>
-
- com.daml.ledger.api.v1.TransactionServiceOuterClass.GetTransactionsRequest.Builder
-
- All Implemented Interfaces:
TransactionServiceOuterClass.GetTransactionsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- TransactionServiceOuterClass.GetTransactionsRequest
public static final class TransactionServiceOuterClass.GetTransactionsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionsRequest.Builder> implements TransactionServiceOuterClass.GetTransactionsRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetTransactionsRequest
-
-
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, 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.GetTransactionsRequest.Builder>
-
clear
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
getDefaultInstanceForType
public TransactionServiceOuterClass.GetTransactionsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionServiceOuterClass.GetTransactionsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionServiceOuterClass.GetTransactionsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
setField
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
clearField
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
clearOneof
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
setRepeatedField
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
addRepeatedField
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionsRequest.Builder mergeFrom(TransactionServiceOuterClass.GetTransactionsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionServiceOuterClass.GetTransactionsRequest.Builder>
-
mergeFrom
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.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.GetTransactionsRequestOrBuilder
- 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.GetTransactionsRequestOrBuilder
- Returns:
- The bytes for ledgerId.
-
setLedgerId
public TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.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.GetTransactionsRequest.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.
-
hasBegin
public boolean hasBegin()
Beginning of the requested ledger section. This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this. Required
.com.daml.ledger.api.v1.LedgerOffset begin = 2 [json_name = "begin"];
- Specified by:
hasBegin
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
- Returns:
- Whether the begin field is set.
-
getBegin
public LedgerOffsetOuterClass.LedgerOffset getBegin()
Beginning of the requested ledger section. This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this. Required
.com.daml.ledger.api.v1.LedgerOffset begin = 2 [json_name = "begin"];
- Specified by:
getBegin
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
- Returns:
- The begin.
-
setBegin
public TransactionServiceOuterClass.GetTransactionsRequest.Builder setBegin(LedgerOffsetOuterClass.LedgerOffset value)
Beginning of the requested ledger section. This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this. Required
.com.daml.ledger.api.v1.LedgerOffset begin = 2 [json_name = "begin"];
-
setBegin
public TransactionServiceOuterClass.GetTransactionsRequest.Builder setBegin(LedgerOffsetOuterClass.LedgerOffset.Builder builderForValue)
Beginning of the requested ledger section. This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this. Required
.com.daml.ledger.api.v1.LedgerOffset begin = 2 [json_name = "begin"];
-
mergeBegin
public TransactionServiceOuterClass.GetTransactionsRequest.Builder mergeBegin(LedgerOffsetOuterClass.LedgerOffset value)
Beginning of the requested ledger section. This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this. Required
.com.daml.ledger.api.v1.LedgerOffset begin = 2 [json_name = "begin"];
-
clearBegin
public TransactionServiceOuterClass.GetTransactionsRequest.Builder clearBegin()
Beginning of the requested ledger section. This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this. Required
.com.daml.ledger.api.v1.LedgerOffset begin = 2 [json_name = "begin"];
-
getBeginBuilder
public LedgerOffsetOuterClass.LedgerOffset.Builder getBeginBuilder()
Beginning of the requested ledger section. This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this. Required
.com.daml.ledger.api.v1.LedgerOffset begin = 2 [json_name = "begin"];
-
getBeginOrBuilder
public LedgerOffsetOuterClass.LedgerOffsetOrBuilder getBeginOrBuilder()
Beginning of the requested ledger section. This offset is exclusive: the response will only contain transactions whose offset is strictly greater than this. Required
.com.daml.ledger.api.v1.LedgerOffset begin = 2 [json_name = "begin"];
- Specified by:
getBeginOrBuilder
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
-
hasEnd
public boolean hasEnd()
End of the requested ledger section. This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this. Optional, if not set, the stream will not terminate.
.com.daml.ledger.api.v1.LedgerOffset end = 3 [json_name = "end"];
- Specified by:
hasEnd
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
- Returns:
- Whether the end field is set.
-
getEnd
public LedgerOffsetOuterClass.LedgerOffset getEnd()
End of the requested ledger section. This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this. Optional, if not set, the stream will not terminate.
.com.daml.ledger.api.v1.LedgerOffset end = 3 [json_name = "end"];
- Specified by:
getEnd
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
- Returns:
- The end.
-
setEnd
public TransactionServiceOuterClass.GetTransactionsRequest.Builder setEnd(LedgerOffsetOuterClass.LedgerOffset value)
End of the requested ledger section. This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this. Optional, if not set, the stream will not terminate.
.com.daml.ledger.api.v1.LedgerOffset end = 3 [json_name = "end"];
-
setEnd
public TransactionServiceOuterClass.GetTransactionsRequest.Builder setEnd(LedgerOffsetOuterClass.LedgerOffset.Builder builderForValue)
End of the requested ledger section. This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this. Optional, if not set, the stream will not terminate.
.com.daml.ledger.api.v1.LedgerOffset end = 3 [json_name = "end"];
-
mergeEnd
public TransactionServiceOuterClass.GetTransactionsRequest.Builder mergeEnd(LedgerOffsetOuterClass.LedgerOffset value)
End of the requested ledger section. This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this. Optional, if not set, the stream will not terminate.
.com.daml.ledger.api.v1.LedgerOffset end = 3 [json_name = "end"];
-
clearEnd
public TransactionServiceOuterClass.GetTransactionsRequest.Builder clearEnd()
End of the requested ledger section. This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this. Optional, if not set, the stream will not terminate.
.com.daml.ledger.api.v1.LedgerOffset end = 3 [json_name = "end"];
-
getEndBuilder
public LedgerOffsetOuterClass.LedgerOffset.Builder getEndBuilder()
End of the requested ledger section. This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this. Optional, if not set, the stream will not terminate.
.com.daml.ledger.api.v1.LedgerOffset end = 3 [json_name = "end"];
-
getEndOrBuilder
public LedgerOffsetOuterClass.LedgerOffsetOrBuilder getEndOrBuilder()
End of the requested ledger section. This offset is inclusive: the response will only contain transactions whose offset is less than or equal to this. Optional, if not set, the stream will not terminate.
.com.daml.ledger.api.v1.LedgerOffset end = 3 [json_name = "end"];
- Specified by:
getEndOrBuilder
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
-
hasFilter
public boolean hasFilter()
Requesting parties with template filters. Template filters must be empty for GetTransactionTrees requests. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 4 [json_name = "filter"];
- Specified by:
hasFilter
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
public TransactionFilterOuterClass.TransactionFilter getFilter()
Requesting parties with template filters. Template filters must be empty for GetTransactionTrees requests. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 4 [json_name = "filter"];
- Specified by:
getFilter
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
- Returns:
- The filter.
-
setFilter
public TransactionServiceOuterClass.GetTransactionsRequest.Builder setFilter(TransactionFilterOuterClass.TransactionFilter value)
Requesting parties with template filters. Template filters must be empty for GetTransactionTrees requests. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 4 [json_name = "filter"];
-
setFilter
public TransactionServiceOuterClass.GetTransactionsRequest.Builder setFilter(TransactionFilterOuterClass.TransactionFilter.Builder builderForValue)
Requesting parties with template filters. Template filters must be empty for GetTransactionTrees requests. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 4 [json_name = "filter"];
-
mergeFilter
public TransactionServiceOuterClass.GetTransactionsRequest.Builder mergeFilter(TransactionFilterOuterClass.TransactionFilter value)
Requesting parties with template filters. Template filters must be empty for GetTransactionTrees requests. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 4 [json_name = "filter"];
-
clearFilter
public TransactionServiceOuterClass.GetTransactionsRequest.Builder clearFilter()
Requesting parties with template filters. Template filters must be empty for GetTransactionTrees requests. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 4 [json_name = "filter"];
-
getFilterBuilder
public TransactionFilterOuterClass.TransactionFilter.Builder getFilterBuilder()
Requesting parties with template filters. Template filters must be empty for GetTransactionTrees requests. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 4 [json_name = "filter"];
-
getFilterOrBuilder
public TransactionFilterOuterClass.TransactionFilterOrBuilder getFilterOrBuilder()
Requesting parties with template filters. Template filters must be empty for GetTransactionTrees requests. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 4 [json_name = "filter"];
- Specified by:
getFilterOrBuilder
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
-
getVerbose
public boolean getVerbose()
If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels for record fields. Optional
bool verbose = 5 [json_name = "verbose"];
- Specified by:
getVerbose
in interfaceTransactionServiceOuterClass.GetTransactionsRequestOrBuilder
- Returns:
- The verbose.
-
setVerbose
public TransactionServiceOuterClass.GetTransactionsRequest.Builder setVerbose(boolean value)
If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels for record fields. Optional
bool verbose = 5 [json_name = "verbose"];
- Parameters:
value
- The verbose to set.- Returns:
- This builder for chaining.
-
clearVerbose
public TransactionServiceOuterClass.GetTransactionsRequest.Builder clearVerbose()
If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels for record fields. Optional
bool verbose = 5 [json_name = "verbose"];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
mergeUnknownFields
public final TransactionServiceOuterClass.GetTransactionsRequest.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.GetTransactionsRequest.Builder>
-
-