All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.daml.ledger.api.v1.ActiveContractsServiceOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: com/daml/ledger/api/v1/active_contracts_service.proto

package com.daml.ledger.api.v1;

public final class ActiveContractsServiceOuterClass {
  private ActiveContractsServiceOuterClass() {}
  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 GetActiveContractsRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.daml.ledger.api.v1.GetActiveContractsRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * 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; * @return The ledgerId. */ 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; * @return The bytes for ledgerId. */ com.google.protobuf.ByteString getLedgerIdBytes(); /** *
     * Templates to include in the served snapshot, per party.
     * Required
     * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; * @return Whether the filter field is set. */ boolean hasFilter(); /** *
     * Templates to include in the served snapshot, per party.
     * Required
     * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; * @return The filter. */ com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter getFilter(); /** *
     * Templates to include in the served snapshot, per party.
     * Required
     * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; */ com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilterOrBuilder getFilterOrBuilder(); /** *
     * 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; * @return The verbose. */ boolean getVerbose(); } /** * Protobuf type {@code com.daml.ledger.api.v1.GetActiveContractsRequest} */ public static final class GetActiveContractsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.daml.ledger.api.v1.GetActiveContractsRequest) GetActiveContractsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetActiveContractsRequest.newBuilder() to construct. private GetActiveContractsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetActiveContractsRequest() { ledgerId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetActiveContractsRequest(); } @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.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest.class, com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder.class); } public static final int LEDGER_ID_FIELD_NUMBER = 1; private volatile java.lang.Object ledgerId_; /** *
     * 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; * @return The ledgerId. */ @java.lang.Override public java.lang.String getLedgerId() { java.lang.Object ref = ledgerId_; 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(); ledgerId_ = s; return s; } } /** *
     * 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; * @return The bytes for ledgerId. */ @java.lang.Override public com.google.protobuf.ByteString getLedgerIdBytes() { java.lang.Object ref = ledgerId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ledgerId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTER_FIELD_NUMBER = 2; private com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter filter_; /** *
     * Templates to include in the served snapshot, per party.
     * Required
     * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; * @return Whether the filter field is set. */ @java.lang.Override public boolean hasFilter() { return filter_ != null; } /** *
     * Templates to include in the served snapshot, per party.
     * Required
     * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; * @return The filter. */ @java.lang.Override public com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter getFilter() { return filter_ == null ? com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter.getDefaultInstance() : filter_; } /** *
     * Templates to include in the served snapshot, per party.
     * Required
     * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; */ @java.lang.Override public com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilterOrBuilder getFilterOrBuilder() { return getFilter(); } public static final int VERBOSE_FIELD_NUMBER = 3; private boolean verbose_; /** *
     * 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; * @return The verbose. */ @java.lang.Override public boolean getVerbose() { return verbose_; } 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(ledgerId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ledgerId_); } if (filter_ != null) { output.writeMessage(2, getFilter()); } if (verbose_ != false) { output.writeBool(3, verbose_); } 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(ledgerId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ledgerId_); } if (filter_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getFilter()); } if (verbose_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, verbose_); } 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest)) { return super.equals(obj); } com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest other = (com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest) obj; if (!getLedgerId() .equals(other.getLedgerId())) return false; if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { if (!getFilter() .equals(other.getFilter())) return false; } if (getVerbose() != other.getVerbose()) 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) + LEDGER_ID_FIELD_NUMBER; hash = (53 * hash) + getLedgerId().hashCode(); if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } hash = (37 * hash) + VERBOSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getVerbose()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest 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.GetActiveContractsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.daml.ledger.api.v1.GetActiveContractsRequest) com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest.class, com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder.class); } // Construct using com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); ledgerId_ = ""; if (filterBuilder_ == null) { filter_ = null; } else { filter_ = null; filterBuilder_ = null; } verbose_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_descriptor; } @java.lang.Override public com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest getDefaultInstanceForType() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest.getDefaultInstance(); } @java.lang.Override public com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest build() { com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest buildPartial() { com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest result = new com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest(this); result.ledgerId_ = ledgerId_; if (filterBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = filterBuilder_.build(); } result.verbose_ = verbose_; 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest) { return mergeFrom((com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest other) { if (other == com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest.getDefaultInstance()) return this; if (!other.getLedgerId().isEmpty()) { ledgerId_ = other.ledgerId_; onChanged(); } if (other.hasFilter()) { mergeFilter(other.getFilter()); } if (other.getVerbose() != false) { setVerbose(other.getVerbose()); } 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: { ledgerId_ = input.readStringRequireUtf8(); break; } // case 10 case 18: { input.readMessage( getFilterFieldBuilder().getBuilder(), extensionRegistry); break; } // case 18 case 24: { verbose_ = 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 ledgerId_ = ""; /** *
       * 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; * @return The ledgerId. */ public java.lang.String getLedgerId() { java.lang.Object ref = ledgerId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ledgerId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * 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; * @return The bytes for ledgerId. */ public com.google.protobuf.ByteString getLedgerIdBytes() { java.lang.Object ref = ledgerId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ledgerId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * 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; * @param value The ledgerId to set. * @return This builder for chaining. */ public Builder setLedgerId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ledgerId_ = value; onChanged(); return this; } /** *
       * 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; * @return This builder for chaining. */ public Builder clearLedgerId() { ledgerId_ = getDefaultInstance().getLedgerId(); onChanged(); return this; } /** *
       * 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; * @param value The bytes for ledgerId to set. * @return This builder for chaining. */ public Builder setLedgerIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ledgerId_ = value; onChanged(); return this; } private com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter filter_; private com.google.protobuf.SingleFieldBuilderV3< com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter, com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter.Builder, com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilterOrBuilder> filterBuilder_; /** *
       * Templates to include in the served snapshot, per party.
       * Required
       * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** *
       * Templates to include in the served snapshot, per party.
       * Required
       * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; * @return The filter. */ public com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter getFilter() { if (filterBuilder_ == null) { return filter_ == null ? com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter.getDefaultInstance() : filter_; } else { return filterBuilder_.getMessage(); } } /** *
       * Templates to include in the served snapshot, per party.
       * Required
       * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; */ public Builder setFilter(com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { filterBuilder_.setMessage(value); } return this; } /** *
       * Templates to include in the served snapshot, per party.
       * Required
       * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; */ public Builder setFilter( com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { filterBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Templates to include in the served snapshot, per party.
       * Required
       * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; */ public Builder mergeFilter(com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter value) { if (filterBuilder_ == null) { if (filter_ != null) { filter_ = com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { filterBuilder_.mergeFrom(value); } return this; } /** *
       * Templates to include in the served snapshot, per party.
       * Required
       * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; */ public Builder clearFilter() { if (filterBuilder_ == null) { filter_ = null; onChanged(); } else { filter_ = null; filterBuilder_ = null; } return this; } /** *
       * Templates to include in the served snapshot, per party.
       * Required
       * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; */ public com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter.Builder getFilterBuilder() { onChanged(); return getFilterFieldBuilder().getBuilder(); } /** *
       * Templates to include in the served snapshot, per party.
       * Required
       * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; */ public com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilterOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { return filter_ == null ? com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter.getDefaultInstance() : filter_; } } /** *
       * Templates to include in the served snapshot, per party.
       * Required
       * 
* * .com.daml.ledger.api.v1.TransactionFilter filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter, com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter.Builder, com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter, com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilter.Builder, com.daml.ledger.api.v1.TransactionFilterOuterClass.TransactionFilterOrBuilder>( getFilter(), getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } private boolean verbose_ ; /** *
       * 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; * @return The verbose. */ @java.lang.Override public boolean getVerbose() { return verbose_; } /** *
       * 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; * @param value The verbose to set. * @return This builder for chaining. */ public Builder setVerbose(boolean value) { verbose_ = value; onChanged(); return this; } /** *
       * 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; * @return This builder for chaining. */ public Builder clearVerbose() { verbose_ = 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.GetActiveContractsRequest) } // @@protoc_insertion_point(class_scope:com.daml.ledger.api.v1.GetActiveContractsRequest) private static final com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest(); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetActiveContractsRequest 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.ActiveContractsServiceOuterClass.GetActiveContractsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetActiveContractsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:com.daml.ledger.api.v1.GetActiveContractsResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Included in the last message.
     * The client should start consuming the transactions endpoint with this offset.
     * The format of this field is described in ``ledger_offset.proto``.
     * Required
     * 
* * string offset = 1; * @return The offset. */ java.lang.String getOffset(); /** *
     * Included in the last message.
     * The client should start consuming the transactions endpoint with this offset.
     * The format of this field is described in ``ledger_offset.proto``.
     * Required
     * 
* * string offset = 1; * @return The bytes for offset. */ com.google.protobuf.ByteString getOffsetBytes(); /** *
     * The workflow that created the contracts.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * string workflow_id = 2; * @return The workflowId. */ java.lang.String getWorkflowId(); /** *
     * The workflow that created the contracts.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * string workflow_id = 2; * @return The bytes for workflowId. */ com.google.protobuf.ByteString getWorkflowIdBytes(); /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ java.util.List getActiveContractsList(); /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ com.daml.ledger.api.v1.EventOuterClass.CreatedEvent getActiveContracts(int index); /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ int getActiveContractsCount(); /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ java.util.List getActiveContractsOrBuilderList(); /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ com.daml.ledger.api.v1.EventOuterClass.CreatedEventOrBuilder getActiveContractsOrBuilder( int index); } /** * Protobuf type {@code com.daml.ledger.api.v1.GetActiveContractsResponse} */ public static final class GetActiveContractsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.daml.ledger.api.v1.GetActiveContractsResponse) GetActiveContractsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetActiveContractsResponse.newBuilder() to construct. private GetActiveContractsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetActiveContractsResponse() { offset_ = ""; workflowId_ = ""; activeContracts_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetActiveContractsResponse(); } @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.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse.class, com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse.Builder.class); } public static final int OFFSET_FIELD_NUMBER = 1; private volatile java.lang.Object offset_; /** *
     * Included in the last message.
     * The client should start consuming the transactions endpoint with this offset.
     * The format of this field is described in ``ledger_offset.proto``.
     * Required
     * 
* * string offset = 1; * @return The offset. */ @java.lang.Override public java.lang.String getOffset() { java.lang.Object ref = offset_; 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(); offset_ = s; return s; } } /** *
     * Included in the last message.
     * The client should start consuming the transactions endpoint with this offset.
     * The format of this field is described in ``ledger_offset.proto``.
     * Required
     * 
* * string offset = 1; * @return The bytes for offset. */ @java.lang.Override public com.google.protobuf.ByteString getOffsetBytes() { java.lang.Object ref = offset_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); offset_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKFLOW_ID_FIELD_NUMBER = 2; private volatile java.lang.Object workflowId_; /** *
     * The workflow that created the contracts.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * string workflow_id = 2; * @return The workflowId. */ @java.lang.Override public java.lang.String getWorkflowId() { java.lang.Object ref = workflowId_; 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(); workflowId_ = s; return s; } } /** *
     * The workflow that created the contracts.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * string workflow_id = 2; * @return The bytes for workflowId. */ @java.lang.Override public com.google.protobuf.ByteString getWorkflowIdBytes() { java.lang.Object ref = workflowId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACTIVE_CONTRACTS_FIELD_NUMBER = 3; private java.util.List activeContracts_; /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ @java.lang.Override public java.util.List getActiveContractsList() { return activeContracts_; } /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ @java.lang.Override public java.util.List getActiveContractsOrBuilderList() { return activeContracts_; } /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ @java.lang.Override public int getActiveContractsCount() { return activeContracts_.size(); } /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ @java.lang.Override public com.daml.ledger.api.v1.EventOuterClass.CreatedEvent getActiveContracts(int index) { return activeContracts_.get(index); } /** *
     * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
     * Must be a valid LedgerString (as described in ``value.proto``).
     * Optional
     * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ @java.lang.Override public com.daml.ledger.api.v1.EventOuterClass.CreatedEventOrBuilder getActiveContractsOrBuilder( int index) { return activeContracts_.get(index); } 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(offset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, offset_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowId_); } for (int i = 0; i < activeContracts_.size(); i++) { output.writeMessage(3, activeContracts_.get(i)); } 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(offset_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, offset_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowId_); } for (int i = 0; i < activeContracts_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, activeContracts_.get(i)); } 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse)) { return super.equals(obj); } com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse other = (com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse) obj; if (!getOffset() .equals(other.getOffset())) return false; if (!getWorkflowId() .equals(other.getWorkflowId())) return false; if (!getActiveContractsList() .equals(other.getActiveContractsList())) 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) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + getOffset().hashCode(); hash = (37 * hash) + WORKFLOW_ID_FIELD_NUMBER; hash = (53 * hash) + getWorkflowId().hashCode(); if (getActiveContractsCount() > 0) { hash = (37 * hash) + ACTIVE_CONTRACTS_FIELD_NUMBER; hash = (53 * hash) + getActiveContractsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse 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.GetActiveContractsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.daml.ledger.api.v1.GetActiveContractsResponse) com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse.class, com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse.Builder.class); } // Construct using com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); offset_ = ""; workflowId_ = ""; if (activeContractsBuilder_ == null) { activeContracts_ = java.util.Collections.emptyList(); } else { activeContracts_ = null; activeContractsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_descriptor; } @java.lang.Override public com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse getDefaultInstanceForType() { return com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse.getDefaultInstance(); } @java.lang.Override public com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse build() { com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse buildPartial() { com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse result = new com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse(this); int from_bitField0_ = bitField0_; result.offset_ = offset_; result.workflowId_ = workflowId_; if (activeContractsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { activeContracts_ = java.util.Collections.unmodifiableList(activeContracts_); bitField0_ = (bitField0_ & ~0x00000001); } result.activeContracts_ = activeContracts_; } else { result.activeContracts_ = activeContractsBuilder_.build(); } 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse) { return mergeFrom((com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse other) { if (other == com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse.getDefaultInstance()) return this; if (!other.getOffset().isEmpty()) { offset_ = other.offset_; onChanged(); } if (!other.getWorkflowId().isEmpty()) { workflowId_ = other.workflowId_; onChanged(); } if (activeContractsBuilder_ == null) { if (!other.activeContracts_.isEmpty()) { if (activeContracts_.isEmpty()) { activeContracts_ = other.activeContracts_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureActiveContractsIsMutable(); activeContracts_.addAll(other.activeContracts_); } onChanged(); } } else { if (!other.activeContracts_.isEmpty()) { if (activeContractsBuilder_.isEmpty()) { activeContractsBuilder_.dispose(); activeContractsBuilder_ = null; activeContracts_ = other.activeContracts_; bitField0_ = (bitField0_ & ~0x00000001); activeContractsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getActiveContractsFieldBuilder() : null; } else { activeContractsBuilder_.addAllMessages(other.activeContracts_); } } } 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: { offset_ = input.readStringRequireUtf8(); break; } // case 10 case 18: { workflowId_ = input.readStringRequireUtf8(); break; } // case 18 case 26: { com.daml.ledger.api.v1.EventOuterClass.CreatedEvent m = input.readMessage( com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.parser(), extensionRegistry); if (activeContractsBuilder_ == null) { ensureActiveContractsIsMutable(); activeContracts_.add(m); } else { activeContractsBuilder_.addMessage(m); } break; } // case 26 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 int bitField0_; private java.lang.Object offset_ = ""; /** *
       * Included in the last message.
       * The client should start consuming the transactions endpoint with this offset.
       * The format of this field is described in ``ledger_offset.proto``.
       * Required
       * 
* * string offset = 1; * @return The offset. */ public java.lang.String getOffset() { java.lang.Object ref = offset_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offset_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Included in the last message.
       * The client should start consuming the transactions endpoint with this offset.
       * The format of this field is described in ``ledger_offset.proto``.
       * Required
       * 
* * string offset = 1; * @return The bytes for offset. */ public com.google.protobuf.ByteString getOffsetBytes() { java.lang.Object ref = offset_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); offset_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Included in the last message.
       * The client should start consuming the transactions endpoint with this offset.
       * The format of this field is described in ``ledger_offset.proto``.
       * Required
       * 
* * string offset = 1; * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset( java.lang.String value) { if (value == null) { throw new NullPointerException(); } offset_ = value; onChanged(); return this; } /** *
       * Included in the last message.
       * The client should start consuming the transactions endpoint with this offset.
       * The format of this field is described in ``ledger_offset.proto``.
       * Required
       * 
* * string offset = 1; * @return This builder for chaining. */ public Builder clearOffset() { offset_ = getDefaultInstance().getOffset(); onChanged(); return this; } /** *
       * Included in the last message.
       * The client should start consuming the transactions endpoint with this offset.
       * The format of this field is described in ``ledger_offset.proto``.
       * Required
       * 
* * string offset = 1; * @param value The bytes for offset to set. * @return This builder for chaining. */ public Builder setOffsetBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); offset_ = value; onChanged(); return this; } private java.lang.Object workflowId_ = ""; /** *
       * The workflow that created the contracts.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * string workflow_id = 2; * @return The workflowId. */ public java.lang.String getWorkflowId() { java.lang.Object ref = workflowId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The workflow that created the contracts.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * string workflow_id = 2; * @return The bytes for workflowId. */ public com.google.protobuf.ByteString getWorkflowIdBytes() { java.lang.Object ref = workflowId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workflowId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The workflow that created the contracts.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * string workflow_id = 2; * @param value The workflowId to set. * @return This builder for chaining. */ public Builder setWorkflowId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workflowId_ = value; onChanged(); return this; } /** *
       * The workflow that created the contracts.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * string workflow_id = 2; * @return This builder for chaining. */ public Builder clearWorkflowId() { workflowId_ = getDefaultInstance().getWorkflowId(); onChanged(); return this; } /** *
       * The workflow that created the contracts.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * string workflow_id = 2; * @param value The bytes for workflowId to set. * @return This builder for chaining. */ public Builder setWorkflowIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowId_ = value; onChanged(); return this; } private java.util.List activeContracts_ = java.util.Collections.emptyList(); private void ensureActiveContractsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { activeContracts_ = new java.util.ArrayList(activeContracts_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.daml.ledger.api.v1.EventOuterClass.CreatedEvent, com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder, com.daml.ledger.api.v1.EventOuterClass.CreatedEventOrBuilder> activeContractsBuilder_; /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public java.util.List getActiveContractsList() { if (activeContractsBuilder_ == null) { return java.util.Collections.unmodifiableList(activeContracts_); } else { return activeContractsBuilder_.getMessageList(); } } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public int getActiveContractsCount() { if (activeContractsBuilder_ == null) { return activeContracts_.size(); } else { return activeContractsBuilder_.getCount(); } } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public com.daml.ledger.api.v1.EventOuterClass.CreatedEvent getActiveContracts(int index) { if (activeContractsBuilder_ == null) { return activeContracts_.get(index); } else { return activeContractsBuilder_.getMessage(index); } } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public Builder setActiveContracts( int index, com.daml.ledger.api.v1.EventOuterClass.CreatedEvent value) { if (activeContractsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveContractsIsMutable(); activeContracts_.set(index, value); onChanged(); } else { activeContractsBuilder_.setMessage(index, value); } return this; } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public Builder setActiveContracts( int index, com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder builderForValue) { if (activeContractsBuilder_ == null) { ensureActiveContractsIsMutable(); activeContracts_.set(index, builderForValue.build()); onChanged(); } else { activeContractsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public Builder addActiveContracts(com.daml.ledger.api.v1.EventOuterClass.CreatedEvent value) { if (activeContractsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveContractsIsMutable(); activeContracts_.add(value); onChanged(); } else { activeContractsBuilder_.addMessage(value); } return this; } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public Builder addActiveContracts( int index, com.daml.ledger.api.v1.EventOuterClass.CreatedEvent value) { if (activeContractsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureActiveContractsIsMutable(); activeContracts_.add(index, value); onChanged(); } else { activeContractsBuilder_.addMessage(index, value); } return this; } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public Builder addActiveContracts( com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder builderForValue) { if (activeContractsBuilder_ == null) { ensureActiveContractsIsMutable(); activeContracts_.add(builderForValue.build()); onChanged(); } else { activeContractsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public Builder addActiveContracts( int index, com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder builderForValue) { if (activeContractsBuilder_ == null) { ensureActiveContractsIsMutable(); activeContracts_.add(index, builderForValue.build()); onChanged(); } else { activeContractsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public Builder addAllActiveContracts( java.lang.Iterable values) { if (activeContractsBuilder_ == null) { ensureActiveContractsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, activeContracts_); onChanged(); } else { activeContractsBuilder_.addAllMessages(values); } return this; } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public Builder clearActiveContracts() { if (activeContractsBuilder_ == null) { activeContracts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { activeContractsBuilder_.clear(); } return this; } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public Builder removeActiveContracts(int index) { if (activeContractsBuilder_ == null) { ensureActiveContractsIsMutable(); activeContracts_.remove(index); onChanged(); } else { activeContractsBuilder_.remove(index); } return this; } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder getActiveContractsBuilder( int index) { return getActiveContractsFieldBuilder().getBuilder(index); } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public com.daml.ledger.api.v1.EventOuterClass.CreatedEventOrBuilder getActiveContractsOrBuilder( int index) { if (activeContractsBuilder_ == null) { return activeContracts_.get(index); } else { return activeContractsBuilder_.getMessageOrBuilder(index); } } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public java.util.List getActiveContractsOrBuilderList() { if (activeContractsBuilder_ != null) { return activeContractsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(activeContracts_); } } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder addActiveContractsBuilder() { return getActiveContractsFieldBuilder().addBuilder( com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.getDefaultInstance()); } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder addActiveContractsBuilder( int index) { return getActiveContractsFieldBuilder().addBuilder( index, com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.getDefaultInstance()); } /** *
       * The list of contracts that were introduced by the workflow with ``workflow_id`` at the offset.
       * Must be a valid LedgerString (as described in ``value.proto``).
       * Optional
       * 
* * repeated .com.daml.ledger.api.v1.CreatedEvent active_contracts = 3; */ public java.util.List getActiveContractsBuilderList() { return getActiveContractsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.daml.ledger.api.v1.EventOuterClass.CreatedEvent, com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder, com.daml.ledger.api.v1.EventOuterClass.CreatedEventOrBuilder> getActiveContractsFieldBuilder() { if (activeContractsBuilder_ == null) { activeContractsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.daml.ledger.api.v1.EventOuterClass.CreatedEvent, com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder, com.daml.ledger.api.v1.EventOuterClass.CreatedEventOrBuilder>( activeContracts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); activeContracts_ = null; } return activeContractsBuilder_; } @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.GetActiveContractsResponse) } // @@protoc_insertion_point(class_scope:com.daml.ledger.api.v1.GetActiveContractsResponse) private static final com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse(); } public static com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetActiveContractsResponse 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.ActiveContractsServiceOuterClass.GetActiveContractsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n5com/daml/ledger/api/v1/active_contract" + "s_service.proto\022\026com.daml.ledger.api.v1\032" + "\"com/daml/ledger/api/v1/event.proto\032/com" + "/daml/ledger/api/v1/transaction_filter.p" + "roto\"z\n\031GetActiveContractsRequest\022\021\n\tled" + "ger_id\030\001 \001(\t\0229\n\006filter\030\002 \001(\0132).com.daml." + "ledger.api.v1.TransactionFilter\022\017\n\007verbo" + "se\030\003 \001(\010\"\201\001\n\032GetActiveContractsResponse\022" + "\016\n\006offset\030\001 \001(\t\022\023\n\013workflow_id\030\002 \001(\t\022>\n\020" + "active_contracts\030\003 \003(\0132$.com.daml.ledger" + ".api.v1.CreatedEvent2\227\001\n\026ActiveContracts" + "Service\022}\n\022GetActiveContracts\0221.com.daml" + ".ledger.api.v1.GetActiveContractsRequest" + "\0322.com.daml.ledger.api.v1.GetActiveContr" + "actsResponse0\001BS\n\026com.daml.ledger.api.v1" + "B ActiveContractsServiceOuterClass\252\002\026Com" + ".Daml.Ledger.Api.V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.daml.ledger.api.v1.EventOuterClass.getDescriptor(), com.daml.ledger.api.v1.TransactionFilterOuterClass.getDescriptor(), }); internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_daml_ledger_api_v1_GetActiveContractsRequest_descriptor, new java.lang.String[] { "LedgerId", "Filter", "Verbose", }); internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_daml_ledger_api_v1_GetActiveContractsResponse_descriptor, new java.lang.String[] { "Offset", "WorkflowId", "ActiveContracts", }); com.daml.ledger.api.v1.EventOuterClass.getDescriptor(); com.daml.ledger.api.v1.TransactionFilterOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy