Class Envelopes.Envelope
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.provenance.scope.contract.proto.Envelopes.Envelope
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Envelopes.EnvelopeOrBuilder,Serializable
- Enclosing class:
- Envelopes
public static final class Envelopes.Envelope
extends com.google.protobuf.GeneratedMessageV3
implements Envelopes.EnvelopeOrBuilder
Protobuf type
io.provenance.scope.contract.Envelope- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeio.provenance.scope.contract.Envelopestatic enumProtobuf enumio.provenance.scope.contract.Envelope.StatusNested 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 intstatic final intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleanThe executed contract.The executed contract.getDataAccess(int index) repeated .io.provenance.scope.PublicKey data_access = 14;intrepeated .io.provenance.scope.PublicKey data_access = 14;repeated .io.provenance.scope.PublicKey data_access = 14;getDataAccessOrBuilder(int index) repeated .io.provenance.scope.PublicKey data_access = 14;List<? extends PK.PublicKeyOrBuilder>repeated .io.provenance.scope.PublicKey data_access = 14;static Envelopes.Envelopestatic final com.google.protobuf.Descriptors.DescriptorUnique identifier for determining contract/group execution instanceUnique identifier for determining contract/group execution instanceWhen a contract execution is considered stale and expiredWhen a contract execution is considered stale and expiredbooleanbool main_net = 13;booleanbool new_scope = 11;booleanbool new_session = 12;com.google.protobuf.Parser<Envelopes.Envelope>Unique identifier for determining previous execution instanceUnique identifier for determining previous execution instancegetRef()ref contains 1) the scope of the object being modified on blockchain.ref contains 1) the scope of the object being modified on blockchain.getScope()Scope snapshot for executingScope snapshot for executing.io.provenance.scope.UUID scope_spec_uuid = 10;.io.provenance.scope.UUID scope_spec_uuid = 10;intgetSignatures(int index) Signatures for the contract.intSignatures for the contract.Signatures for the contract.getSignaturesOrBuilder(int index) Signatures for the contract.List<? extends Common.SignatureOrBuilder>Signatures for the contract..io.provenance.scope.contract.Envelope.Status status = 9;int.io.provenance.scope.contract.Envelope.Status status = 9;booleanThe executed contract.booleanUnique identifier for determining contract/group execution instancebooleanWhen a contract execution is considered stale and expiredinthashCode()booleanUnique identifier for determining previous execution instancebooleanhasRef()ref contains 1) the scope of the object being modified on blockchain.booleanhasScope()Scope snapshot for executingboolean.io.provenance.scope.UUID scope_spec_uuid = 10;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Envelopes.Envelope.Builderstatic Envelopes.Envelope.BuildernewBuilder(Envelopes.Envelope prototype) protected Envelopes.Envelope.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Envelopes.EnvelopeparseDelimitedFrom(InputStream input) static Envelopes.EnvelopeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelopes.EnvelopeparseFrom(byte[] data) static Envelopes.EnvelopeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelopes.EnvelopeparseFrom(com.google.protobuf.ByteString data) static Envelopes.EnvelopeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelopes.EnvelopeparseFrom(com.google.protobuf.CodedInputStream input) static Envelopes.EnvelopeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelopes.EnvelopeparseFrom(InputStream input) static Envelopes.EnvelopeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Envelopes.EnvelopeparseFrom(ByteBuffer data) static Envelopes.EnvelopeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Envelopes.Envelope>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
-
REF_FIELD_NUMBER
public static final int REF_FIELD_NUMBER- See Also:
-
CONTRACT_FIELD_NUMBER
public static final int CONTRACT_FIELD_NUMBER- See Also:
-
SIGNATURES_FIELD_NUMBER
public static final int SIGNATURES_FIELD_NUMBER- See Also:
-
EXECUTION_UUID_FIELD_NUMBER
public static final int EXECUTION_UUID_FIELD_NUMBER- See Also:
-
PREV_EXECUTION_UUID_FIELD_NUMBER
public static final int PREV_EXECUTION_UUID_FIELD_NUMBER- See Also:
-
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER- See Also:
-
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
SCOPE_SPEC_UUID_FIELD_NUMBER
public static final int SCOPE_SPEC_UUID_FIELD_NUMBER- See Also:
-
NEW_SCOPE_FIELD_NUMBER
public static final int NEW_SCOPE_FIELD_NUMBER- See Also:
-
NEW_SESSION_FIELD_NUMBER
public static final int NEW_SESSION_FIELD_NUMBER- See Also:
-
MAIN_NET_FIELD_NUMBER
public static final int MAIN_NET_FIELD_NUMBER- See Also:
-
DATA_ACCESS_FIELD_NUMBER
public static final int DATA_ACCESS_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
-
hasRef
public boolean hasRef()ref contains 1) the scope of the object being modified on blockchain. 2) the uuid of the contract execution. 3) the hash of the contract instance that has been executed.
.io.provenance.scope.contract.ProvenanceReference ref = 1;- Specified by:
hasRefin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- Whether the ref field is set.
-
getRef
ref contains 1) the scope of the object being modified on blockchain. 2) the uuid of the contract execution. 3) the hash of the contract instance that has been executed.
.io.provenance.scope.contract.ProvenanceReference ref = 1;- Specified by:
getRefin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The ref.
-
getRefOrBuilder
ref contains 1) the scope of the object being modified on blockchain. 2) the uuid of the contract execution. 3) the hash of the contract instance that has been executed.
.io.provenance.scope.contract.ProvenanceReference ref = 1;- Specified by:
getRefOrBuilderin interfaceEnvelopes.EnvelopeOrBuilder
-
hasContract
public boolean hasContract()The executed contract.
.io.provenance.scope.contract.Contract contract = 2;- Specified by:
hasContractin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- Whether the contract field is set.
-
getContract
The executed contract.
.io.provenance.scope.contract.Contract contract = 2;- Specified by:
getContractin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The contract.
-
getContractOrBuilder
The executed contract.
.io.provenance.scope.contract.Contract contract = 2;- Specified by:
getContractOrBuilderin interfaceEnvelopes.EnvelopeOrBuilder
-
getSignaturesList
Signatures for the contract.
repeated .io.provenance.scope.Signature signatures = 3;- Specified by:
getSignaturesListin interfaceEnvelopes.EnvelopeOrBuilder
-
getSignaturesOrBuilderList
Signatures for the contract.
repeated .io.provenance.scope.Signature signatures = 3;- Specified by:
getSignaturesOrBuilderListin interfaceEnvelopes.EnvelopeOrBuilder
-
getSignaturesCount
public int getSignaturesCount()Signatures for the contract.
repeated .io.provenance.scope.Signature signatures = 3;- Specified by:
getSignaturesCountin interfaceEnvelopes.EnvelopeOrBuilder
-
getSignatures
Signatures for the contract.
repeated .io.provenance.scope.Signature signatures = 3;- Specified by:
getSignaturesin interfaceEnvelopes.EnvelopeOrBuilder
-
getSignaturesOrBuilder
Signatures for the contract.
repeated .io.provenance.scope.Signature signatures = 3;- Specified by:
getSignaturesOrBuilderin interfaceEnvelopes.EnvelopeOrBuilder
-
hasExecutionUuid
public boolean hasExecutionUuid()Unique identifier for determining contract/group execution instance
.io.provenance.scope.UUID execution_uuid = 5;- Specified by:
hasExecutionUuidin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- Whether the executionUuid field is set.
-
getExecutionUuid
Unique identifier for determining contract/group execution instance
.io.provenance.scope.UUID execution_uuid = 5;- Specified by:
getExecutionUuidin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The executionUuid.
-
getExecutionUuidOrBuilder
Unique identifier for determining contract/group execution instance
.io.provenance.scope.UUID execution_uuid = 5;- Specified by:
getExecutionUuidOrBuilderin interfaceEnvelopes.EnvelopeOrBuilder
-
hasPrevExecutionUuid
public boolean hasPrevExecutionUuid()Unique identifier for determining previous execution instance
.io.provenance.scope.UUID prev_execution_uuid = 6;- Specified by:
hasPrevExecutionUuidin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- Whether the prevExecutionUuid field is set.
-
getPrevExecutionUuid
Unique identifier for determining previous execution instance
.io.provenance.scope.UUID prev_execution_uuid = 6;- Specified by:
getPrevExecutionUuidin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The prevExecutionUuid.
-
getPrevExecutionUuidOrBuilder
Unique identifier for determining previous execution instance
.io.provenance.scope.UUID prev_execution_uuid = 6;- Specified by:
getPrevExecutionUuidOrBuilderin interfaceEnvelopes.EnvelopeOrBuilder
-
hasExpirationTime
public boolean hasExpirationTime()When a contract execution is considered stale and expired
.google.protobuf.Timestamp expiration_time = 7;- Specified by:
hasExpirationTimein interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
When a contract execution is considered stale and expired
.google.protobuf.Timestamp expiration_time = 7;- Specified by:
getExpirationTimein interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
When a contract execution is considered stale and expired
.google.protobuf.Timestamp expiration_time = 7;- Specified by:
getExpirationTimeOrBuilderin interfaceEnvelopes.EnvelopeOrBuilder
-
hasScope
public boolean hasScope()Scope snapshot for executing
.google.protobuf.Any scope = 8;- Specified by:
hasScopein interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- Whether the scope field is set.
-
getScope
Scope snapshot for executing
.google.protobuf.Any scope = 8;- Specified by:
getScopein interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The scope.
-
getScopeOrBuilder
Scope snapshot for executing
.google.protobuf.Any scope = 8;- Specified by:
getScopeOrBuilderin interfaceEnvelopes.EnvelopeOrBuilder
-
getStatusValue
public int getStatusValue().io.provenance.scope.contract.Envelope.Status status = 9;- Specified by:
getStatusValuein interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
.io.provenance.scope.contract.Envelope.Status status = 9;- Specified by:
getStatusin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The status.
-
hasScopeSpecUuid
public boolean hasScopeSpecUuid().io.provenance.scope.UUID scope_spec_uuid = 10;- Specified by:
hasScopeSpecUuidin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- Whether the scopeSpecUuid field is set.
-
getScopeSpecUuid
.io.provenance.scope.UUID scope_spec_uuid = 10;- Specified by:
getScopeSpecUuidin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The scopeSpecUuid.
-
getScopeSpecUuidOrBuilder
.io.provenance.scope.UUID scope_spec_uuid = 10;- Specified by:
getScopeSpecUuidOrBuilderin interfaceEnvelopes.EnvelopeOrBuilder
-
getNewScope
public boolean getNewScope()bool new_scope = 11;- Specified by:
getNewScopein interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The newScope.
-
getNewSession
public boolean getNewSession()bool new_session = 12;- Specified by:
getNewSessionin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The newSession.
-
getMainNet
public boolean getMainNet()bool main_net = 13;- Specified by:
getMainNetin interfaceEnvelopes.EnvelopeOrBuilder- Returns:
- The mainNet.
-
getDataAccessList
repeated .io.provenance.scope.PublicKey data_access = 14;- Specified by:
getDataAccessListin interfaceEnvelopes.EnvelopeOrBuilder
-
getDataAccessOrBuilderList
repeated .io.provenance.scope.PublicKey data_access = 14;- Specified by:
getDataAccessOrBuilderListin interfaceEnvelopes.EnvelopeOrBuilder
-
getDataAccessCount
public int getDataAccessCount()repeated .io.provenance.scope.PublicKey data_access = 14;- Specified by:
getDataAccessCountin interfaceEnvelopes.EnvelopeOrBuilder
-
getDataAccess
repeated .io.provenance.scope.PublicKey data_access = 14;- Specified by:
getDataAccessin interfaceEnvelopes.EnvelopeOrBuilder
-
getDataAccessOrBuilder
repeated .io.provenance.scope.PublicKey data_access = 14;- Specified by:
getDataAccessOrBuilderin interfaceEnvelopes.EnvelopeOrBuilder
-
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 Envelopes.Envelope parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Envelopes.Envelope parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Envelopes.Envelope parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Envelopes.Envelope parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Envelopes.Envelope parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Envelopes.Envelope parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Envelopes.Envelope parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Envelopes.Envelope parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Envelopes.Envelope parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Envelopes.Envelope 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 Envelopes.Envelope.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
-