Package com.daml.ledger.api.v2
Interface StateServiceOuterClass.GetLatestPrunedOffsetsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StateServiceOuterClass.GetLatestPrunedOffsetsResponse
,StateServiceOuterClass.GetLatestPrunedOffsetsResponse.Builder
- Enclosing class:
- StateServiceOuterClass
public static interface StateServiceOuterClass.GetLatestPrunedOffsetsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong
It will always be a non-negative integer.long
It will always be a non-negative integer.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParticipantPrunedUpToInclusive
long getParticipantPrunedUpToInclusive()It will always be a non-negative integer. If positive, the absolute offset up to which the ledger has been pruned, disregarding the state of all divulged contracts pruning. If zero, the ledger has not been pruned yet.
int64 participant_pruned_up_to_inclusive = 1 [json_name = "participantPrunedUpToInclusive"];
- Returns:
- The participantPrunedUpToInclusive.
-
getAllDivulgedContractsPrunedUpToInclusive
long getAllDivulgedContractsPrunedUpToInclusive()It will always be a non-negative integer. If positive, the absolute offset up to which all divulged events have been pruned on the ledger. It can be at or before the ``participant_pruned_up_to_inclusive`` offset. For more details about all divulged events pruning, see ``PruneRequest.prune_all_divulged_contracts`` in ``participant_pruning_service.proto``. If zero, the divulged events have not been pruned yet.
int64 all_divulged_contracts_pruned_up_to_inclusive = 2 [json_name = "allDivulgedContractsPrunedUpToInclusive"];
- Returns:
- The allDivulgedContractsPrunedUpToInclusive.
-