Interface Contracts.ContractOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Contracts.Contract, Contracts.Contract.Builder
Enclosing class:
Contracts

public static interface Contracts.ContractOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasDefinition

      boolean hasDefinition()
      .io.provenance.scope.contract.DefinitionSpec definition = 1;
      Returns:
      Whether the definition field is set.
    • getDefinition

      Commons.DefinitionSpec getDefinition()
      .io.provenance.scope.contract.DefinitionSpec definition = 1;
      Returns:
      The definition.
    • getDefinitionOrBuilder

      Commons.DefinitionSpecOrBuilder getDefinitionOrBuilder()
      .io.provenance.scope.contract.DefinitionSpec definition = 1;
    • hasSpec

      boolean hasSpec()
       Points to the proto for the contractSpec
       
      .io.provenance.scope.contract.Record spec = 2;
      Returns:
      Whether the spec field is set.
    • getSpec

      Contracts.Record getSpec()
       Points to the proto for the contractSpec
       
      .io.provenance.scope.contract.Record spec = 2;
      Returns:
      The spec.
    • getSpecOrBuilder

      Contracts.RecordOrBuilder getSpecOrBuilder()
       Points to the proto for the contractSpec
       
      .io.provenance.scope.contract.Record spec = 2;
    • hasInvoker

      boolean hasInvoker()
      .io.provenance.scope.SigningAndEncryptionPublicKeys invoker = 3;
      Returns:
      Whether the invoker field is set.
    • getInvoker

      .io.provenance.scope.SigningAndEncryptionPublicKeys invoker = 3;
      Returns:
      The invoker.
    • getInvokerOrBuilder

      .io.provenance.scope.SigningAndEncryptionPublicKeys invoker = 3;
    • getInputsList

      List<Contracts.Record> getInputsList()
       Constructor arguments.
       These are always the output of a previously recorded consideration.
       
      repeated .io.provenance.scope.contract.Record inputs = 4;
    • getInputs

      Contracts.Record getInputs(int index)
       Constructor arguments.
       These are always the output of a previously recorded consideration.
       
      repeated .io.provenance.scope.contract.Record inputs = 4;
    • getInputsCount

      int getInputsCount()
       Constructor arguments.
       These are always the output of a previously recorded consideration.
       
      repeated .io.provenance.scope.contract.Record inputs = 4;
    • getInputsOrBuilderList

      List<? extends Contracts.RecordOrBuilder> getInputsOrBuilderList()
       Constructor arguments.
       These are always the output of a previously recorded consideration.
       
      repeated .io.provenance.scope.contract.Record inputs = 4;
    • getInputsOrBuilder

      Contracts.RecordOrBuilder getInputsOrBuilder(int index)
       Constructor arguments.
       These are always the output of a previously recorded consideration.
       
      repeated .io.provenance.scope.contract.Record inputs = 4;
    • getConditionsList

      List<Contracts.ConditionProto> getConditionsList()
      repeated .io.provenance.scope.contract.ConditionProto conditions = 5;
    • getConditions

      Contracts.ConditionProto getConditions(int index)
      repeated .io.provenance.scope.contract.ConditionProto conditions = 5;
    • getConditionsCount

      int getConditionsCount()
      repeated .io.provenance.scope.contract.ConditionProto conditions = 5;
    • getConditionsOrBuilderList

      List<? extends Contracts.ConditionProtoOrBuilder> getConditionsOrBuilderList()
      repeated .io.provenance.scope.contract.ConditionProto conditions = 5;
    • getConditionsOrBuilder

      Contracts.ConditionProtoOrBuilder getConditionsOrBuilder(int index)
      repeated .io.provenance.scope.contract.ConditionProto conditions = 5;
    • getConsiderationsList

      List<Contracts.ConsiderationProto> getConsiderationsList()
      repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;
    • getConsiderations

      Contracts.ConsiderationProto getConsiderations(int index)
      repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;
    • getConsiderationsCount

      int getConsiderationsCount()
      repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;
    • getConsiderationsOrBuilderList

      List<? extends Contracts.ConsiderationProtoOrBuilder> getConsiderationsOrBuilderList()
      repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;
    • getConsiderationsOrBuilder

      Contracts.ConsiderationProtoOrBuilder getConsiderationsOrBuilder(int index)
      repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;
    • getRecitalsList

      List<Contracts.Recital> getRecitalsList()
      repeated .io.provenance.scope.contract.Recital recitals = 7;
    • getRecitals

      Contracts.Recital getRecitals(int index)
      repeated .io.provenance.scope.contract.Recital recitals = 7;
    • getRecitalsCount

      int getRecitalsCount()
      repeated .io.provenance.scope.contract.Recital recitals = 7;
    • getRecitalsOrBuilderList

      List<? extends Contracts.RecitalOrBuilder> getRecitalsOrBuilderList()
      repeated .io.provenance.scope.contract.Recital recitals = 7;
    • getRecitalsOrBuilder

      Contracts.RecitalOrBuilder getRecitalsOrBuilder(int index)
      repeated .io.provenance.scope.contract.Recital recitals = 7;
    • getTimesExecuted

      int getTimesExecuted()
      int32 times_executed = 8;
      Returns:
      The timesExecuted.
    • hasStartTime

      boolean hasStartTime()
       This is only set once when the contract is initially executed
       
      .google.protobuf.Timestamp start_time = 9;
      Returns:
      Whether the startTime field is set.
    • getStartTime

      Timestamp getStartTime()
       This is only set once when the contract is initially executed
       
      .google.protobuf.Timestamp start_time = 9;
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      TimestampOrBuilder getStartTimeOrBuilder()
       This is only set once when the contract is initially executed
       
      .google.protobuf.Timestamp start_time = 9;