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

io.provenance.scope.contract.proto.Specifications Maven / Gradle / Ivy

Go to download

A collection of libraries that interact and run Provenance Java based contracts.

There is a newer version: 0.7.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: io/provenance/scope/contract/specification.proto

package io.provenance.scope.contract.proto;

public final class Specifications {
  private Specifications() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code io.provenance.scope.contract.PartyType}
   */
  public enum PartyType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * NONE = 0;
     */
    NONE(0),
    /**
     * ORIGINATOR = 1;
     */
    ORIGINATOR(1),
    /**
     * SERVICER = 2;
     */
    SERVICER(2),
    /**
     * INVESTOR = 3;
     */
    INVESTOR(3),
    /**
     * CUSTODIAN = 4;
     */
    CUSTODIAN(4),
    /**
     * OWNER = 5;
     */
    OWNER(5),
    /**
     * AFFILIATE = 6;
     */
    AFFILIATE(6),
    /**
     * OMNIBUS = 7;
     */
    OMNIBUS(7),
    /**
     * PROVENANCE = 8;
     */
    PROVENANCE(8),
    UNRECOGNIZED(-1),
    ;

    /**
     * NONE = 0;
     */
    public static final int NONE_VALUE = 0;
    /**
     * ORIGINATOR = 1;
     */
    public static final int ORIGINATOR_VALUE = 1;
    /**
     * SERVICER = 2;
     */
    public static final int SERVICER_VALUE = 2;
    /**
     * INVESTOR = 3;
     */
    public static final int INVESTOR_VALUE = 3;
    /**
     * CUSTODIAN = 4;
     */
    public static final int CUSTODIAN_VALUE = 4;
    /**
     * OWNER = 5;
     */
    public static final int OWNER_VALUE = 5;
    /**
     * AFFILIATE = 6;
     */
    public static final int AFFILIATE_VALUE = 6;
    /**
     * OMNIBUS = 7;
     */
    public static final int OMNIBUS_VALUE = 7;
    /**
     * PROVENANCE = 8;
     */
    public static final int PROVENANCE_VALUE = 8;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static PartyType valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static PartyType forNumber(int value) {
      switch (value) {
        case 0: return NONE;
        case 1: return ORIGINATOR;
        case 2: return SERVICER;
        case 3: return INVESTOR;
        case 4: return CUSTODIAN;
        case 5: return OWNER;
        case 6: return AFFILIATE;
        case 7: return OMNIBUS;
        case 8: return PROVENANCE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        PartyType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public PartyType findValueByNumber(int number) {
              return PartyType.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return io.provenance.scope.contract.proto.Specifications.getDescriptor().getEnumTypes().get(0);
    }

    private static final PartyType[] VALUES = values();

    public static PartyType valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private PartyType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:io.provenance.scope.contract.PartyType)
  }

  public interface ContractSpecOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.provenance.scope.contract.ContractSpec)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .io.provenance.scope.contract.DefinitionSpec definition = 1;
     * @return Whether the definition field is set.
     */
    boolean hasDefinition();
    /**
     * .io.provenance.scope.contract.DefinitionSpec definition = 1;
     * @return The definition.
     */
    io.provenance.scope.contract.proto.Commons.DefinitionSpec getDefinition();
    /**
     * .io.provenance.scope.contract.DefinitionSpec definition = 1;
     */
    io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getDefinitionOrBuilder();

    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    java.util.List 
        getInputSpecsList();
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    io.provenance.scope.contract.proto.Commons.DefinitionSpec getInputSpecs(int index);
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    int getInputSpecsCount();
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    java.util.List 
        getInputSpecsOrBuilderList();
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(
        int index);

    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @return A list containing the partiesInvolved.
     */
    java.util.List getPartiesInvolvedList();
    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @return The count of partiesInvolved.
     */
    int getPartiesInvolvedCount();
    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @param index The index of the element to return.
     * @return The partiesInvolved at the given index.
     */
    io.provenance.scope.contract.proto.Specifications.PartyType getPartiesInvolved(int index);
    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @return A list containing the enum numeric values on the wire for partiesInvolved.
     */
    java.util.List
    getPartiesInvolvedValueList();
    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of partiesInvolved at the given index.
     */
    int getPartiesInvolvedValue(int index);

    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    java.util.List 
        getConditionSpecsList();
    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    io.provenance.scope.contract.proto.Specifications.ConditionSpec getConditionSpecs(int index);
    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    int getConditionSpecsCount();
    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    java.util.List 
        getConditionSpecsOrBuilderList();
    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    io.provenance.scope.contract.proto.Specifications.ConditionSpecOrBuilder getConditionSpecsOrBuilder(
        int index);

    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    java.util.List 
        getFunctionSpecsList();
    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    io.provenance.scope.contract.proto.Specifications.FunctionSpec getFunctionSpecs(int index);
    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    int getFunctionSpecsCount();
    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    java.util.List 
        getFunctionSpecsOrBuilderList();
    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    io.provenance.scope.contract.proto.Specifications.FunctionSpecOrBuilder getFunctionSpecsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code io.provenance.scope.contract.ContractSpec}
   */
  public static final class ContractSpec extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:io.provenance.scope.contract.ContractSpec)
      ContractSpecOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ContractSpec.newBuilder() to construct.
    private ContractSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ContractSpec() {
      inputSpecs_ = java.util.Collections.emptyList();
      partiesInvolved_ = java.util.Collections.emptyList();
      conditionSpecs_ = java.util.Collections.emptyList();
      functionSpecs_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ContractSpec();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ContractSpec(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder subBuilder = null;
              if (definition_ != null) {
                subBuilder = definition_.toBuilder();
              }
              definition_ = input.readMessage(io.provenance.scope.contract.proto.Commons.DefinitionSpec.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(definition_);
                definition_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                inputSpecs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              inputSpecs_.add(
                  input.readMessage(io.provenance.scope.contract.proto.Commons.DefinitionSpec.parser(), extensionRegistry));
              break;
            }
            case 24: {
              int rawValue = input.readEnum();
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                partiesInvolved_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              partiesInvolved_.add(rawValue);
              break;
            }
            case 26: {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while(input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                  partiesInvolved_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000002;
                }
                partiesInvolved_.add(rawValue);
              }
              input.popLimit(oldLimit);
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                conditionSpecs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              conditionSpecs_.add(
                  input.readMessage(io.provenance.scope.contract.proto.Specifications.ConditionSpec.parser(), extensionRegistry));
              break;
            }
            case 50: {
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                functionSpecs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              functionSpecs_.add(
                  input.readMessage(io.provenance.scope.contract.proto.Specifications.FunctionSpec.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          inputSpecs_ = java.util.Collections.unmodifiableList(inputSpecs_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          partiesInvolved_ = java.util.Collections.unmodifiableList(partiesInvolved_);
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          conditionSpecs_ = java.util.Collections.unmodifiableList(conditionSpecs_);
        }
        if (((mutable_bitField0_ & 0x00000008) != 0)) {
          functionSpecs_ = java.util.Collections.unmodifiableList(functionSpecs_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ContractSpec_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ContractSpec_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.provenance.scope.contract.proto.Specifications.ContractSpec.class, io.provenance.scope.contract.proto.Specifications.ContractSpec.Builder.class);
    }

    public static final int DEFINITION_FIELD_NUMBER = 1;
    private io.provenance.scope.contract.proto.Commons.DefinitionSpec definition_;
    /**
     * .io.provenance.scope.contract.DefinitionSpec definition = 1;
     * @return Whether the definition field is set.
     */
    @java.lang.Override
    public boolean hasDefinition() {
      return definition_ != null;
    }
    /**
     * .io.provenance.scope.contract.DefinitionSpec definition = 1;
     * @return The definition.
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.DefinitionSpec getDefinition() {
      return definition_ == null ? io.provenance.scope.contract.proto.Commons.DefinitionSpec.getDefaultInstance() : definition_;
    }
    /**
     * .io.provenance.scope.contract.DefinitionSpec definition = 1;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getDefinitionOrBuilder() {
      return getDefinition();
    }

    public static final int INPUT_SPECS_FIELD_NUMBER = 2;
    private java.util.List inputSpecs_;
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public java.util.List getInputSpecsList() {
      return inputSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public java.util.List 
        getInputSpecsOrBuilderList() {
      return inputSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public int getInputSpecsCount() {
      return inputSpecs_.size();
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.DefinitionSpec getInputSpecs(int index) {
      return inputSpecs_.get(index);
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(
        int index) {
      return inputSpecs_.get(index);
    }

    public static final int PARTIES_INVOLVED_FIELD_NUMBER = 3;
    private java.util.List partiesInvolved_;
    private static final com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, io.provenance.scope.contract.proto.Specifications.PartyType> partiesInvolved_converter_ =
            new com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, io.provenance.scope.contract.proto.Specifications.PartyType>() {
              public io.provenance.scope.contract.proto.Specifications.PartyType convert(java.lang.Integer from) {
                @SuppressWarnings("deprecation")
                io.provenance.scope.contract.proto.Specifications.PartyType result = io.provenance.scope.contract.proto.Specifications.PartyType.valueOf(from);
                return result == null ? io.provenance.scope.contract.proto.Specifications.PartyType.UNRECOGNIZED : result;
              }
            };
    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @return A list containing the partiesInvolved.
     */
    @java.lang.Override
    public java.util.List getPartiesInvolvedList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, io.provenance.scope.contract.proto.Specifications.PartyType>(partiesInvolved_, partiesInvolved_converter_);
    }
    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @return The count of partiesInvolved.
     */
    @java.lang.Override
    public int getPartiesInvolvedCount() {
      return partiesInvolved_.size();
    }
    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @param index The index of the element to return.
     * @return The partiesInvolved at the given index.
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Specifications.PartyType getPartiesInvolved(int index) {
      return partiesInvolved_converter_.convert(partiesInvolved_.get(index));
    }
    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @return A list containing the enum numeric values on the wire for partiesInvolved.
     */
    @java.lang.Override
    public java.util.List
    getPartiesInvolvedValueList() {
      return partiesInvolved_;
    }
    /**
     * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of partiesInvolved at the given index.
     */
    @java.lang.Override
    public int getPartiesInvolvedValue(int index) {
      return partiesInvolved_.get(index);
    }
    private int partiesInvolvedMemoizedSerializedSize;

    public static final int CONDITION_SPECS_FIELD_NUMBER = 4;
    private java.util.List conditionSpecs_;
    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    @java.lang.Override
    public java.util.List getConditionSpecsList() {
      return conditionSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    @java.lang.Override
    public java.util.List 
        getConditionSpecsOrBuilderList() {
      return conditionSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    @java.lang.Override
    public int getConditionSpecsCount() {
      return conditionSpecs_.size();
    }
    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Specifications.ConditionSpec getConditionSpecs(int index) {
      return conditionSpecs_.get(index);
    }
    /**
     * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Specifications.ConditionSpecOrBuilder getConditionSpecsOrBuilder(
        int index) {
      return conditionSpecs_.get(index);
    }

    public static final int FUNCTION_SPECS_FIELD_NUMBER = 6;
    private java.util.List functionSpecs_;
    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    @java.lang.Override
    public java.util.List getFunctionSpecsList() {
      return functionSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    @java.lang.Override
    public java.util.List 
        getFunctionSpecsOrBuilderList() {
      return functionSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    @java.lang.Override
    public int getFunctionSpecsCount() {
      return functionSpecs_.size();
    }
    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Specifications.FunctionSpec getFunctionSpecs(int index) {
      return functionSpecs_.get(index);
    }
    /**
     * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Specifications.FunctionSpecOrBuilder getFunctionSpecsOrBuilder(
        int index) {
      return functionSpecs_.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 {
      getSerializedSize();
      if (definition_ != null) {
        output.writeMessage(1, getDefinition());
      }
      for (int i = 0; i < inputSpecs_.size(); i++) {
        output.writeMessage(2, inputSpecs_.get(i));
      }
      if (getPartiesInvolvedList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(partiesInvolvedMemoizedSerializedSize);
      }
      for (int i = 0; i < partiesInvolved_.size(); i++) {
        output.writeEnumNoTag(partiesInvolved_.get(i));
      }
      for (int i = 0; i < conditionSpecs_.size(); i++) {
        output.writeMessage(4, conditionSpecs_.get(i));
      }
      for (int i = 0; i < functionSpecs_.size(); i++) {
        output.writeMessage(6, functionSpecs_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (definition_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getDefinition());
      }
      for (int i = 0; i < inputSpecs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, inputSpecs_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < partiesInvolved_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeEnumSizeNoTag(partiesInvolved_.get(i));
        }
        size += dataSize;
        if (!getPartiesInvolvedList().isEmpty()) {  size += 1;
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(dataSize);
        }partiesInvolvedMemoizedSerializedSize = dataSize;
      }
      for (int i = 0; i < conditionSpecs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, conditionSpecs_.get(i));
      }
      for (int i = 0; i < functionSpecs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, functionSpecs_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.provenance.scope.contract.proto.Specifications.ContractSpec)) {
        return super.equals(obj);
      }
      io.provenance.scope.contract.proto.Specifications.ContractSpec other = (io.provenance.scope.contract.proto.Specifications.ContractSpec) obj;

      if (hasDefinition() != other.hasDefinition()) return false;
      if (hasDefinition()) {
        if (!getDefinition()
            .equals(other.getDefinition())) return false;
      }
      if (!getInputSpecsList()
          .equals(other.getInputSpecsList())) return false;
      if (!partiesInvolved_.equals(other.partiesInvolved_)) return false;
      if (!getConditionSpecsList()
          .equals(other.getConditionSpecsList())) return false;
      if (!getFunctionSpecsList()
          .equals(other.getFunctionSpecsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasDefinition()) {
        hash = (37 * hash) + DEFINITION_FIELD_NUMBER;
        hash = (53 * hash) + getDefinition().hashCode();
      }
      if (getInputSpecsCount() > 0) {
        hash = (37 * hash) + INPUT_SPECS_FIELD_NUMBER;
        hash = (53 * hash) + getInputSpecsList().hashCode();
      }
      if (getPartiesInvolvedCount() > 0) {
        hash = (37 * hash) + PARTIES_INVOLVED_FIELD_NUMBER;
        hash = (53 * hash) + partiesInvolved_.hashCode();
      }
      if (getConditionSpecsCount() > 0) {
        hash = (37 * hash) + CONDITION_SPECS_FIELD_NUMBER;
        hash = (53 * hash) + getConditionSpecsList().hashCode();
      }
      if (getFunctionSpecsCount() > 0) {
        hash = (37 * hash) + FUNCTION_SPECS_FIELD_NUMBER;
        hash = (53 * hash) + getFunctionSpecsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.provenance.scope.contract.proto.Specifications.ContractSpec parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.provenance.scope.contract.proto.Specifications.ContractSpec parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.provenance.scope.contract.proto.Specifications.ContractSpec parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.provenance.scope.contract.proto.Specifications.ContractSpec parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.provenance.scope.contract.proto.Specifications.ContractSpec parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.provenance.scope.contract.proto.Specifications.ContractSpec parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.provenance.scope.contract.proto.Specifications.ContractSpec parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.provenance.scope.contract.proto.Specifications.ContractSpec 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 io.provenance.scope.contract.proto.Specifications.ContractSpec parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.provenance.scope.contract.proto.Specifications.ContractSpec 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 io.provenance.scope.contract.proto.Specifications.ContractSpec parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.provenance.scope.contract.proto.Specifications.ContractSpec 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(io.provenance.scope.contract.proto.Specifications.ContractSpec 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 io.provenance.scope.contract.ContractSpec}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:io.provenance.scope.contract.ContractSpec)
        io.provenance.scope.contract.proto.Specifications.ContractSpecOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ContractSpec_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ContractSpec_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.provenance.scope.contract.proto.Specifications.ContractSpec.class, io.provenance.scope.contract.proto.Specifications.ContractSpec.Builder.class);
      }

      // Construct using io.provenance.scope.contract.proto.Specifications.ContractSpec.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getInputSpecsFieldBuilder();
          getConditionSpecsFieldBuilder();
          getFunctionSpecsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (definitionBuilder_ == null) {
          definition_ = null;
        } else {
          definition_ = null;
          definitionBuilder_ = null;
        }
        if (inputSpecsBuilder_ == null) {
          inputSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          inputSpecsBuilder_.clear();
        }
        partiesInvolved_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        if (conditionSpecsBuilder_ == null) {
          conditionSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          conditionSpecsBuilder_.clear();
        }
        if (functionSpecsBuilder_ == null) {
          functionSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          functionSpecsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ContractSpec_descriptor;
      }

      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.ContractSpec getDefaultInstanceForType() {
        return io.provenance.scope.contract.proto.Specifications.ContractSpec.getDefaultInstance();
      }

      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.ContractSpec build() {
        io.provenance.scope.contract.proto.Specifications.ContractSpec result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.ContractSpec buildPartial() {
        io.provenance.scope.contract.proto.Specifications.ContractSpec result = new io.provenance.scope.contract.proto.Specifications.ContractSpec(this);
        int from_bitField0_ = bitField0_;
        if (definitionBuilder_ == null) {
          result.definition_ = definition_;
        } else {
          result.definition_ = definitionBuilder_.build();
        }
        if (inputSpecsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            inputSpecs_ = java.util.Collections.unmodifiableList(inputSpecs_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.inputSpecs_ = inputSpecs_;
        } else {
          result.inputSpecs_ = inputSpecsBuilder_.build();
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          partiesInvolved_ = java.util.Collections.unmodifiableList(partiesInvolved_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.partiesInvolved_ = partiesInvolved_;
        if (conditionSpecsBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            conditionSpecs_ = java.util.Collections.unmodifiableList(conditionSpecs_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.conditionSpecs_ = conditionSpecs_;
        } else {
          result.conditionSpecs_ = conditionSpecsBuilder_.build();
        }
        if (functionSpecsBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)) {
            functionSpecs_ = java.util.Collections.unmodifiableList(functionSpecs_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.functionSpecs_ = functionSpecs_;
        } else {
          result.functionSpecs_ = functionSpecsBuilder_.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 io.provenance.scope.contract.proto.Specifications.ContractSpec) {
          return mergeFrom((io.provenance.scope.contract.proto.Specifications.ContractSpec)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.provenance.scope.contract.proto.Specifications.ContractSpec other) {
        if (other == io.provenance.scope.contract.proto.Specifications.ContractSpec.getDefaultInstance()) return this;
        if (other.hasDefinition()) {
          mergeDefinition(other.getDefinition());
        }
        if (inputSpecsBuilder_ == null) {
          if (!other.inputSpecs_.isEmpty()) {
            if (inputSpecs_.isEmpty()) {
              inputSpecs_ = other.inputSpecs_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureInputSpecsIsMutable();
              inputSpecs_.addAll(other.inputSpecs_);
            }
            onChanged();
          }
        } else {
          if (!other.inputSpecs_.isEmpty()) {
            if (inputSpecsBuilder_.isEmpty()) {
              inputSpecsBuilder_.dispose();
              inputSpecsBuilder_ = null;
              inputSpecs_ = other.inputSpecs_;
              bitField0_ = (bitField0_ & ~0x00000001);
              inputSpecsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getInputSpecsFieldBuilder() : null;
            } else {
              inputSpecsBuilder_.addAllMessages(other.inputSpecs_);
            }
          }
        }
        if (!other.partiesInvolved_.isEmpty()) {
          if (partiesInvolved_.isEmpty()) {
            partiesInvolved_ = other.partiesInvolved_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensurePartiesInvolvedIsMutable();
            partiesInvolved_.addAll(other.partiesInvolved_);
          }
          onChanged();
        }
        if (conditionSpecsBuilder_ == null) {
          if (!other.conditionSpecs_.isEmpty()) {
            if (conditionSpecs_.isEmpty()) {
              conditionSpecs_ = other.conditionSpecs_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureConditionSpecsIsMutable();
              conditionSpecs_.addAll(other.conditionSpecs_);
            }
            onChanged();
          }
        } else {
          if (!other.conditionSpecs_.isEmpty()) {
            if (conditionSpecsBuilder_.isEmpty()) {
              conditionSpecsBuilder_.dispose();
              conditionSpecsBuilder_ = null;
              conditionSpecs_ = other.conditionSpecs_;
              bitField0_ = (bitField0_ & ~0x00000004);
              conditionSpecsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getConditionSpecsFieldBuilder() : null;
            } else {
              conditionSpecsBuilder_.addAllMessages(other.conditionSpecs_);
            }
          }
        }
        if (functionSpecsBuilder_ == null) {
          if (!other.functionSpecs_.isEmpty()) {
            if (functionSpecs_.isEmpty()) {
              functionSpecs_ = other.functionSpecs_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureFunctionSpecsIsMutable();
              functionSpecs_.addAll(other.functionSpecs_);
            }
            onChanged();
          }
        } else {
          if (!other.functionSpecs_.isEmpty()) {
            if (functionSpecsBuilder_.isEmpty()) {
              functionSpecsBuilder_.dispose();
              functionSpecsBuilder_ = null;
              functionSpecs_ = other.functionSpecs_;
              bitField0_ = (bitField0_ & ~0x00000008);
              functionSpecsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getFunctionSpecsFieldBuilder() : null;
            } else {
              functionSpecsBuilder_.addAllMessages(other.functionSpecs_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        io.provenance.scope.contract.proto.Specifications.ContractSpec parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.provenance.scope.contract.proto.Specifications.ContractSpec) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private io.provenance.scope.contract.proto.Commons.DefinitionSpec definition_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder> definitionBuilder_;
      /**
       * .io.provenance.scope.contract.DefinitionSpec definition = 1;
       * @return Whether the definition field is set.
       */
      public boolean hasDefinition() {
        return definitionBuilder_ != null || definition_ != null;
      }
      /**
       * .io.provenance.scope.contract.DefinitionSpec definition = 1;
       * @return The definition.
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec getDefinition() {
        if (definitionBuilder_ == null) {
          return definition_ == null ? io.provenance.scope.contract.proto.Commons.DefinitionSpec.getDefaultInstance() : definition_;
        } else {
          return definitionBuilder_.getMessage();
        }
      }
      /**
       * .io.provenance.scope.contract.DefinitionSpec definition = 1;
       */
      public Builder setDefinition(io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (definitionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          definition_ = value;
          onChanged();
        } else {
          definitionBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.DefinitionSpec definition = 1;
       */
      public Builder setDefinition(
          io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (definitionBuilder_ == null) {
          definition_ = builderForValue.build();
          onChanged();
        } else {
          definitionBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.DefinitionSpec definition = 1;
       */
      public Builder mergeDefinition(io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (definitionBuilder_ == null) {
          if (definition_ != null) {
            definition_ =
              io.provenance.scope.contract.proto.Commons.DefinitionSpec.newBuilder(definition_).mergeFrom(value).buildPartial();
          } else {
            definition_ = value;
          }
          onChanged();
        } else {
          definitionBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.DefinitionSpec definition = 1;
       */
      public Builder clearDefinition() {
        if (definitionBuilder_ == null) {
          definition_ = null;
          onChanged();
        } else {
          definition_ = null;
          definitionBuilder_ = null;
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.DefinitionSpec definition = 1;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder getDefinitionBuilder() {
        
        onChanged();
        return getDefinitionFieldBuilder().getBuilder();
      }
      /**
       * .io.provenance.scope.contract.DefinitionSpec definition = 1;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getDefinitionOrBuilder() {
        if (definitionBuilder_ != null) {
          return definitionBuilder_.getMessageOrBuilder();
        } else {
          return definition_ == null ?
              io.provenance.scope.contract.proto.Commons.DefinitionSpec.getDefaultInstance() : definition_;
        }
      }
      /**
       * .io.provenance.scope.contract.DefinitionSpec definition = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder> 
          getDefinitionFieldBuilder() {
        if (definitionBuilder_ == null) {
          definitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder>(
                  getDefinition(),
                  getParentForChildren(),
                  isClean());
          definition_ = null;
        }
        return definitionBuilder_;
      }

      private java.util.List inputSpecs_ =
        java.util.Collections.emptyList();
      private void ensureInputSpecsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          inputSpecs_ = new java.util.ArrayList(inputSpecs_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder> inputSpecsBuilder_;

      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public java.util.List getInputSpecsList() {
        if (inputSpecsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(inputSpecs_);
        } else {
          return inputSpecsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public int getInputSpecsCount() {
        if (inputSpecsBuilder_ == null) {
          return inputSpecs_.size();
        } else {
          return inputSpecsBuilder_.getCount();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec getInputSpecs(int index) {
        if (inputSpecsBuilder_ == null) {
          return inputSpecs_.get(index);
        } else {
          return inputSpecsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder setInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (inputSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputSpecsIsMutable();
          inputSpecs_.set(index, value);
          onChanged();
        } else {
          inputSpecsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder setInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.set(index, builderForValue.build());
          onChanged();
        } else {
          inputSpecsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addInputSpecs(io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (inputSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputSpecsIsMutable();
          inputSpecs_.add(value);
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (inputSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputSpecsIsMutable();
          inputSpecs_.add(index, value);
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addInputSpecs(
          io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.add(builderForValue.build());
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.add(index, builderForValue.build());
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addAllInputSpecs(
          java.lang.Iterable values) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, inputSpecs_);
          onChanged();
        } else {
          inputSpecsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder clearInputSpecs() {
        if (inputSpecsBuilder_ == null) {
          inputSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          inputSpecsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder removeInputSpecs(int index) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.remove(index);
          onChanged();
        } else {
          inputSpecsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder getInputSpecsBuilder(
          int index) {
        return getInputSpecsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(
          int index) {
        if (inputSpecsBuilder_ == null) {
          return inputSpecs_.get(index);  } else {
          return inputSpecsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public java.util.List 
           getInputSpecsOrBuilderList() {
        if (inputSpecsBuilder_ != null) {
          return inputSpecsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(inputSpecs_);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder addInputSpecsBuilder() {
        return getInputSpecsFieldBuilder().addBuilder(
            io.provenance.scope.contract.proto.Commons.DefinitionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder addInputSpecsBuilder(
          int index) {
        return getInputSpecsFieldBuilder().addBuilder(
            index, io.provenance.scope.contract.proto.Commons.DefinitionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public java.util.List 
           getInputSpecsBuilderList() {
        return getInputSpecsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder> 
          getInputSpecsFieldBuilder() {
        if (inputSpecsBuilder_ == null) {
          inputSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder>(
                  inputSpecs_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          inputSpecs_ = null;
        }
        return inputSpecsBuilder_;
      }

      private java.util.List partiesInvolved_ =
        java.util.Collections.emptyList();
      private void ensurePartiesInvolvedIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          partiesInvolved_ = new java.util.ArrayList(partiesInvolved_);
          bitField0_ |= 0x00000002;
        }
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @return A list containing the partiesInvolved.
       */
      public java.util.List getPartiesInvolvedList() {
        return new com.google.protobuf.Internal.ListAdapter<
            java.lang.Integer, io.provenance.scope.contract.proto.Specifications.PartyType>(partiesInvolved_, partiesInvolved_converter_);
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @return The count of partiesInvolved.
       */
      public int getPartiesInvolvedCount() {
        return partiesInvolved_.size();
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @param index The index of the element to return.
       * @return The partiesInvolved at the given index.
       */
      public io.provenance.scope.contract.proto.Specifications.PartyType getPartiesInvolved(int index) {
        return partiesInvolved_converter_.convert(partiesInvolved_.get(index));
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @param index The index to set the value at.
       * @param value The partiesInvolved to set.
       * @return This builder for chaining.
       */
      public Builder setPartiesInvolved(
          int index, io.provenance.scope.contract.proto.Specifications.PartyType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensurePartiesInvolvedIsMutable();
        partiesInvolved_.set(index, value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @param value The partiesInvolved to add.
       * @return This builder for chaining.
       */
      public Builder addPartiesInvolved(io.provenance.scope.contract.proto.Specifications.PartyType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensurePartiesInvolvedIsMutable();
        partiesInvolved_.add(value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @param values The partiesInvolved to add.
       * @return This builder for chaining.
       */
      public Builder addAllPartiesInvolved(
          java.lang.Iterable values) {
        ensurePartiesInvolvedIsMutable();
        for (io.provenance.scope.contract.proto.Specifications.PartyType value : values) {
          partiesInvolved_.add(value.getNumber());
        }
        onChanged();
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @return This builder for chaining.
       */
      public Builder clearPartiesInvolved() {
        partiesInvolved_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @return A list containing the enum numeric values on the wire for partiesInvolved.
       */
      public java.util.List
      getPartiesInvolvedValueList() {
        return java.util.Collections.unmodifiableList(partiesInvolved_);
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @param index The index of the value to return.
       * @return The enum numeric value on the wire of partiesInvolved at the given index.
       */
      public int getPartiesInvolvedValue(int index) {
        return partiesInvolved_.get(index);
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @param index The index of the value to return.
       * @return The enum numeric value on the wire of partiesInvolved at the given index.
       * @return This builder for chaining.
       */
      public Builder setPartiesInvolvedValue(
          int index, int value) {
        ensurePartiesInvolvedIsMutable();
        partiesInvolved_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @param value The enum numeric value on the wire for partiesInvolved to add.
       * @return This builder for chaining.
       */
      public Builder addPartiesInvolvedValue(int value) {
        ensurePartiesInvolvedIsMutable();
        partiesInvolved_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.PartyType parties_involved = 3;
       * @param values The enum numeric values on the wire for partiesInvolved to add.
       * @return This builder for chaining.
       */
      public Builder addAllPartiesInvolvedValue(
          java.lang.Iterable values) {
        ensurePartiesInvolvedIsMutable();
        for (int value : values) {
          partiesInvolved_.add(value);
        }
        onChanged();
        return this;
      }

      private java.util.List conditionSpecs_ =
        java.util.Collections.emptyList();
      private void ensureConditionSpecsIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          conditionSpecs_ = new java.util.ArrayList(conditionSpecs_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Specifications.ConditionSpec, io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder, io.provenance.scope.contract.proto.Specifications.ConditionSpecOrBuilder> conditionSpecsBuilder_;

      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public java.util.List getConditionSpecsList() {
        if (conditionSpecsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(conditionSpecs_);
        } else {
          return conditionSpecsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public int getConditionSpecsCount() {
        if (conditionSpecsBuilder_ == null) {
          return conditionSpecs_.size();
        } else {
          return conditionSpecsBuilder_.getCount();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public io.provenance.scope.contract.proto.Specifications.ConditionSpec getConditionSpecs(int index) {
        if (conditionSpecsBuilder_ == null) {
          return conditionSpecs_.get(index);
        } else {
          return conditionSpecsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public Builder setConditionSpecs(
          int index, io.provenance.scope.contract.proto.Specifications.ConditionSpec value) {
        if (conditionSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConditionSpecsIsMutable();
          conditionSpecs_.set(index, value);
          onChanged();
        } else {
          conditionSpecsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public Builder setConditionSpecs(
          int index, io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder builderForValue) {
        if (conditionSpecsBuilder_ == null) {
          ensureConditionSpecsIsMutable();
          conditionSpecs_.set(index, builderForValue.build());
          onChanged();
        } else {
          conditionSpecsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public Builder addConditionSpecs(io.provenance.scope.contract.proto.Specifications.ConditionSpec value) {
        if (conditionSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConditionSpecsIsMutable();
          conditionSpecs_.add(value);
          onChanged();
        } else {
          conditionSpecsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public Builder addConditionSpecs(
          int index, io.provenance.scope.contract.proto.Specifications.ConditionSpec value) {
        if (conditionSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConditionSpecsIsMutable();
          conditionSpecs_.add(index, value);
          onChanged();
        } else {
          conditionSpecsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public Builder addConditionSpecs(
          io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder builderForValue) {
        if (conditionSpecsBuilder_ == null) {
          ensureConditionSpecsIsMutable();
          conditionSpecs_.add(builderForValue.build());
          onChanged();
        } else {
          conditionSpecsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public Builder addConditionSpecs(
          int index, io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder builderForValue) {
        if (conditionSpecsBuilder_ == null) {
          ensureConditionSpecsIsMutable();
          conditionSpecs_.add(index, builderForValue.build());
          onChanged();
        } else {
          conditionSpecsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public Builder addAllConditionSpecs(
          java.lang.Iterable values) {
        if (conditionSpecsBuilder_ == null) {
          ensureConditionSpecsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, conditionSpecs_);
          onChanged();
        } else {
          conditionSpecsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public Builder clearConditionSpecs() {
        if (conditionSpecsBuilder_ == null) {
          conditionSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          conditionSpecsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public Builder removeConditionSpecs(int index) {
        if (conditionSpecsBuilder_ == null) {
          ensureConditionSpecsIsMutable();
          conditionSpecs_.remove(index);
          onChanged();
        } else {
          conditionSpecsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder getConditionSpecsBuilder(
          int index) {
        return getConditionSpecsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public io.provenance.scope.contract.proto.Specifications.ConditionSpecOrBuilder getConditionSpecsOrBuilder(
          int index) {
        if (conditionSpecsBuilder_ == null) {
          return conditionSpecs_.get(index);  } else {
          return conditionSpecsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public java.util.List 
           getConditionSpecsOrBuilderList() {
        if (conditionSpecsBuilder_ != null) {
          return conditionSpecsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(conditionSpecs_);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder addConditionSpecsBuilder() {
        return getConditionSpecsFieldBuilder().addBuilder(
            io.provenance.scope.contract.proto.Specifications.ConditionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder addConditionSpecsBuilder(
          int index) {
        return getConditionSpecsFieldBuilder().addBuilder(
            index, io.provenance.scope.contract.proto.Specifications.ConditionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;
       */
      public java.util.List 
           getConditionSpecsBuilderList() {
        return getConditionSpecsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Specifications.ConditionSpec, io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder, io.provenance.scope.contract.proto.Specifications.ConditionSpecOrBuilder> 
          getConditionSpecsFieldBuilder() {
        if (conditionSpecsBuilder_ == null) {
          conditionSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.provenance.scope.contract.proto.Specifications.ConditionSpec, io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder, io.provenance.scope.contract.proto.Specifications.ConditionSpecOrBuilder>(
                  conditionSpecs_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          conditionSpecs_ = null;
        }
        return conditionSpecsBuilder_;
      }

      private java.util.List functionSpecs_ =
        java.util.Collections.emptyList();
      private void ensureFunctionSpecsIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          functionSpecs_ = new java.util.ArrayList(functionSpecs_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Specifications.FunctionSpec, io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder, io.provenance.scope.contract.proto.Specifications.FunctionSpecOrBuilder> functionSpecsBuilder_;

      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public java.util.List getFunctionSpecsList() {
        if (functionSpecsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(functionSpecs_);
        } else {
          return functionSpecsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public int getFunctionSpecsCount() {
        if (functionSpecsBuilder_ == null) {
          return functionSpecs_.size();
        } else {
          return functionSpecsBuilder_.getCount();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public io.provenance.scope.contract.proto.Specifications.FunctionSpec getFunctionSpecs(int index) {
        if (functionSpecsBuilder_ == null) {
          return functionSpecs_.get(index);
        } else {
          return functionSpecsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public Builder setFunctionSpecs(
          int index, io.provenance.scope.contract.proto.Specifications.FunctionSpec value) {
        if (functionSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFunctionSpecsIsMutable();
          functionSpecs_.set(index, value);
          onChanged();
        } else {
          functionSpecsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public Builder setFunctionSpecs(
          int index, io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder builderForValue) {
        if (functionSpecsBuilder_ == null) {
          ensureFunctionSpecsIsMutable();
          functionSpecs_.set(index, builderForValue.build());
          onChanged();
        } else {
          functionSpecsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public Builder addFunctionSpecs(io.provenance.scope.contract.proto.Specifications.FunctionSpec value) {
        if (functionSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFunctionSpecsIsMutable();
          functionSpecs_.add(value);
          onChanged();
        } else {
          functionSpecsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public Builder addFunctionSpecs(
          int index, io.provenance.scope.contract.proto.Specifications.FunctionSpec value) {
        if (functionSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFunctionSpecsIsMutable();
          functionSpecs_.add(index, value);
          onChanged();
        } else {
          functionSpecsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public Builder addFunctionSpecs(
          io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder builderForValue) {
        if (functionSpecsBuilder_ == null) {
          ensureFunctionSpecsIsMutable();
          functionSpecs_.add(builderForValue.build());
          onChanged();
        } else {
          functionSpecsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public Builder addFunctionSpecs(
          int index, io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder builderForValue) {
        if (functionSpecsBuilder_ == null) {
          ensureFunctionSpecsIsMutable();
          functionSpecs_.add(index, builderForValue.build());
          onChanged();
        } else {
          functionSpecsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public Builder addAllFunctionSpecs(
          java.lang.Iterable values) {
        if (functionSpecsBuilder_ == null) {
          ensureFunctionSpecsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, functionSpecs_);
          onChanged();
        } else {
          functionSpecsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public Builder clearFunctionSpecs() {
        if (functionSpecsBuilder_ == null) {
          functionSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          functionSpecsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public Builder removeFunctionSpecs(int index) {
        if (functionSpecsBuilder_ == null) {
          ensureFunctionSpecsIsMutable();
          functionSpecs_.remove(index);
          onChanged();
        } else {
          functionSpecsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder getFunctionSpecsBuilder(
          int index) {
        return getFunctionSpecsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public io.provenance.scope.contract.proto.Specifications.FunctionSpecOrBuilder getFunctionSpecsOrBuilder(
          int index) {
        if (functionSpecsBuilder_ == null) {
          return functionSpecs_.get(index);  } else {
          return functionSpecsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public java.util.List 
           getFunctionSpecsOrBuilderList() {
        if (functionSpecsBuilder_ != null) {
          return functionSpecsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(functionSpecs_);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder addFunctionSpecsBuilder() {
        return getFunctionSpecsFieldBuilder().addBuilder(
            io.provenance.scope.contract.proto.Specifications.FunctionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder addFunctionSpecsBuilder(
          int index) {
        return getFunctionSpecsFieldBuilder().addBuilder(
            index, io.provenance.scope.contract.proto.Specifications.FunctionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;
       */
      public java.util.List 
           getFunctionSpecsBuilderList() {
        return getFunctionSpecsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Specifications.FunctionSpec, io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder, io.provenance.scope.contract.proto.Specifications.FunctionSpecOrBuilder> 
          getFunctionSpecsFieldBuilder() {
        if (functionSpecsBuilder_ == null) {
          functionSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.provenance.scope.contract.proto.Specifications.FunctionSpec, io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder, io.provenance.scope.contract.proto.Specifications.FunctionSpecOrBuilder>(
                  functionSpecs_,
                  ((bitField0_ & 0x00000008) != 0),
                  getParentForChildren(),
                  isClean());
          functionSpecs_ = null;
        }
        return functionSpecsBuilder_;
      }
      @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:io.provenance.scope.contract.ContractSpec)
    }

    // @@protoc_insertion_point(class_scope:io.provenance.scope.contract.ContractSpec)
    private static final io.provenance.scope.contract.proto.Specifications.ContractSpec DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.provenance.scope.contract.proto.Specifications.ContractSpec();
    }

    public static io.provenance.scope.contract.proto.Specifications.ContractSpec getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ContractSpec parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ContractSpec(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public io.provenance.scope.contract.proto.Specifications.ContractSpec getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ConditionSpecOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.provenance.scope.contract.ConditionSpec)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string func_name = 1;
     * @return The funcName.
     */
    java.lang.String getFuncName();
    /**
     * string func_name = 1;
     * @return The bytes for funcName.
     */
    com.google.protobuf.ByteString
        getFuncNameBytes();

    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    java.util.List 
        getInputSpecsList();
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    io.provenance.scope.contract.proto.Commons.DefinitionSpec getInputSpecs(int index);
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    int getInputSpecsCount();
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    java.util.List 
        getInputSpecsOrBuilderList();
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(
        int index);

    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 3;
     * @return Whether the outputSpec field is set.
     */
    boolean hasOutputSpec();
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 3;
     * @return The outputSpec.
     */
    io.provenance.scope.contract.proto.Commons.OutputSpec getOutputSpec();
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 3;
     */
    io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder getOutputSpecOrBuilder();
  }
  /**
   * Protobuf type {@code io.provenance.scope.contract.ConditionSpec}
   */
  public static final class ConditionSpec extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:io.provenance.scope.contract.ConditionSpec)
      ConditionSpecOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ConditionSpec.newBuilder() to construct.
    private ConditionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ConditionSpec() {
      funcName_ = "";
      inputSpecs_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ConditionSpec();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ConditionSpec(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              funcName_ = s;
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                inputSpecs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              inputSpecs_.add(
                  input.readMessage(io.provenance.scope.contract.proto.Commons.DefinitionSpec.parser(), extensionRegistry));
              break;
            }
            case 26: {
              io.provenance.scope.contract.proto.Commons.OutputSpec.Builder subBuilder = null;
              if (outputSpec_ != null) {
                subBuilder = outputSpec_.toBuilder();
              }
              outputSpec_ = input.readMessage(io.provenance.scope.contract.proto.Commons.OutputSpec.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(outputSpec_);
                outputSpec_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          inputSpecs_ = java.util.Collections.unmodifiableList(inputSpecs_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ConditionSpec_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ConditionSpec_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.provenance.scope.contract.proto.Specifications.ConditionSpec.class, io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder.class);
    }

    public static final int FUNC_NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object funcName_;
    /**
     * string func_name = 1;
     * @return The funcName.
     */
    @java.lang.Override
    public java.lang.String getFuncName() {
      java.lang.Object ref = funcName_;
      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();
        funcName_ = s;
        return s;
      }
    }
    /**
     * string func_name = 1;
     * @return The bytes for funcName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getFuncNameBytes() {
      java.lang.Object ref = funcName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        funcName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int INPUT_SPECS_FIELD_NUMBER = 2;
    private java.util.List inputSpecs_;
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public java.util.List getInputSpecsList() {
      return inputSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public java.util.List 
        getInputSpecsOrBuilderList() {
      return inputSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public int getInputSpecsCount() {
      return inputSpecs_.size();
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.DefinitionSpec getInputSpecs(int index) {
      return inputSpecs_.get(index);
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(
        int index) {
      return inputSpecs_.get(index);
    }

    public static final int OUTPUT_SPEC_FIELD_NUMBER = 3;
    private io.provenance.scope.contract.proto.Commons.OutputSpec outputSpec_;
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 3;
     * @return Whether the outputSpec field is set.
     */
    @java.lang.Override
    public boolean hasOutputSpec() {
      return outputSpec_ != null;
    }
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 3;
     * @return The outputSpec.
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.OutputSpec getOutputSpec() {
      return outputSpec_ == null ? io.provenance.scope.contract.proto.Commons.OutputSpec.getDefaultInstance() : outputSpec_;
    }
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 3;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder getOutputSpecOrBuilder() {
      return getOutputSpec();
    }

    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 (!getFuncNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, funcName_);
      }
      for (int i = 0; i < inputSpecs_.size(); i++) {
        output.writeMessage(2, inputSpecs_.get(i));
      }
      if (outputSpec_ != null) {
        output.writeMessage(3, getOutputSpec());
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getFuncNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, funcName_);
      }
      for (int i = 0; i < inputSpecs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, inputSpecs_.get(i));
      }
      if (outputSpec_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getOutputSpec());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.provenance.scope.contract.proto.Specifications.ConditionSpec)) {
        return super.equals(obj);
      }
      io.provenance.scope.contract.proto.Specifications.ConditionSpec other = (io.provenance.scope.contract.proto.Specifications.ConditionSpec) obj;

      if (!getFuncName()
          .equals(other.getFuncName())) return false;
      if (!getInputSpecsList()
          .equals(other.getInputSpecsList())) return false;
      if (hasOutputSpec() != other.hasOutputSpec()) return false;
      if (hasOutputSpec()) {
        if (!getOutputSpec()
            .equals(other.getOutputSpec())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) 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) + FUNC_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getFuncName().hashCode();
      if (getInputSpecsCount() > 0) {
        hash = (37 * hash) + INPUT_SPECS_FIELD_NUMBER;
        hash = (53 * hash) + getInputSpecsList().hashCode();
      }
      if (hasOutputSpec()) {
        hash = (37 * hash) + OUTPUT_SPEC_FIELD_NUMBER;
        hash = (53 * hash) + getOutputSpec().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec 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 io.provenance.scope.contract.proto.Specifications.ConditionSpec parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec 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 io.provenance.scope.contract.proto.Specifications.ConditionSpec parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec 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(io.provenance.scope.contract.proto.Specifications.ConditionSpec 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 io.provenance.scope.contract.ConditionSpec}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:io.provenance.scope.contract.ConditionSpec)
        io.provenance.scope.contract.proto.Specifications.ConditionSpecOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ConditionSpec_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ConditionSpec_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.provenance.scope.contract.proto.Specifications.ConditionSpec.class, io.provenance.scope.contract.proto.Specifications.ConditionSpec.Builder.class);
      }

      // Construct using io.provenance.scope.contract.proto.Specifications.ConditionSpec.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getInputSpecsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        funcName_ = "";

        if (inputSpecsBuilder_ == null) {
          inputSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          inputSpecsBuilder_.clear();
        }
        if (outputSpecBuilder_ == null) {
          outputSpec_ = null;
        } else {
          outputSpec_ = null;
          outputSpecBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_ConditionSpec_descriptor;
      }

      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.ConditionSpec getDefaultInstanceForType() {
        return io.provenance.scope.contract.proto.Specifications.ConditionSpec.getDefaultInstance();
      }

      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.ConditionSpec build() {
        io.provenance.scope.contract.proto.Specifications.ConditionSpec result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.ConditionSpec buildPartial() {
        io.provenance.scope.contract.proto.Specifications.ConditionSpec result = new io.provenance.scope.contract.proto.Specifications.ConditionSpec(this);
        int from_bitField0_ = bitField0_;
        result.funcName_ = funcName_;
        if (inputSpecsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            inputSpecs_ = java.util.Collections.unmodifiableList(inputSpecs_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.inputSpecs_ = inputSpecs_;
        } else {
          result.inputSpecs_ = inputSpecsBuilder_.build();
        }
        if (outputSpecBuilder_ == null) {
          result.outputSpec_ = outputSpec_;
        } else {
          result.outputSpec_ = outputSpecBuilder_.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 io.provenance.scope.contract.proto.Specifications.ConditionSpec) {
          return mergeFrom((io.provenance.scope.contract.proto.Specifications.ConditionSpec)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.provenance.scope.contract.proto.Specifications.ConditionSpec other) {
        if (other == io.provenance.scope.contract.proto.Specifications.ConditionSpec.getDefaultInstance()) return this;
        if (!other.getFuncName().isEmpty()) {
          funcName_ = other.funcName_;
          onChanged();
        }
        if (inputSpecsBuilder_ == null) {
          if (!other.inputSpecs_.isEmpty()) {
            if (inputSpecs_.isEmpty()) {
              inputSpecs_ = other.inputSpecs_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureInputSpecsIsMutable();
              inputSpecs_.addAll(other.inputSpecs_);
            }
            onChanged();
          }
        } else {
          if (!other.inputSpecs_.isEmpty()) {
            if (inputSpecsBuilder_.isEmpty()) {
              inputSpecsBuilder_.dispose();
              inputSpecsBuilder_ = null;
              inputSpecs_ = other.inputSpecs_;
              bitField0_ = (bitField0_ & ~0x00000001);
              inputSpecsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getInputSpecsFieldBuilder() : null;
            } else {
              inputSpecsBuilder_.addAllMessages(other.inputSpecs_);
            }
          }
        }
        if (other.hasOutputSpec()) {
          mergeOutputSpec(other.getOutputSpec());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        io.provenance.scope.contract.proto.Specifications.ConditionSpec parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.provenance.scope.contract.proto.Specifications.ConditionSpec) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object funcName_ = "";
      /**
       * string func_name = 1;
       * @return The funcName.
       */
      public java.lang.String getFuncName() {
        java.lang.Object ref = funcName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          funcName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string func_name = 1;
       * @return The bytes for funcName.
       */
      public com.google.protobuf.ByteString
          getFuncNameBytes() {
        java.lang.Object ref = funcName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          funcName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string func_name = 1;
       * @param value The funcName to set.
       * @return This builder for chaining.
       */
      public Builder setFuncName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        funcName_ = value;
        onChanged();
        return this;
      }
      /**
       * string func_name = 1;
       * @return This builder for chaining.
       */
      public Builder clearFuncName() {
        
        funcName_ = getDefaultInstance().getFuncName();
        onChanged();
        return this;
      }
      /**
       * string func_name = 1;
       * @param value The bytes for funcName to set.
       * @return This builder for chaining.
       */
      public Builder setFuncNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        funcName_ = value;
        onChanged();
        return this;
      }

      private java.util.List inputSpecs_ =
        java.util.Collections.emptyList();
      private void ensureInputSpecsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          inputSpecs_ = new java.util.ArrayList(inputSpecs_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder> inputSpecsBuilder_;

      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public java.util.List getInputSpecsList() {
        if (inputSpecsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(inputSpecs_);
        } else {
          return inputSpecsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public int getInputSpecsCount() {
        if (inputSpecsBuilder_ == null) {
          return inputSpecs_.size();
        } else {
          return inputSpecsBuilder_.getCount();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec getInputSpecs(int index) {
        if (inputSpecsBuilder_ == null) {
          return inputSpecs_.get(index);
        } else {
          return inputSpecsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder setInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (inputSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputSpecsIsMutable();
          inputSpecs_.set(index, value);
          onChanged();
        } else {
          inputSpecsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder setInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.set(index, builderForValue.build());
          onChanged();
        } else {
          inputSpecsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addInputSpecs(io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (inputSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputSpecsIsMutable();
          inputSpecs_.add(value);
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (inputSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputSpecsIsMutable();
          inputSpecs_.add(index, value);
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addInputSpecs(
          io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.add(builderForValue.build());
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.add(index, builderForValue.build());
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder addAllInputSpecs(
          java.lang.Iterable values) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, inputSpecs_);
          onChanged();
        } else {
          inputSpecsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder clearInputSpecs() {
        if (inputSpecsBuilder_ == null) {
          inputSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          inputSpecsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public Builder removeInputSpecs(int index) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.remove(index);
          onChanged();
        } else {
          inputSpecsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder getInputSpecsBuilder(
          int index) {
        return getInputSpecsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(
          int index) {
        if (inputSpecsBuilder_ == null) {
          return inputSpecs_.get(index);  } else {
          return inputSpecsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public java.util.List 
           getInputSpecsOrBuilderList() {
        if (inputSpecsBuilder_ != null) {
          return inputSpecsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(inputSpecs_);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder addInputSpecsBuilder() {
        return getInputSpecsFieldBuilder().addBuilder(
            io.provenance.scope.contract.proto.Commons.DefinitionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder addInputSpecsBuilder(
          int index) {
        return getInputSpecsFieldBuilder().addBuilder(
            index, io.provenance.scope.contract.proto.Commons.DefinitionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;
       */
      public java.util.List 
           getInputSpecsBuilderList() {
        return getInputSpecsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder> 
          getInputSpecsFieldBuilder() {
        if (inputSpecsBuilder_ == null) {
          inputSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder>(
                  inputSpecs_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          inputSpecs_ = null;
        }
        return inputSpecsBuilder_;
      }

      private io.provenance.scope.contract.proto.Commons.OutputSpec outputSpec_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.OutputSpec, io.provenance.scope.contract.proto.Commons.OutputSpec.Builder, io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder> outputSpecBuilder_;
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 3;
       * @return Whether the outputSpec field is set.
       */
      public boolean hasOutputSpec() {
        return outputSpecBuilder_ != null || outputSpec_ != null;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 3;
       * @return The outputSpec.
       */
      public io.provenance.scope.contract.proto.Commons.OutputSpec getOutputSpec() {
        if (outputSpecBuilder_ == null) {
          return outputSpec_ == null ? io.provenance.scope.contract.proto.Commons.OutputSpec.getDefaultInstance() : outputSpec_;
        } else {
          return outputSpecBuilder_.getMessage();
        }
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 3;
       */
      public Builder setOutputSpec(io.provenance.scope.contract.proto.Commons.OutputSpec value) {
        if (outputSpecBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          outputSpec_ = value;
          onChanged();
        } else {
          outputSpecBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 3;
       */
      public Builder setOutputSpec(
          io.provenance.scope.contract.proto.Commons.OutputSpec.Builder builderForValue) {
        if (outputSpecBuilder_ == null) {
          outputSpec_ = builderForValue.build();
          onChanged();
        } else {
          outputSpecBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 3;
       */
      public Builder mergeOutputSpec(io.provenance.scope.contract.proto.Commons.OutputSpec value) {
        if (outputSpecBuilder_ == null) {
          if (outputSpec_ != null) {
            outputSpec_ =
              io.provenance.scope.contract.proto.Commons.OutputSpec.newBuilder(outputSpec_).mergeFrom(value).buildPartial();
          } else {
            outputSpec_ = value;
          }
          onChanged();
        } else {
          outputSpecBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 3;
       */
      public Builder clearOutputSpec() {
        if (outputSpecBuilder_ == null) {
          outputSpec_ = null;
          onChanged();
        } else {
          outputSpec_ = null;
          outputSpecBuilder_ = null;
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 3;
       */
      public io.provenance.scope.contract.proto.Commons.OutputSpec.Builder getOutputSpecBuilder() {
        
        onChanged();
        return getOutputSpecFieldBuilder().getBuilder();
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 3;
       */
      public io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder getOutputSpecOrBuilder() {
        if (outputSpecBuilder_ != null) {
          return outputSpecBuilder_.getMessageOrBuilder();
        } else {
          return outputSpec_ == null ?
              io.provenance.scope.contract.proto.Commons.OutputSpec.getDefaultInstance() : outputSpec_;
        }
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.OutputSpec, io.provenance.scope.contract.proto.Commons.OutputSpec.Builder, io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder> 
          getOutputSpecFieldBuilder() {
        if (outputSpecBuilder_ == null) {
          outputSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.provenance.scope.contract.proto.Commons.OutputSpec, io.provenance.scope.contract.proto.Commons.OutputSpec.Builder, io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder>(
                  getOutputSpec(),
                  getParentForChildren(),
                  isClean());
          outputSpec_ = null;
        }
        return outputSpecBuilder_;
      }
      @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:io.provenance.scope.contract.ConditionSpec)
    }

    // @@protoc_insertion_point(class_scope:io.provenance.scope.contract.ConditionSpec)
    private static final io.provenance.scope.contract.proto.Specifications.ConditionSpec DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.provenance.scope.contract.proto.Specifications.ConditionSpec();
    }

    public static io.provenance.scope.contract.proto.Specifications.ConditionSpec getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ConditionSpec parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ConditionSpec(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public io.provenance.scope.contract.proto.Specifications.ConditionSpec getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface FunctionSpecOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.provenance.scope.contract.FunctionSpec)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string func_name = 1;
     * @return The funcName.
     */
    java.lang.String getFuncName();
    /**
     * string func_name = 1;
     * @return The bytes for funcName.
     */
    com.google.protobuf.ByteString
        getFuncNameBytes();

    /**
     * .io.provenance.scope.contract.PartyType invoker_party = 5;
     * @return The enum numeric value on the wire for invokerParty.
     */
    int getInvokerPartyValue();
    /**
     * .io.provenance.scope.contract.PartyType invoker_party = 5;
     * @return The invokerParty.
     */
    io.provenance.scope.contract.proto.Specifications.PartyType getInvokerParty();

    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    java.util.List 
        getInputSpecsList();
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    io.provenance.scope.contract.proto.Commons.DefinitionSpec getInputSpecs(int index);
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    int getInputSpecsCount();
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    java.util.List 
        getInputSpecsOrBuilderList();
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(
        int index);

    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 4;
     * @return Whether the outputSpec field is set.
     */
    boolean hasOutputSpec();
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 4;
     * @return The outputSpec.
     */
    io.provenance.scope.contract.proto.Commons.OutputSpec getOutputSpec();
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 4;
     */
    io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder getOutputSpecOrBuilder();
  }
  /**
   * Protobuf type {@code io.provenance.scope.contract.FunctionSpec}
   */
  public static final class FunctionSpec extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:io.provenance.scope.contract.FunctionSpec)
      FunctionSpecOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use FunctionSpec.newBuilder() to construct.
    private FunctionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private FunctionSpec() {
      funcName_ = "";
      invokerParty_ = 0;
      inputSpecs_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new FunctionSpec();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private FunctionSpec(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              funcName_ = s;
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                inputSpecs_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              inputSpecs_.add(
                  input.readMessage(io.provenance.scope.contract.proto.Commons.DefinitionSpec.parser(), extensionRegistry));
              break;
            }
            case 34: {
              io.provenance.scope.contract.proto.Commons.OutputSpec.Builder subBuilder = null;
              if (outputSpec_ != null) {
                subBuilder = outputSpec_.toBuilder();
              }
              outputSpec_ = input.readMessage(io.provenance.scope.contract.proto.Commons.OutputSpec.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(outputSpec_);
                outputSpec_ = subBuilder.buildPartial();
              }

              break;
            }
            case 40: {
              int rawValue = input.readEnum();

              invokerParty_ = rawValue;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          inputSpecs_ = java.util.Collections.unmodifiableList(inputSpecs_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_FunctionSpec_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_FunctionSpec_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.provenance.scope.contract.proto.Specifications.FunctionSpec.class, io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder.class);
    }

    public static final int FUNC_NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object funcName_;
    /**
     * string func_name = 1;
     * @return The funcName.
     */
    @java.lang.Override
    public java.lang.String getFuncName() {
      java.lang.Object ref = funcName_;
      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();
        funcName_ = s;
        return s;
      }
    }
    /**
     * string func_name = 1;
     * @return The bytes for funcName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getFuncNameBytes() {
      java.lang.Object ref = funcName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        funcName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int INVOKER_PARTY_FIELD_NUMBER = 5;
    private int invokerParty_;
    /**
     * .io.provenance.scope.contract.PartyType invoker_party = 5;
     * @return The enum numeric value on the wire for invokerParty.
     */
    @java.lang.Override public int getInvokerPartyValue() {
      return invokerParty_;
    }
    /**
     * .io.provenance.scope.contract.PartyType invoker_party = 5;
     * @return The invokerParty.
     */
    @java.lang.Override public io.provenance.scope.contract.proto.Specifications.PartyType getInvokerParty() {
      @SuppressWarnings("deprecation")
      io.provenance.scope.contract.proto.Specifications.PartyType result = io.provenance.scope.contract.proto.Specifications.PartyType.valueOf(invokerParty_);
      return result == null ? io.provenance.scope.contract.proto.Specifications.PartyType.UNRECOGNIZED : result;
    }

    public static final int INPUT_SPECS_FIELD_NUMBER = 3;
    private java.util.List inputSpecs_;
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    @java.lang.Override
    public java.util.List getInputSpecsList() {
      return inputSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    @java.lang.Override
    public java.util.List 
        getInputSpecsOrBuilderList() {
      return inputSpecs_;
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    @java.lang.Override
    public int getInputSpecsCount() {
      return inputSpecs_.size();
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.DefinitionSpec getInputSpecs(int index) {
      return inputSpecs_.get(index);
    }
    /**
     * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(
        int index) {
      return inputSpecs_.get(index);
    }

    public static final int OUTPUT_SPEC_FIELD_NUMBER = 4;
    private io.provenance.scope.contract.proto.Commons.OutputSpec outputSpec_;
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 4;
     * @return Whether the outputSpec field is set.
     */
    @java.lang.Override
    public boolean hasOutputSpec() {
      return outputSpec_ != null;
    }
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 4;
     * @return The outputSpec.
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.OutputSpec getOutputSpec() {
      return outputSpec_ == null ? io.provenance.scope.contract.proto.Commons.OutputSpec.getDefaultInstance() : outputSpec_;
    }
    /**
     * .io.provenance.scope.contract.OutputSpec output_spec = 4;
     */
    @java.lang.Override
    public io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder getOutputSpecOrBuilder() {
      return getOutputSpec();
    }

    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 (!getFuncNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, funcName_);
      }
      for (int i = 0; i < inputSpecs_.size(); i++) {
        output.writeMessage(3, inputSpecs_.get(i));
      }
      if (outputSpec_ != null) {
        output.writeMessage(4, getOutputSpec());
      }
      if (invokerParty_ != io.provenance.scope.contract.proto.Specifications.PartyType.NONE.getNumber()) {
        output.writeEnum(5, invokerParty_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getFuncNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, funcName_);
      }
      for (int i = 0; i < inputSpecs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, inputSpecs_.get(i));
      }
      if (outputSpec_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getOutputSpec());
      }
      if (invokerParty_ != io.provenance.scope.contract.proto.Specifications.PartyType.NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(5, invokerParty_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.provenance.scope.contract.proto.Specifications.FunctionSpec)) {
        return super.equals(obj);
      }
      io.provenance.scope.contract.proto.Specifications.FunctionSpec other = (io.provenance.scope.contract.proto.Specifications.FunctionSpec) obj;

      if (!getFuncName()
          .equals(other.getFuncName())) return false;
      if (invokerParty_ != other.invokerParty_) return false;
      if (!getInputSpecsList()
          .equals(other.getInputSpecsList())) return false;
      if (hasOutputSpec() != other.hasOutputSpec()) return false;
      if (hasOutputSpec()) {
        if (!getOutputSpec()
            .equals(other.getOutputSpec())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) 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) + FUNC_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getFuncName().hashCode();
      hash = (37 * hash) + INVOKER_PARTY_FIELD_NUMBER;
      hash = (53 * hash) + invokerParty_;
      if (getInputSpecsCount() > 0) {
        hash = (37 * hash) + INPUT_SPECS_FIELD_NUMBER;
        hash = (53 * hash) + getInputSpecsList().hashCode();
      }
      if (hasOutputSpec()) {
        hash = (37 * hash) + OUTPUT_SPEC_FIELD_NUMBER;
        hash = (53 * hash) + getOutputSpec().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec 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 io.provenance.scope.contract.proto.Specifications.FunctionSpec parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec 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 io.provenance.scope.contract.proto.Specifications.FunctionSpec parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec 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(io.provenance.scope.contract.proto.Specifications.FunctionSpec 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 io.provenance.scope.contract.FunctionSpec}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:io.provenance.scope.contract.FunctionSpec)
        io.provenance.scope.contract.proto.Specifications.FunctionSpecOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_FunctionSpec_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_FunctionSpec_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.provenance.scope.contract.proto.Specifications.FunctionSpec.class, io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder.class);
      }

      // Construct using io.provenance.scope.contract.proto.Specifications.FunctionSpec.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getInputSpecsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        funcName_ = "";

        invokerParty_ = 0;

        if (inputSpecsBuilder_ == null) {
          inputSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          inputSpecsBuilder_.clear();
        }
        if (outputSpecBuilder_ == null) {
          outputSpec_ = null;
        } else {
          outputSpec_ = null;
          outputSpecBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.provenance.scope.contract.proto.Specifications.internal_static_io_provenance_scope_contract_FunctionSpec_descriptor;
      }

      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.FunctionSpec getDefaultInstanceForType() {
        return io.provenance.scope.contract.proto.Specifications.FunctionSpec.getDefaultInstance();
      }

      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.FunctionSpec build() {
        io.provenance.scope.contract.proto.Specifications.FunctionSpec result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.FunctionSpec buildPartial() {
        io.provenance.scope.contract.proto.Specifications.FunctionSpec result = new io.provenance.scope.contract.proto.Specifications.FunctionSpec(this);
        int from_bitField0_ = bitField0_;
        result.funcName_ = funcName_;
        result.invokerParty_ = invokerParty_;
        if (inputSpecsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            inputSpecs_ = java.util.Collections.unmodifiableList(inputSpecs_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.inputSpecs_ = inputSpecs_;
        } else {
          result.inputSpecs_ = inputSpecsBuilder_.build();
        }
        if (outputSpecBuilder_ == null) {
          result.outputSpec_ = outputSpec_;
        } else {
          result.outputSpec_ = outputSpecBuilder_.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 io.provenance.scope.contract.proto.Specifications.FunctionSpec) {
          return mergeFrom((io.provenance.scope.contract.proto.Specifications.FunctionSpec)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.provenance.scope.contract.proto.Specifications.FunctionSpec other) {
        if (other == io.provenance.scope.contract.proto.Specifications.FunctionSpec.getDefaultInstance()) return this;
        if (!other.getFuncName().isEmpty()) {
          funcName_ = other.funcName_;
          onChanged();
        }
        if (other.invokerParty_ != 0) {
          setInvokerPartyValue(other.getInvokerPartyValue());
        }
        if (inputSpecsBuilder_ == null) {
          if (!other.inputSpecs_.isEmpty()) {
            if (inputSpecs_.isEmpty()) {
              inputSpecs_ = other.inputSpecs_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureInputSpecsIsMutable();
              inputSpecs_.addAll(other.inputSpecs_);
            }
            onChanged();
          }
        } else {
          if (!other.inputSpecs_.isEmpty()) {
            if (inputSpecsBuilder_.isEmpty()) {
              inputSpecsBuilder_.dispose();
              inputSpecsBuilder_ = null;
              inputSpecs_ = other.inputSpecs_;
              bitField0_ = (bitField0_ & ~0x00000001);
              inputSpecsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getInputSpecsFieldBuilder() : null;
            } else {
              inputSpecsBuilder_.addAllMessages(other.inputSpecs_);
            }
          }
        }
        if (other.hasOutputSpec()) {
          mergeOutputSpec(other.getOutputSpec());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        io.provenance.scope.contract.proto.Specifications.FunctionSpec parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.provenance.scope.contract.proto.Specifications.FunctionSpec) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object funcName_ = "";
      /**
       * string func_name = 1;
       * @return The funcName.
       */
      public java.lang.String getFuncName() {
        java.lang.Object ref = funcName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          funcName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string func_name = 1;
       * @return The bytes for funcName.
       */
      public com.google.protobuf.ByteString
          getFuncNameBytes() {
        java.lang.Object ref = funcName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          funcName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string func_name = 1;
       * @param value The funcName to set.
       * @return This builder for chaining.
       */
      public Builder setFuncName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        funcName_ = value;
        onChanged();
        return this;
      }
      /**
       * string func_name = 1;
       * @return This builder for chaining.
       */
      public Builder clearFuncName() {
        
        funcName_ = getDefaultInstance().getFuncName();
        onChanged();
        return this;
      }
      /**
       * string func_name = 1;
       * @param value The bytes for funcName to set.
       * @return This builder for chaining.
       */
      public Builder setFuncNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        funcName_ = value;
        onChanged();
        return this;
      }

      private int invokerParty_ = 0;
      /**
       * .io.provenance.scope.contract.PartyType invoker_party = 5;
       * @return The enum numeric value on the wire for invokerParty.
       */
      @java.lang.Override public int getInvokerPartyValue() {
        return invokerParty_;
      }
      /**
       * .io.provenance.scope.contract.PartyType invoker_party = 5;
       * @param value The enum numeric value on the wire for invokerParty to set.
       * @return This builder for chaining.
       */
      public Builder setInvokerPartyValue(int value) {
        
        invokerParty_ = value;
        onChanged();
        return this;
      }
      /**
       * .io.provenance.scope.contract.PartyType invoker_party = 5;
       * @return The invokerParty.
       */
      @java.lang.Override
      public io.provenance.scope.contract.proto.Specifications.PartyType getInvokerParty() {
        @SuppressWarnings("deprecation")
        io.provenance.scope.contract.proto.Specifications.PartyType result = io.provenance.scope.contract.proto.Specifications.PartyType.valueOf(invokerParty_);
        return result == null ? io.provenance.scope.contract.proto.Specifications.PartyType.UNRECOGNIZED : result;
      }
      /**
       * .io.provenance.scope.contract.PartyType invoker_party = 5;
       * @param value The invokerParty to set.
       * @return This builder for chaining.
       */
      public Builder setInvokerParty(io.provenance.scope.contract.proto.Specifications.PartyType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        invokerParty_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .io.provenance.scope.contract.PartyType invoker_party = 5;
       * @return This builder for chaining.
       */
      public Builder clearInvokerParty() {
        
        invokerParty_ = 0;
        onChanged();
        return this;
      }

      private java.util.List inputSpecs_ =
        java.util.Collections.emptyList();
      private void ensureInputSpecsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          inputSpecs_ = new java.util.ArrayList(inputSpecs_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder> inputSpecsBuilder_;

      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public java.util.List getInputSpecsList() {
        if (inputSpecsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(inputSpecs_);
        } else {
          return inputSpecsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public int getInputSpecsCount() {
        if (inputSpecsBuilder_ == null) {
          return inputSpecs_.size();
        } else {
          return inputSpecsBuilder_.getCount();
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec getInputSpecs(int index) {
        if (inputSpecsBuilder_ == null) {
          return inputSpecs_.get(index);
        } else {
          return inputSpecsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public Builder setInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (inputSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputSpecsIsMutable();
          inputSpecs_.set(index, value);
          onChanged();
        } else {
          inputSpecsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public Builder setInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.set(index, builderForValue.build());
          onChanged();
        } else {
          inputSpecsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public Builder addInputSpecs(io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (inputSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputSpecsIsMutable();
          inputSpecs_.add(value);
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public Builder addInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec value) {
        if (inputSpecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputSpecsIsMutable();
          inputSpecs_.add(index, value);
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public Builder addInputSpecs(
          io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.add(builderForValue.build());
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public Builder addInputSpecs(
          int index, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder builderForValue) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.add(index, builderForValue.build());
          onChanged();
        } else {
          inputSpecsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public Builder addAllInputSpecs(
          java.lang.Iterable values) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, inputSpecs_);
          onChanged();
        } else {
          inputSpecsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public Builder clearInputSpecs() {
        if (inputSpecsBuilder_ == null) {
          inputSpecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          inputSpecsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public Builder removeInputSpecs(int index) {
        if (inputSpecsBuilder_ == null) {
          ensureInputSpecsIsMutable();
          inputSpecs_.remove(index);
          onChanged();
        } else {
          inputSpecsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder getInputSpecsBuilder(
          int index) {
        return getInputSpecsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(
          int index) {
        if (inputSpecsBuilder_ == null) {
          return inputSpecs_.get(index);  } else {
          return inputSpecsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public java.util.List 
           getInputSpecsOrBuilderList() {
        if (inputSpecsBuilder_ != null) {
          return inputSpecsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(inputSpecs_);
        }
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder addInputSpecsBuilder() {
        return getInputSpecsFieldBuilder().addBuilder(
            io.provenance.scope.contract.proto.Commons.DefinitionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder addInputSpecsBuilder(
          int index) {
        return getInputSpecsFieldBuilder().addBuilder(
            index, io.provenance.scope.contract.proto.Commons.DefinitionSpec.getDefaultInstance());
      }
      /**
       * repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
       */
      public java.util.List 
           getInputSpecsBuilderList() {
        return getInputSpecsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder> 
          getInputSpecsFieldBuilder() {
        if (inputSpecsBuilder_ == null) {
          inputSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.provenance.scope.contract.proto.Commons.DefinitionSpec, io.provenance.scope.contract.proto.Commons.DefinitionSpec.Builder, io.provenance.scope.contract.proto.Commons.DefinitionSpecOrBuilder>(
                  inputSpecs_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          inputSpecs_ = null;
        }
        return inputSpecsBuilder_;
      }

      private io.provenance.scope.contract.proto.Commons.OutputSpec outputSpec_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.OutputSpec, io.provenance.scope.contract.proto.Commons.OutputSpec.Builder, io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder> outputSpecBuilder_;
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 4;
       * @return Whether the outputSpec field is set.
       */
      public boolean hasOutputSpec() {
        return outputSpecBuilder_ != null || outputSpec_ != null;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 4;
       * @return The outputSpec.
       */
      public io.provenance.scope.contract.proto.Commons.OutputSpec getOutputSpec() {
        if (outputSpecBuilder_ == null) {
          return outputSpec_ == null ? io.provenance.scope.contract.proto.Commons.OutputSpec.getDefaultInstance() : outputSpec_;
        } else {
          return outputSpecBuilder_.getMessage();
        }
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 4;
       */
      public Builder setOutputSpec(io.provenance.scope.contract.proto.Commons.OutputSpec value) {
        if (outputSpecBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          outputSpec_ = value;
          onChanged();
        } else {
          outputSpecBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 4;
       */
      public Builder setOutputSpec(
          io.provenance.scope.contract.proto.Commons.OutputSpec.Builder builderForValue) {
        if (outputSpecBuilder_ == null) {
          outputSpec_ = builderForValue.build();
          onChanged();
        } else {
          outputSpecBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 4;
       */
      public Builder mergeOutputSpec(io.provenance.scope.contract.proto.Commons.OutputSpec value) {
        if (outputSpecBuilder_ == null) {
          if (outputSpec_ != null) {
            outputSpec_ =
              io.provenance.scope.contract.proto.Commons.OutputSpec.newBuilder(outputSpec_).mergeFrom(value).buildPartial();
          } else {
            outputSpec_ = value;
          }
          onChanged();
        } else {
          outputSpecBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 4;
       */
      public Builder clearOutputSpec() {
        if (outputSpecBuilder_ == null) {
          outputSpec_ = null;
          onChanged();
        } else {
          outputSpec_ = null;
          outputSpecBuilder_ = null;
        }

        return this;
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 4;
       */
      public io.provenance.scope.contract.proto.Commons.OutputSpec.Builder getOutputSpecBuilder() {
        
        onChanged();
        return getOutputSpecFieldBuilder().getBuilder();
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 4;
       */
      public io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder getOutputSpecOrBuilder() {
        if (outputSpecBuilder_ != null) {
          return outputSpecBuilder_.getMessageOrBuilder();
        } else {
          return outputSpec_ == null ?
              io.provenance.scope.contract.proto.Commons.OutputSpec.getDefaultInstance() : outputSpec_;
        }
      }
      /**
       * .io.provenance.scope.contract.OutputSpec output_spec = 4;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.provenance.scope.contract.proto.Commons.OutputSpec, io.provenance.scope.contract.proto.Commons.OutputSpec.Builder, io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder> 
          getOutputSpecFieldBuilder() {
        if (outputSpecBuilder_ == null) {
          outputSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.provenance.scope.contract.proto.Commons.OutputSpec, io.provenance.scope.contract.proto.Commons.OutputSpec.Builder, io.provenance.scope.contract.proto.Commons.OutputSpecOrBuilder>(
                  getOutputSpec(),
                  getParentForChildren(),
                  isClean());
          outputSpec_ = null;
        }
        return outputSpecBuilder_;
      }
      @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:io.provenance.scope.contract.FunctionSpec)
    }

    // @@protoc_insertion_point(class_scope:io.provenance.scope.contract.FunctionSpec)
    private static final io.provenance.scope.contract.proto.Specifications.FunctionSpec DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.provenance.scope.contract.proto.Specifications.FunctionSpec();
    }

    public static io.provenance.scope.contract.proto.Specifications.FunctionSpec getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public FunctionSpec parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new FunctionSpec(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public io.provenance.scope.contract.proto.Specifications.FunctionSpec getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_io_provenance_scope_contract_ContractSpec_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_io_provenance_scope_contract_ContractSpec_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_io_provenance_scope_contract_ConditionSpec_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_io_provenance_scope_contract_ConditionSpec_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_io_provenance_scope_contract_FunctionSpec_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_io_provenance_scope_contract_FunctionSpec_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n0io/provenance/scope/contract/specifica" +
      "tion.proto\022\034io.provenance.scope.contract" +
      "\032)io/provenance/scope/contract/common.pr" +
      "oto\"\373\002\n\014ContractSpec\022@\n\ndefinition\030\001 \001(\013" +
      "2,.io.provenance.scope.contract.Definiti" +
      "onSpec\022A\n\013input_specs\030\002 \003(\0132,.io.provena" +
      "nce.scope.contract.DefinitionSpec\022A\n\020par" +
      "ties_involved\030\003 \003(\0162\'.io.provenance.scop" +
      "e.contract.PartyType\022D\n\017condition_specs\030" +
      "\004 \003(\0132+.io.provenance.scope.contract.Con" +
      "ditionSpec\022B\n\016function_specs\030\006 \003(\0132*.io." +
      "provenance.scope.contract.FunctionSpecJ\004" +
      "\010\005\020\006R\023consideration_specs\"\244\001\n\rConditionS" +
      "pec\022\021\n\tfunc_name\030\001 \001(\t\022A\n\013input_specs\030\002 " +
      "\003(\0132,.io.provenance.scope.contract.Defin" +
      "itionSpec\022=\n\013output_spec\030\003 \001(\0132(.io.prov" +
      "enance.scope.contract.OutputSpec\"\374\001\n\014Fun" +
      "ctionSpec\022\021\n\tfunc_name\030\001 \001(\t\022>\n\rinvoker_" +
      "party\030\005 \001(\0162\'.io.provenance.scope.contra" +
      "ct.PartyType\022A\n\013input_specs\030\003 \003(\0132,.io.p" +
      "rovenance.scope.contract.DefinitionSpec\022" +
      "=\n\013output_spec\030\004 \001(\0132(.io.provenance.sco" +
      "pe.contract.OutputSpecJ\004\010\002\020\003R\021responsibl" +
      "e_party*\225\001\n\tPartyType\022\010\n\004NONE\020\000\022\016\n\nORIGI" +
      "NATOR\020\001\022\014\n\010SERVICER\020\002\022\014\n\010INVESTOR\020\003\022\r\n\tC" +
      "USTODIAN\020\004\022\t\n\005OWNER\020\005\022\r\n\tAFFILIATE\020\006\022\013\n\007" +
      "OMNIBUS\020\007\022\016\n\nPROVENANCE\020\010\"\004\010\t\020\t*\006MARKERB" +
      "4\n\"io.provenance.scope.contract.protoB\016S" +
      "pecificationsb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          io.provenance.scope.contract.proto.Commons.getDescriptor(),
        });
    internal_static_io_provenance_scope_contract_ContractSpec_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_io_provenance_scope_contract_ContractSpec_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_io_provenance_scope_contract_ContractSpec_descriptor,
        new java.lang.String[] { "Definition", "InputSpecs", "PartiesInvolved", "ConditionSpecs", "FunctionSpecs", });
    internal_static_io_provenance_scope_contract_ConditionSpec_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_io_provenance_scope_contract_ConditionSpec_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_io_provenance_scope_contract_ConditionSpec_descriptor,
        new java.lang.String[] { "FuncName", "InputSpecs", "OutputSpec", });
    internal_static_io_provenance_scope_contract_FunctionSpec_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_io_provenance_scope_contract_FunctionSpec_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_io_provenance_scope_contract_FunctionSpec_descriptor,
        new java.lang.String[] { "FuncName", "InvokerParty", "InputSpecs", "OutputSpec", });
    io.provenance.scope.contract.proto.Commons.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy