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 Summary
Modifier and TypeMethodDescriptiongetConditions(int index) repeated .io.provenance.scope.contract.ConditionProto conditions = 5;intrepeated .io.provenance.scope.contract.ConditionProto conditions = 5;repeated .io.provenance.scope.contract.ConditionProto conditions = 5;getConditionsOrBuilder(int index) repeated .io.provenance.scope.contract.ConditionProto conditions = 5;List<? extends Contracts.ConditionProtoOrBuilder>repeated .io.provenance.scope.contract.ConditionProto conditions = 5;getConsiderations(int index) repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;intrepeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;getConsiderationsOrBuilder(int index) repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;List<? extends Contracts.ConsiderationProtoOrBuilder>repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6;.io.provenance.scope.contract.DefinitionSpec definition = 1;.io.provenance.scope.contract.DefinitionSpec definition = 1;getInputs(int index) Constructor arguments.intConstructor arguments.Constructor arguments.getInputsOrBuilder(int index) Constructor arguments.List<? extends Contracts.RecordOrBuilder>Constructor arguments..io.provenance.scope.SigningAndEncryptionPublicKeys invoker = 3;.io.provenance.scope.SigningAndEncryptionPublicKeys invoker = 3;getRecitals(int index) repeated .io.provenance.scope.contract.Recital recitals = 7;intrepeated .io.provenance.scope.contract.Recital recitals = 7;repeated .io.provenance.scope.contract.Recital recitals = 7;getRecitalsOrBuilder(int index) repeated .io.provenance.scope.contract.Recital recitals = 7;List<? extends Contracts.RecitalOrBuilder>repeated .io.provenance.scope.contract.Recital recitals = 7;getSpec()Points to the proto for the contractSpecPoints to the proto for the contractSpecThis is only set once when the contract is initially executedThis is only set once when the contract is initially executedintint32 times_executed = 8;boolean.io.provenance.scope.contract.DefinitionSpec definition = 1;boolean.io.provenance.scope.SigningAndEncryptionPublicKeys invoker = 3;booleanhasSpec()Points to the proto for the contractSpecbooleanThis is only set once when the contract is initially executedMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
PK.SigningAndEncryptionPublicKeys getInvoker().io.provenance.scope.SigningAndEncryptionPublicKeys invoker = 3;- Returns:
- The invoker.
-
getInvokerOrBuilder
PK.SigningAndEncryptionPublicKeysOrBuilder 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
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
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
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
repeated .io.provenance.scope.contract.ConditionProto conditions = 5; -
getConsiderationsList
List<Contracts.ConsiderationProto> getConsiderationsList()repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6; -
getConsiderations
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
repeated .io.provenance.scope.contract.ConsiderationProto considerations = 6; -
getRecitalsList
List<Contracts.Recital> getRecitalsList()repeated .io.provenance.scope.contract.Recital recitals = 7; -
getRecitals
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
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;
-