Package com.daml.ledger.api.v1
Class ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
- com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
-
- All Implemented Interfaces:
ActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ActiveContractsServiceOuterClass.GetActiveContractsRequest
public static final class ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder> implements ActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetActiveContractsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ActiveContractsServiceOuterClass.GetActiveContractsRequest
build()
ActiveContractsServiceOuterClass.GetActiveContractsRequest
buildPartial()
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
clear()
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
clearActiveAtOffset()
The offset at which the snapshot of the active contracts will be computed.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
clearFilter()
Templates to include in the served snapshot, per party.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
clearVerbose()
If enabled, values served over the API will contain more information than strictly necessary to interpret the data.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
clone()
java.lang.String
getActiveAtOffset()
The offset at which the snapshot of the active contracts will be computed.com.google.protobuf.ByteString
getActiveAtOffsetBytes()
The offset at which the snapshot of the active contracts will be computed.ActiveContractsServiceOuterClass.GetActiveContractsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
TransactionFilterOuterClass.TransactionFilter
getFilter()
Templates to include in the served snapshot, per party.TransactionFilterOuterClass.TransactionFilter.Builder
getFilterBuilder()
Templates to include in the served snapshot, per party.TransactionFilterOuterClass.TransactionFilterOrBuilder
getFilterOrBuilder()
Templates to include in the served snapshot, per party.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.boolean
getVerbose()
If enabled, values served over the API will contain more information than strictly necessary to interpret the data.boolean
hasFilter()
Templates to include in the served snapshot, per party.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
mergeFilter(TransactionFilterOuterClass.TransactionFilter value)
Templates to include in the served snapshot, per party.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
mergeFrom(ActiveContractsServiceOuterClass.GetActiveContractsRequest other)
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setActiveAtOffset(java.lang.String value)
The offset at which the snapshot of the active contracts will be computed.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setActiveAtOffsetBytes(com.google.protobuf.ByteString value)
The offset at which the snapshot of the active contracts will be computed.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setFilter(TransactionFilterOuterClass.TransactionFilter value)
Templates to include in the served snapshot, per party.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setFilter(TransactionFilterOuterClass.TransactionFilter.Builder builderForValue)
Templates to include in the served snapshot, per party.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
setVerbose(boolean value)
If enabled, values served over the API will contain more information than strictly necessary to interpret the data.-
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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
clear
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
getDefaultInstanceForType
public ActiveContractsServiceOuterClass.GetActiveContractsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ActiveContractsServiceOuterClass.GetActiveContractsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ActiveContractsServiceOuterClass.GetActiveContractsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
setField
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
clearField
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
clearOneof
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
setRepeatedField
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
addRepeatedField
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
mergeFrom
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
mergeFrom
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder mergeFrom(ActiveContractsServiceOuterClass.GetActiveContractsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
mergeFrom
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.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 interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- 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 interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- The bytes for ledgerId.
-
setLedgerId
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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 ActiveContractsServiceOuterClass.GetActiveContractsRequest.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 ActiveContractsServiceOuterClass.GetActiveContractsRequest.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.
-
hasFilter
public boolean hasFilter()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
- Specified by:
hasFilter
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
public TransactionFilterOuterClass.TransactionFilter getFilter()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
- Specified by:
getFilter
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- The filter.
-
setFilter
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setFilter(TransactionFilterOuterClass.TransactionFilter value)
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
setFilter
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setFilter(TransactionFilterOuterClass.TransactionFilter.Builder builderForValue)
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
mergeFilter
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder mergeFilter(TransactionFilterOuterClass.TransactionFilter value)
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
clearFilter
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder clearFilter()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
getFilterBuilder
public TransactionFilterOuterClass.TransactionFilter.Builder getFilterBuilder()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
getFilterOrBuilder
public TransactionFilterOuterClass.TransactionFilterOrBuilder getFilterOrBuilder()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
- Specified by:
getFilterOrBuilder
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
-
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 = 3 [json_name = "verbose"];
- Specified by:
getVerbose
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- The verbose.
-
setVerbose
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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 = 3 [json_name = "verbose"];
- Parameters:
value
- The verbose to set.- Returns:
- This builder for chaining.
-
clearVerbose
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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 = 3 [json_name = "verbose"];
- Returns:
- This builder for chaining.
-
getActiveAtOffset
public java.lang.String getActiveAtOffset()
The offset at which the snapshot of the active contracts will be computed. Must be no greater than the current ledger end offset. Must be greater than or equal to the last pruning offset. If not set the current ledger end offset will be used. Optional
string active_at_offset = 4 [json_name = "activeAtOffset"];
- Specified by:
getActiveAtOffset
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- The activeAtOffset.
-
getActiveAtOffsetBytes
public com.google.protobuf.ByteString getActiveAtOffsetBytes()
The offset at which the snapshot of the active contracts will be computed. Must be no greater than the current ledger end offset. Must be greater than or equal to the last pruning offset. If not set the current ledger end offset will be used. Optional
string active_at_offset = 4 [json_name = "activeAtOffset"];
- Specified by:
getActiveAtOffsetBytes
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- The bytes for activeAtOffset.
-
setActiveAtOffset
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setActiveAtOffset(java.lang.String value)
The offset at which the snapshot of the active contracts will be computed. Must be no greater than the current ledger end offset. Must be greater than or equal to the last pruning offset. If not set the current ledger end offset will be used. Optional
string active_at_offset = 4 [json_name = "activeAtOffset"];
- Parameters:
value
- The activeAtOffset to set.- Returns:
- This builder for chaining.
-
clearActiveAtOffset
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder clearActiveAtOffset()
The offset at which the snapshot of the active contracts will be computed. Must be no greater than the current ledger end offset. Must be greater than or equal to the last pruning offset. If not set the current ledger end offset will be used. Optional
string active_at_offset = 4 [json_name = "activeAtOffset"];
- Returns:
- This builder for chaining.
-
setActiveAtOffsetBytes
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setActiveAtOffsetBytes(com.google.protobuf.ByteString value)
The offset at which the snapshot of the active contracts will be computed. Must be no greater than the current ledger end offset. Must be greater than or equal to the last pruning offset. If not set the current ledger end offset will be used. Optional
string active_at_offset = 4 [json_name = "activeAtOffset"];
- Parameters:
value
- The bytes for activeAtOffset to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
mergeUnknownFields
public final ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
-