io.provenance.metadata.v0.ContractOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: provenance/metadata/v0/contract.proto
package io.provenance.metadata.v0;
public interface ContractOrBuilder extends
// @@protoc_insertion_point(interface_extends:contract.Contract)
com.google.protobuf.MessageOrBuilder {
/**
* .spec.DefinitionSpec definition = 1;
*/
boolean hasDefinition();
/**
* .spec.DefinitionSpec definition = 1;
*/
io.provenance.metadata.v0.DefinitionSpec getDefinition();
/**
* .spec.DefinitionSpec definition = 1;
*/
io.provenance.metadata.v0.DefinitionSpecOrBuilder getDefinitionOrBuilder();
/**
*
* Points to the proto for the contractSpec
*
*
* .types.Fact spec = 2;
*/
boolean hasSpec();
/**
*
* Points to the proto for the contractSpec
*
*
* .types.Fact spec = 2;
*/
io.provenance.metadata.v0.Fact getSpec();
/**
*
* Points to the proto for the contractSpec
*
*
* .types.Fact spec = 2;
*/
io.provenance.metadata.v0.FactOrBuilder getSpecOrBuilder();
/**
*
* Invoker of this contract
*
*
* .types.SigningAndEncryptionPublicKeys invoker = 3;
*/
boolean hasInvoker();
/**
*
* Invoker of this contract
*
*
* .types.SigningAndEncryptionPublicKeys invoker = 3;
*/
io.provenance.metadata.v0.SigningAndEncryptionPublicKeys getInvoker();
/**
*
* Invoker of this contract
*
*
* .types.SigningAndEncryptionPublicKeys invoker = 3;
*/
io.provenance.metadata.v0.SigningAndEncryptionPublicKeysOrBuilder getInvokerOrBuilder();
/**
*
* Constructor arguments.
* These are always the output of a previously recorded consideration.
*
*
* repeated .types.Fact inputs = 4;
*/
java.util.List
getInputsList();
/**
*
* Constructor arguments.
* These are always the output of a previously recorded consideration.
*
*
* repeated .types.Fact inputs = 4;
*/
io.provenance.metadata.v0.Fact getInputs(int index);
/**
*
* Constructor arguments.
* These are always the output of a previously recorded consideration.
*
*
* repeated .types.Fact inputs = 4;
*/
int getInputsCount();
/**
*
* Constructor arguments.
* These are always the output of a previously recorded consideration.
*
*
* repeated .types.Fact inputs = 4;
*/
java.util.List extends io.provenance.metadata.v0.FactOrBuilder>
getInputsOrBuilderList();
/**
*
* Constructor arguments.
* These are always the output of a previously recorded consideration.
*
*
* repeated .types.Fact inputs = 4;
*/
io.provenance.metadata.v0.FactOrBuilder getInputsOrBuilder(
int index);
/**
* repeated .contract.Condition conditions = 5;
*/
java.util.List
getConditionsList();
/**
* repeated .contract.Condition conditions = 5;
*/
io.provenance.metadata.v0.Condition getConditions(int index);
/**
* repeated .contract.Condition conditions = 5;
*/
int getConditionsCount();
/**
* repeated .contract.Condition conditions = 5;
*/
java.util.List extends io.provenance.metadata.v0.ConditionOrBuilder>
getConditionsOrBuilderList();
/**
* repeated .contract.Condition conditions = 5;
*/
io.provenance.metadata.v0.ConditionOrBuilder getConditionsOrBuilder(
int index);
/**
* repeated .contract.Consideration considerations = 6;
*/
java.util.List
getConsiderationsList();
/**
* repeated .contract.Consideration considerations = 6;
*/
io.provenance.metadata.v0.Consideration getConsiderations(int index);
/**
* repeated .contract.Consideration considerations = 6;
*/
int getConsiderationsCount();
/**
* repeated .contract.Consideration considerations = 6;
*/
java.util.List extends io.provenance.metadata.v0.ConsiderationOrBuilder>
getConsiderationsOrBuilderList();
/**
* repeated .contract.Consideration considerations = 6;
*/
io.provenance.metadata.v0.ConsiderationOrBuilder getConsiderationsOrBuilder(
int index);
/**
* repeated .contract.Recital recitals = 7;
*/
java.util.List
getRecitalsList();
/**
* repeated .contract.Recital recitals = 7;
*/
io.provenance.metadata.v0.Recital getRecitals(int index);
/**
* repeated .contract.Recital recitals = 7;
*/
int getRecitalsCount();
/**
* repeated .contract.Recital recitals = 7;
*/
java.util.List extends io.provenance.metadata.v0.RecitalOrBuilder>
getRecitalsOrBuilderList();
/**
* repeated .contract.Recital recitals = 7;
*/
io.provenance.metadata.v0.RecitalOrBuilder getRecitalsOrBuilder(
int index);
/**
* int32 times_executed = 8;
*/
int getTimesExecuted();
/**
*
* This is only set once when the contract is initially executed
*
*
* .google.protobuf.Timestamp start_time = 9 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"start_time\"", (.gogoproto.stdtime) = true];
*/
boolean hasStartTime();
/**
*
* This is only set once when the contract is initially executed
*
*
* .google.protobuf.Timestamp start_time = 9 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"start_time\"", (.gogoproto.stdtime) = true];
*/
com.google.protobuf.Timestamp getStartTime();
/**
*
* This is only set once when the contract is initially executed
*
*
* .google.protobuf.Timestamp start_time = 9 [(.gogoproto.nullable) = false, (.gogoproto.moretags) = "yaml:\"start_time\"", (.gogoproto.stdtime) = true];
*/
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
}