Class Specifications.ContractSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.provenance.scope.contract.proto.Specifications.ContractSpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Specifications.ContractSpecOrBuilder,Serializable
- Enclosing class:
- Specifications
public static final class Specifications.ContractSpec
extends com.google.protobuf.GeneratedMessageV3
implements Specifications.ContractSpecOrBuilder
Protobuf type
io.provenance.scope.contract.ContractSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeio.provenance.scope.contract.ContractSpecNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetConditionSpecs(int index) repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;intrepeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;getConditionSpecsOrBuilder(int index) repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;List<? extends Specifications.ConditionSpecOrBuilder>repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;static Specifications.ContractSpec.io.provenance.scope.contract.DefinitionSpec definition = 1;.io.provenance.scope.contract.DefinitionSpec definition = 1;static final com.google.protobuf.Descriptors.DescriptorgetFunctionSpecs(int index) repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;intrepeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;getFunctionSpecsOrBuilder(int index) repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;List<? extends Specifications.FunctionSpecOrBuilder>repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;getInputSpecs(int index) repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;intrepeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;getInputSpecsOrBuilder(int index) repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;List<? extends Commons.DefinitionSpecOrBuilder>repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;com.google.protobuf.Parser<Specifications.ContractSpec>getPartiesInvolved(int index) repeated .io.provenance.scope.contract.PartyType parties_involved = 3;intrepeated .io.provenance.scope.contract.PartyType parties_involved = 3;repeated .io.provenance.scope.contract.PartyType parties_involved = 3;intgetPartiesInvolvedValue(int index) repeated .io.provenance.scope.contract.PartyType parties_involved = 3;repeated .io.provenance.scope.contract.PartyType parties_involved = 3;intboolean.io.provenance.scope.contract.DefinitionSpec definition = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Specifications.ContractSpec prototype) protected Specifications.ContractSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Specifications.ContractSpecparseDelimitedFrom(InputStream input) static Specifications.ContractSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Specifications.ContractSpecparseFrom(byte[] data) static Specifications.ContractSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Specifications.ContractSpecparseFrom(com.google.protobuf.ByteString data) static Specifications.ContractSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Specifications.ContractSpecparseFrom(com.google.protobuf.CodedInputStream input) static Specifications.ContractSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Specifications.ContractSpecparseFrom(InputStream input) static Specifications.ContractSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Specifications.ContractSpecparseFrom(ByteBuffer data) static Specifications.ContractSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Specifications.ContractSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DEFINITION_FIELD_NUMBER
public static final int DEFINITION_FIELD_NUMBER- See Also:
-
INPUT_SPECS_FIELD_NUMBER
public static final int INPUT_SPECS_FIELD_NUMBER- See Also:
-
PARTIES_INVOLVED_FIELD_NUMBER
public static final int PARTIES_INVOLVED_FIELD_NUMBER- See Also:
-
CONDITION_SPECS_FIELD_NUMBER
public static final int CONDITION_SPECS_FIELD_NUMBER- See Also:
-
FUNCTION_SPECS_FIELD_NUMBER
public static final int FUNCTION_SPECS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasDefinition
public boolean hasDefinition().io.provenance.scope.contract.DefinitionSpec definition = 1;- Specified by:
hasDefinitionin interfaceSpecifications.ContractSpecOrBuilder- Returns:
- Whether the definition field is set.
-
getDefinition
.io.provenance.scope.contract.DefinitionSpec definition = 1;- Specified by:
getDefinitionin interfaceSpecifications.ContractSpecOrBuilder- Returns:
- The definition.
-
getDefinitionOrBuilder
.io.provenance.scope.contract.DefinitionSpec definition = 1;- Specified by:
getDefinitionOrBuilderin interfaceSpecifications.ContractSpecOrBuilder
-
getInputSpecsList
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;- Specified by:
getInputSpecsListin interfaceSpecifications.ContractSpecOrBuilder
-
getInputSpecsOrBuilderList
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;- Specified by:
getInputSpecsOrBuilderListin interfaceSpecifications.ContractSpecOrBuilder
-
getInputSpecsCount
public int getInputSpecsCount()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;- Specified by:
getInputSpecsCountin interfaceSpecifications.ContractSpecOrBuilder
-
getInputSpecs
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;- Specified by:
getInputSpecsin interfaceSpecifications.ContractSpecOrBuilder
-
getInputSpecsOrBuilder
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;- Specified by:
getInputSpecsOrBuilderin interfaceSpecifications.ContractSpecOrBuilder
-
getPartiesInvolvedList
repeated .io.provenance.scope.contract.PartyType parties_involved = 3;- Specified by:
getPartiesInvolvedListin interfaceSpecifications.ContractSpecOrBuilder- Returns:
- A list containing the partiesInvolved.
-
getPartiesInvolvedCount
public int getPartiesInvolvedCount()repeated .io.provenance.scope.contract.PartyType parties_involved = 3;- Specified by:
getPartiesInvolvedCountin interfaceSpecifications.ContractSpecOrBuilder- Returns:
- The count of partiesInvolved.
-
getPartiesInvolved
repeated .io.provenance.scope.contract.PartyType parties_involved = 3;- Specified by:
getPartiesInvolvedin interfaceSpecifications.ContractSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partiesInvolved at the given index.
-
getPartiesInvolvedValueList
repeated .io.provenance.scope.contract.PartyType parties_involved = 3;- Specified by:
getPartiesInvolvedValueListin interfaceSpecifications.ContractSpecOrBuilder- Returns:
- A list containing the enum numeric values on the wire for partiesInvolved.
-
getPartiesInvolvedValue
public int getPartiesInvolvedValue(int index) repeated .io.provenance.scope.contract.PartyType parties_involved = 3;- Specified by:
getPartiesInvolvedValuein interfaceSpecifications.ContractSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of partiesInvolved at the given index.
-
getConditionSpecsList
repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;- Specified by:
getConditionSpecsListin interfaceSpecifications.ContractSpecOrBuilder
-
getConditionSpecsOrBuilderList
repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;- Specified by:
getConditionSpecsOrBuilderListin interfaceSpecifications.ContractSpecOrBuilder
-
getConditionSpecsCount
public int getConditionSpecsCount()repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;- Specified by:
getConditionSpecsCountin interfaceSpecifications.ContractSpecOrBuilder
-
getConditionSpecs
repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;- Specified by:
getConditionSpecsin interfaceSpecifications.ContractSpecOrBuilder
-
getConditionSpecsOrBuilder
repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;- Specified by:
getConditionSpecsOrBuilderin interfaceSpecifications.ContractSpecOrBuilder
-
getFunctionSpecsList
repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;- Specified by:
getFunctionSpecsListin interfaceSpecifications.ContractSpecOrBuilder
-
getFunctionSpecsOrBuilderList
repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;- Specified by:
getFunctionSpecsOrBuilderListin interfaceSpecifications.ContractSpecOrBuilder
-
getFunctionSpecsCount
public int getFunctionSpecsCount()repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;- Specified by:
getFunctionSpecsCountin interfaceSpecifications.ContractSpecOrBuilder
-
getFunctionSpecs
repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;- Specified by:
getFunctionSpecsin interfaceSpecifications.ContractSpecOrBuilder
-
getFunctionSpecsOrBuilder
repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;- Specified by:
getFunctionSpecsOrBuilderin interfaceSpecifications.ContractSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Specifications.ContractSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Specifications.ContractSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Specifications.ContractSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Specifications.ContractSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Specifications.ContractSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Specifications.ContractSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Specifications.ContractSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Specifications.ContractSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Specifications.ContractSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Specifications.ContractSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Specifications.ContractSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-