
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: com/daml/ledger/api/v1/admin/participant_pruning_service.proto
package com.daml.ledger.api.v1.admin;
public final class ParticipantPruningServiceOuterClass {
private ParticipantPruningServiceOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PruneRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.daml.ledger.api.v1.admin.PruneRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
* @return The pruneUpTo.
*/
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;
* @return The bytes for pruneUpTo.
*/
com.google.protobuf.ByteString
getPruneUpToBytes();
/**
*
* Unique submission identifier.
* Optional, defaults to a random identifier, used for logging.
*
*
* string submission_id = 2;
* @return The submissionId.
*/
java.lang.String getSubmissionId();
/**
*
* Unique submission identifier.
* Optional, defaults to a random identifier, used for logging.
*
*
* string submission_id = 2;
* @return The bytes for submissionId.
*/
com.google.protobuf.ByteString
getSubmissionIdBytes();
/**
*
* 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;
* @return The pruneAllDivulgedContracts.
*/
boolean getPruneAllDivulgedContracts();
}
/**
* Protobuf type {@code com.daml.ledger.api.v1.admin.PruneRequest}
*/
public static final class PruneRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.daml.ledger.api.v1.admin.PruneRequest)
PruneRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use PruneRequest.newBuilder() to construct.
private PruneRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PruneRequest() {
pruneUpTo_ = "";
submissionId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PruneRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest.class, com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest.Builder.class);
}
public static final int PRUNE_UP_TO_FIELD_NUMBER = 1;
private volatile java.lang.Object pruneUpTo_;
/**
*
* 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;
* @return The pruneUpTo.
*/
@java.lang.Override
public java.lang.String getPruneUpTo() {
java.lang.Object ref = pruneUpTo_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pruneUpTo_ = s;
return s;
}
}
/**
*
* 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;
* @return The bytes for pruneUpTo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPruneUpToBytes() {
java.lang.Object ref = pruneUpTo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pruneUpTo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SUBMISSION_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object submissionId_;
/**
*
* Unique submission identifier.
* Optional, defaults to a random identifier, used for logging.
*
*
* string submission_id = 2;
* @return The submissionId.
*/
@java.lang.Override
public java.lang.String getSubmissionId() {
java.lang.Object ref = submissionId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
submissionId_ = s;
return s;
}
}
/**
*
* Unique submission identifier.
* Optional, defaults to a random identifier, used for logging.
*
*
* string submission_id = 2;
* @return The bytes for submissionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubmissionIdBytes() {
java.lang.Object ref = submissionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
submissionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRUNE_ALL_DIVULGED_CONTRACTS_FIELD_NUMBER = 3;
private boolean pruneAllDivulgedContracts_;
/**
*
* 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;
* @return The pruneAllDivulgedContracts.
*/
@java.lang.Override
public boolean getPruneAllDivulgedContracts() {
return pruneAllDivulgedContracts_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pruneUpTo_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pruneUpTo_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(submissionId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, submissionId_);
}
if (pruneAllDivulgedContracts_ != false) {
output.writeBool(3, pruneAllDivulgedContracts_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pruneUpTo_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pruneUpTo_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(submissionId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, submissionId_);
}
if (pruneAllDivulgedContracts_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, pruneAllDivulgedContracts_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest)) {
return super.equals(obj);
}
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest other = (com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest) obj;
if (!getPruneUpTo()
.equals(other.getPruneUpTo())) return false;
if (!getSubmissionId()
.equals(other.getSubmissionId())) return false;
if (getPruneAllDivulgedContracts()
!= other.getPruneAllDivulgedContracts()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PRUNE_UP_TO_FIELD_NUMBER;
hash = (53 * hash) + getPruneUpTo().hashCode();
hash = (37 * hash) + SUBMISSION_ID_FIELD_NUMBER;
hash = (53 * hash) + getSubmissionId().hashCode();
hash = (37 * hash) + PRUNE_ALL_DIVULGED_CONTRACTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPruneAllDivulgedContracts());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.daml.ledger.api.v1.admin.PruneRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.daml.ledger.api.v1.admin.PruneRequest)
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest.class, com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest.Builder.class);
}
// Construct using com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
pruneUpTo_ = "";
submissionId_ = "";
pruneAllDivulgedContracts_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneRequest_descriptor;
}
@java.lang.Override
public com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest getDefaultInstanceForType() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest.getDefaultInstance();
}
@java.lang.Override
public com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest build() {
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest buildPartial() {
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest result = new com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest(this);
result.pruneUpTo_ = pruneUpTo_;
result.submissionId_ = submissionId_;
result.pruneAllDivulgedContracts_ = pruneAllDivulgedContracts_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest) {
return mergeFrom((com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest other) {
if (other == com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest.getDefaultInstance()) return this;
if (!other.getPruneUpTo().isEmpty()) {
pruneUpTo_ = other.pruneUpTo_;
onChanged();
}
if (!other.getSubmissionId().isEmpty()) {
submissionId_ = other.submissionId_;
onChanged();
}
if (other.getPruneAllDivulgedContracts() != false) {
setPruneAllDivulgedContracts(other.getPruneAllDivulgedContracts());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
pruneUpTo_ = input.readStringRequireUtf8();
break;
} // case 10
case 18: {
submissionId_ = input.readStringRequireUtf8();
break;
} // case 18
case 24: {
pruneAllDivulgedContracts_ = input.readBool();
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private java.lang.Object pruneUpTo_ = "";
/**
*
* 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;
* @return The pruneUpTo.
*/
public java.lang.String getPruneUpTo() {
java.lang.Object ref = pruneUpTo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pruneUpTo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 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;
* @return The bytes for pruneUpTo.
*/
public com.google.protobuf.ByteString
getPruneUpToBytes() {
java.lang.Object ref = pruneUpTo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pruneUpTo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 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;
* @param value The pruneUpTo to set.
* @return This builder for chaining.
*/
public Builder setPruneUpTo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pruneUpTo_ = value;
onChanged();
return this;
}
/**
*
* 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;
* @return This builder for chaining.
*/
public Builder clearPruneUpTo() {
pruneUpTo_ = getDefaultInstance().getPruneUpTo();
onChanged();
return this;
}
/**
*
* 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;
* @param value The bytes for pruneUpTo to set.
* @return This builder for chaining.
*/
public Builder setPruneUpToBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pruneUpTo_ = value;
onChanged();
return this;
}
private java.lang.Object submissionId_ = "";
/**
*
* Unique submission identifier.
* Optional, defaults to a random identifier, used for logging.
*
*
* string submission_id = 2;
* @return The submissionId.
*/
public java.lang.String getSubmissionId() {
java.lang.Object ref = submissionId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
submissionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Unique submission identifier.
* Optional, defaults to a random identifier, used for logging.
*
*
* string submission_id = 2;
* @return The bytes for submissionId.
*/
public com.google.protobuf.ByteString
getSubmissionIdBytes() {
java.lang.Object ref = submissionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
submissionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Unique submission identifier.
* Optional, defaults to a random identifier, used for logging.
*
*
* string submission_id = 2;
* @param value The submissionId to set.
* @return This builder for chaining.
*/
public Builder setSubmissionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
submissionId_ = value;
onChanged();
return this;
}
/**
*
* Unique submission identifier.
* Optional, defaults to a random identifier, used for logging.
*
*
* string submission_id = 2;
* @return This builder for chaining.
*/
public Builder clearSubmissionId() {
submissionId_ = getDefaultInstance().getSubmissionId();
onChanged();
return this;
}
/**
*
* Unique submission identifier.
* Optional, defaults to a random identifier, used for logging.
*
*
* string submission_id = 2;
* @param value The bytes for submissionId to set.
* @return This builder for chaining.
*/
public Builder setSubmissionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
submissionId_ = value;
onChanged();
return this;
}
private boolean pruneAllDivulgedContracts_ ;
/**
*
* 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;
* @return The pruneAllDivulgedContracts.
*/
@java.lang.Override
public boolean getPruneAllDivulgedContracts() {
return pruneAllDivulgedContracts_;
}
/**
*
* 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;
* @param value The pruneAllDivulgedContracts to set.
* @return This builder for chaining.
*/
public Builder setPruneAllDivulgedContracts(boolean value) {
pruneAllDivulgedContracts_ = value;
onChanged();
return this;
}
/**
*
* 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;
* @return This builder for chaining.
*/
public Builder clearPruneAllDivulgedContracts() {
pruneAllDivulgedContracts_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.daml.ledger.api.v1.admin.PruneRequest)
}
// @@protoc_insertion_point(class_scope:com.daml.ledger.api.v1.admin.PruneRequest)
private static final com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest();
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PruneRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PruneResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.daml.ledger.api.v1.admin.PruneResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* Empty for now, but may contain fields in the future
*
*
* Protobuf type {@code com.daml.ledger.api.v1.admin.PruneResponse}
*/
public static final class PruneResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.daml.ledger.api.v1.admin.PruneResponse)
PruneResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use PruneResponse.newBuilder() to construct.
private PruneResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PruneResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PruneResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse.class, com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse)) {
return super.equals(obj);
}
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse other = (com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Empty for now, but may contain fields in the future
*
*
* Protobuf type {@code com.daml.ledger.api.v1.admin.PruneResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.daml.ledger.api.v1.admin.PruneResponse)
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse.class, com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse.Builder.class);
}
// Construct using com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.internal_static_com_daml_ledger_api_v1_admin_PruneResponse_descriptor;
}
@java.lang.Override
public com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse getDefaultInstanceForType() {
return com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse.getDefaultInstance();
}
@java.lang.Override
public com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse build() {
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse buildPartial() {
com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse result = new com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse) {
return mergeFrom((com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse other) {
if (other == com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.daml.ledger.api.v1.admin.PruneResponse)
}
// @@protoc_insertion_point(class_scope:com.daml.ledger.api.v1.admin.PruneResponse)
private static final com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse();
}
public static com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PruneResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.daml.ledger.api.v1.admin.ParticipantPruningServiceOuterClass.PruneResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_daml_ledger_api_v1_admin_PruneRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_daml_ledger_api_v1_admin_PruneRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_daml_ledger_api_v1_admin_PruneResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_daml_ledger_api_v1_admin_PruneResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n>com/daml/ledger/api/v1/admin/participa" +
"nt_pruning_service.proto\022\034com.daml.ledge" +
"r.api.v1.admin\"`\n\014PruneRequest\022\023\n\013prune_" +
"up_to\030\001 \001(\t\022\025\n\rsubmission_id\030\002 \001(\t\022$\n\034pr" +
"une_all_divulged_contracts\030\003 \001(\010\"\017\n\rPrun" +
"eResponse2}\n\031ParticipantPruningService\022`" +
"\n\005Prune\022*.com.daml.ledger.api.v1.admin.P" +
"runeRequest\032+.com.daml.ledger.api.v1.adm" +
"in.PruneResponseBb\n\034com.daml.ledger.api." +
"v1.adminB#ParticipantPruningServiceOuter" +
"Class\252\002\034Com.Daml.Ledger.Api.V1.Adminb\006pr" +
"oto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_com_daml_ledger_api_v1_admin_PruneRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_daml_ledger_api_v1_admin_PruneRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_daml_ledger_api_v1_admin_PruneRequest_descriptor,
new java.lang.String[] { "PruneUpTo", "SubmissionId", "PruneAllDivulgedContracts", });
internal_static_com_daml_ledger_api_v1_admin_PruneResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_com_daml_ledger_api_v1_admin_PruneResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_daml_ledger_api_v1_admin_PruneResponse_descriptor,
new java.lang.String[] { });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy