public static final class ParticipantPruningServiceOuterClass.PruneRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder> implements ParticipantPruningServiceOuterClass.PruneRequestOrBuilder
com.daml.ledger.api.v1.admin.PruneRequest| Modifier and Type | Method and Description |
|---|---|
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ParticipantPruningServiceOuterClass.PruneRequest |
build() |
ParticipantPruningServiceOuterClass.PruneRequest |
buildPartial() |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
clear() |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
clearPruneAllDivulgedContracts()
Prune all immediately and retroactively divulged contracts created before `prune_up_to`
independent of whether they were archived before `prune_up_to`.
|
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
clearPruneUpTo()
Inclusive offset up to which the ledger is to be pruned.
|
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
clearSubmissionId()
Unique submission identifier.
|
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
clone() |
ParticipantPruningServiceOuterClass.PruneRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getPruneAllDivulgedContracts()
Prune all immediately and retroactively divulged contracts created before `prune_up_to`
independent of whether they were archived before `prune_up_to`.
|
java.lang.String |
getPruneUpTo()
Inclusive offset up to which the ledger is to be pruned.
|
com.google.protobuf.ByteString |
getPruneUpToBytes()
Inclusive offset up to which the ledger is to be pruned.
|
java.lang.String |
getSubmissionId()
Unique submission identifier.
|
com.google.protobuf.ByteString |
getSubmissionIdBytes()
Unique submission identifier.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
mergeFrom(ParticipantPruningServiceOuterClass.PruneRequest other) |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
setPruneAllDivulgedContracts(boolean value)
Prune all immediately and retroactively divulged contracts created before `prune_up_to`
independent of whether they were archived before `prune_up_to`.
|
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
setPruneUpTo(java.lang.String value)
Inclusive offset up to which the ledger is to be pruned.
|
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
setPruneUpToBytes(com.google.protobuf.ByteString value)
Inclusive offset up to which the ledger is to be pruned.
|
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
setSubmissionId(java.lang.String value)
Unique submission identifier.
|
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
setSubmissionIdBytes(com.google.protobuf.ByteString value)
Unique submission identifier.
|
ParticipantPruningServiceOuterClass.PruneRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ParticipantPruningServiceOuterClass.PruneRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ParticipantPruningServiceOuterClass.PruneRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ParticipantPruningServiceOuterClass.PruneRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest.Builder mergeFrom(ParticipantPruningServiceOuterClass.PruneRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public ParticipantPruningServiceOuterClass.PruneRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>java.io.IOExceptionpublic java.lang.String getPruneUpTo()
Inclusive offset up to which the ledger is to be pruned. By default the following data is pruned: 1. All normal and divulged contracts that have been archived before `prune_up_to`. 2. All transaction events and completions before `prune_up_to`
string prune_up_to = 1 [json_name = "pruneUpTo"];getPruneUpTo in interface ParticipantPruningServiceOuterClass.PruneRequestOrBuilderpublic com.google.protobuf.ByteString getPruneUpToBytes()
Inclusive offset up to which the ledger is to be pruned. By default the following data is pruned: 1. All normal and divulged contracts that have been archived before `prune_up_to`. 2. All transaction events and completions before `prune_up_to`
string prune_up_to = 1 [json_name = "pruneUpTo"];getPruneUpToBytes in interface ParticipantPruningServiceOuterClass.PruneRequestOrBuilderpublic ParticipantPruningServiceOuterClass.PruneRequest.Builder setPruneUpTo(java.lang.String value)
Inclusive offset up to which the ledger is to be pruned. By default the following data is pruned: 1. All normal and divulged contracts that have been archived before `prune_up_to`. 2. All transaction events and completions before `prune_up_to`
string prune_up_to = 1 [json_name = "pruneUpTo"];value - The pruneUpTo to set.public ParticipantPruningServiceOuterClass.PruneRequest.Builder clearPruneUpTo()
Inclusive offset up to which the ledger is to be pruned. By default the following data is pruned: 1. All normal and divulged contracts that have been archived before `prune_up_to`. 2. All transaction events and completions before `prune_up_to`
string prune_up_to = 1 [json_name = "pruneUpTo"];public ParticipantPruningServiceOuterClass.PruneRequest.Builder setPruneUpToBytes(com.google.protobuf.ByteString value)
Inclusive offset up to which the ledger is to be pruned. By default the following data is pruned: 1. All normal and divulged contracts that have been archived before `prune_up_to`. 2. All transaction events and completions before `prune_up_to`
string prune_up_to = 1 [json_name = "pruneUpTo"];value - The bytes for pruneUpTo to set.public java.lang.String getSubmissionId()
Unique submission identifier. Optional, defaults to a random identifier, used for logging.
string submission_id = 2 [json_name = "submissionId"];getSubmissionId in interface ParticipantPruningServiceOuterClass.PruneRequestOrBuilderpublic com.google.protobuf.ByteString getSubmissionIdBytes()
Unique submission identifier. Optional, defaults to a random identifier, used for logging.
string submission_id = 2 [json_name = "submissionId"];getSubmissionIdBytes in interface ParticipantPruningServiceOuterClass.PruneRequestOrBuilderpublic ParticipantPruningServiceOuterClass.PruneRequest.Builder setSubmissionId(java.lang.String value)
Unique submission identifier. Optional, defaults to a random identifier, used for logging.
string submission_id = 2 [json_name = "submissionId"];value - The submissionId to set.public ParticipantPruningServiceOuterClass.PruneRequest.Builder clearSubmissionId()
Unique submission identifier. Optional, defaults to a random identifier, used for logging.
string submission_id = 2 [json_name = "submissionId"];public ParticipantPruningServiceOuterClass.PruneRequest.Builder setSubmissionIdBytes(com.google.protobuf.ByteString value)
Unique submission identifier. Optional, defaults to a random identifier, used for logging.
string submission_id = 2 [json_name = "submissionId"];value - The bytes for submissionId to set.public boolean getPruneAllDivulgedContracts()
Prune all immediately and retroactively divulged contracts created before `prune_up_to` independent of whether they were archived before `prune_up_to`. Useful to avoid leaking storage on participant nodes that can see a divulged contract but not its archival. Application developers SHOULD write their Daml applications such that they do not rely on divulged contracts; i.e., no warnings from using divulged contracts as inputs to transactions are emitted. Participant node operators SHOULD set the `prune_all_divulged_contracts` flag to avoid leaking storage due to accumulating unarchived divulged contracts PROVIDED that: 1. no application using this participant node relies on divulgence OR 2. divulged contracts on which applications rely have been re-divulged after the `prune_up_to` offset.
bool prune_all_divulged_contracts = 3 [json_name = "pruneAllDivulgedContracts"];getPruneAllDivulgedContracts in interface ParticipantPruningServiceOuterClass.PruneRequestOrBuilderpublic ParticipantPruningServiceOuterClass.PruneRequest.Builder setPruneAllDivulgedContracts(boolean value)
Prune all immediately and retroactively divulged contracts created before `prune_up_to` independent of whether they were archived before `prune_up_to`. Useful to avoid leaking storage on participant nodes that can see a divulged contract but not its archival. Application developers SHOULD write their Daml applications such that they do not rely on divulged contracts; i.e., no warnings from using divulged contracts as inputs to transactions are emitted. Participant node operators SHOULD set the `prune_all_divulged_contracts` flag to avoid leaking storage due to accumulating unarchived divulged contracts PROVIDED that: 1. no application using this participant node relies on divulgence OR 2. divulged contracts on which applications rely have been re-divulged after the `prune_up_to` offset.
bool prune_all_divulged_contracts = 3 [json_name = "pruneAllDivulgedContracts"];value - The pruneAllDivulgedContracts to set.public ParticipantPruningServiceOuterClass.PruneRequest.Builder clearPruneAllDivulgedContracts()
Prune all immediately and retroactively divulged contracts created before `prune_up_to` independent of whether they were archived before `prune_up_to`. Useful to avoid leaking storage on participant nodes that can see a divulged contract but not its archival. Application developers SHOULD write their Daml applications such that they do not rely on divulged contracts; i.e., no warnings from using divulged contracts as inputs to transactions are emitted. Participant node operators SHOULD set the `prune_all_divulged_contracts` flag to avoid leaking storage due to accumulating unarchived divulged contracts PROVIDED that: 1. no application using this participant node relies on divulgence OR 2. divulged contracts on which applications rely have been re-divulged after the `prune_up_to` offset.
bool prune_all_divulged_contracts = 3 [json_name = "pruneAllDivulgedContracts"];public final ParticipantPruningServiceOuterClass.PruneRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>public final ParticipantPruningServiceOuterClass.PruneRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ParticipantPruningServiceOuterClass.PruneRequest.Builder>