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,java.io.Serializable
- Enclosing class:
- Specifications
public static final class Specifications.ContractSpec extends com.google.protobuf.GeneratedMessageV3 implements Specifications.ContractSpecOrBuilder
Protobuf typeio.provenance.scope.contract.ContractSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpecifications.ContractSpec.BuilderProtobuf typeio.provenance.scope.contract.ContractSpec-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONDITION_SPECS_FIELD_NUMBERstatic intDEFINITION_FIELD_NUMBERstatic intFUNCTION_SPECS_FIELD_NUMBERstatic intINPUT_SPECS_FIELD_NUMBERstatic intPARTIES_INVOLVED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Specifications.ConditionSpecgetConditionSpecs(int index)repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;intgetConditionSpecsCount()repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;java.util.List<Specifications.ConditionSpec>getConditionSpecsList()repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;Specifications.ConditionSpecOrBuildergetConditionSpecsOrBuilder(int index)repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;java.util.List<? extends Specifications.ConditionSpecOrBuilder>getConditionSpecsOrBuilderList()repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;static Specifications.ContractSpecgetDefaultInstance()Specifications.ContractSpecgetDefaultInstanceForType()Commons.DefinitionSpecgetDefinition().io.provenance.scope.contract.DefinitionSpec definition = 1;Commons.DefinitionSpecOrBuildergetDefinitionOrBuilder().io.provenance.scope.contract.DefinitionSpec definition = 1;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Specifications.FunctionSpecgetFunctionSpecs(int index)repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;intgetFunctionSpecsCount()repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;java.util.List<Specifications.FunctionSpec>getFunctionSpecsList()repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;Specifications.FunctionSpecOrBuildergetFunctionSpecsOrBuilder(int index)repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;java.util.List<? extends Specifications.FunctionSpecOrBuilder>getFunctionSpecsOrBuilderList()repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;Commons.DefinitionSpecgetInputSpecs(int index)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;intgetInputSpecsCount()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;java.util.List<Commons.DefinitionSpec>getInputSpecsList()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;Commons.DefinitionSpecOrBuildergetInputSpecsOrBuilder(int index)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;java.util.List<? extends Commons.DefinitionSpecOrBuilder>getInputSpecsOrBuilderList()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;com.google.protobuf.Parser<Specifications.ContractSpec>getParserForType()Specifications.PartyTypegetPartiesInvolved(int index)repeated .io.provenance.scope.contract.PartyType parties_involved = 3;intgetPartiesInvolvedCount()repeated .io.provenance.scope.contract.PartyType parties_involved = 3;java.util.List<Specifications.PartyType>getPartiesInvolvedList()repeated .io.provenance.scope.contract.PartyType parties_involved = 3;intgetPartiesInvolvedValue(int index)repeated .io.provenance.scope.contract.PartyType parties_involved = 3;java.util.List<java.lang.Integer>getPartiesInvolvedValueList()repeated .io.provenance.scope.contract.PartyType parties_involved = 3;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDefinition().io.provenance.scope.contract.DefinitionSpec definition = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Specifications.ContractSpec.BuildernewBuilder()static Specifications.ContractSpec.BuildernewBuilder(Specifications.ContractSpec prototype)Specifications.ContractSpec.BuildernewBuilderForType()protected Specifications.ContractSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Specifications.ContractSpecparseDelimitedFrom(java.io.InputStream input)static Specifications.ContractSpecparseDelimitedFrom(java.io.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(java.io.InputStream input)static Specifications.ContractSpecparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Specifications.ContractSpecparseFrom(java.nio.ByteBuffer data)static Specifications.ContractSpecparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Specifications.ContractSpec>parser()Specifications.ContractSpec.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DEFINITION_FIELD_NUMBER
public static final int DEFINITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_SPECS_FIELD_NUMBER
public static final int INPUT_SPECS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTIES_INVOLVED_FIELD_NUMBER
public static final int PARTIES_INVOLVED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITION_SPECS_FIELD_NUMBER
public static final int CONDITION_SPECS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUNCTION_SPECS_FIELD_NUMBER
public static final int FUNCTION_SPECS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public Commons.DefinitionSpec getDefinition()
.io.provenance.scope.contract.DefinitionSpec definition = 1;- Specified by:
getDefinitionin interfaceSpecifications.ContractSpecOrBuilder- Returns:
- The definition.
-
getDefinitionOrBuilder
public Commons.DefinitionSpecOrBuilder getDefinitionOrBuilder()
.io.provenance.scope.contract.DefinitionSpec definition = 1;- Specified by:
getDefinitionOrBuilderin interfaceSpecifications.ContractSpecOrBuilder
-
getInputSpecsList
public java.util.List<Commons.DefinitionSpec> getInputSpecsList()
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;- Specified by:
getInputSpecsListin interfaceSpecifications.ContractSpecOrBuilder
-
getInputSpecsOrBuilderList
public java.util.List<? extends Commons.DefinitionSpecOrBuilder> 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
public Commons.DefinitionSpec getInputSpecs(int index)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;- Specified by:
getInputSpecsin interfaceSpecifications.ContractSpecOrBuilder
-
getInputSpecsOrBuilder
public Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(int index)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 2;- Specified by:
getInputSpecsOrBuilderin interfaceSpecifications.ContractSpecOrBuilder
-
getPartiesInvolvedList
public java.util.List<Specifications.PartyType> 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
public Specifications.PartyType getPartiesInvolved(int index)
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
public java.util.List<java.lang.Integer> 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
public java.util.List<Specifications.ConditionSpec> getConditionSpecsList()
repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;- Specified by:
getConditionSpecsListin interfaceSpecifications.ContractSpecOrBuilder
-
getConditionSpecsOrBuilderList
public java.util.List<? extends Specifications.ConditionSpecOrBuilder> 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
public Specifications.ConditionSpec getConditionSpecs(int index)
repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;- Specified by:
getConditionSpecsin interfaceSpecifications.ContractSpecOrBuilder
-
getConditionSpecsOrBuilder
public Specifications.ConditionSpecOrBuilder getConditionSpecsOrBuilder(int index)
repeated .io.provenance.scope.contract.ConditionSpec condition_specs = 4;- Specified by:
getConditionSpecsOrBuilderin interfaceSpecifications.ContractSpecOrBuilder
-
getFunctionSpecsList
public java.util.List<Specifications.FunctionSpec> getFunctionSpecsList()
repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;- Specified by:
getFunctionSpecsListin interfaceSpecifications.ContractSpecOrBuilder
-
getFunctionSpecsOrBuilderList
public java.util.List<? extends Specifications.FunctionSpecOrBuilder> 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
public Specifications.FunctionSpec getFunctionSpecs(int index)
repeated .io.provenance.scope.contract.FunctionSpec function_specs = 6;- Specified by:
getFunctionSpecsin interfaceSpecifications.ContractSpecOrBuilder
-
getFunctionSpecsOrBuilder
public Specifications.FunctionSpecOrBuilder getFunctionSpecsOrBuilder(int index)
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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Specifications.ContractSpec parseFrom(java.nio.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
public static Specifications.ContractSpec parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Specifications.ContractSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Specifications.ContractSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Specifications.ContractSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Specifications.ContractSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Specifications.ContractSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Specifications.ContractSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Specifications.ContractSpec.Builder newBuilder()
-
newBuilder
public static Specifications.ContractSpec.Builder newBuilder(Specifications.ContractSpec prototype)
-
toBuilder
public Specifications.ContractSpec.Builder 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
public static Specifications.ContractSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Specifications.ContractSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<Specifications.ContractSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Specifications.ContractSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-