Enum Class Envelopes.Envelope.Status
java.lang.Object
java.lang.Enum<Envelopes.Envelope.Status>
io.provenance.scope.contract.proto.Envelopes.Envelope.Status
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Envelopes.Envelope.Status>,Constable
- Enclosing class:
- Envelopes.Envelope
public static enum Envelopes.Envelope.Status
extends Enum<Envelopes.Envelope.Status>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
io.provenance.scope.contract.Envelope.Status-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."];COMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."];CREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."];ERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."];EXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."];FRAGMENT = 1 [(.io.provenance.scope.contract.description) = "Envelope sent to other parties, awaiting responses."];INBOX = 2 [(.io.provenance.scope.contract.description) = "Envelope received."];INDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."];OUTBOX = 4 [(.io.provenance.scope.contract.description) = "Envelope response sent from non-invoker to invoker."];SIGNED = 5 [(.io.provenance.scope.contract.description) = "Envelope is complete with all signatures."]; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."];static final intCOMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."];static final intCREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."];static final intERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."];static final intEXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."];static final intFRAGMENT = 1 [(.io.provenance.scope.contract.description) = "Envelope sent to other parties, awaiting responses."];static final intINBOX = 2 [(.io.provenance.scope.contract.description) = "Envelope received."];static final intINDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."];static final intOUTBOX = 4 [(.io.provenance.scope.contract.description) = "Envelope response sent from non-invoker to invoker."];static final intSIGNED = 5 [(.io.provenance.scope.contract.description) = "Envelope is complete with all signatures."]; -
Method Summary
Modifier and TypeMethodDescriptionstatic Envelopes.Envelope.StatusforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Envelopes.Envelope.Status>static Envelopes.Envelope.StatusvalueOf(int value) Deprecated.static Envelopes.Envelope.StatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Envelopes.Envelope.StatusReturns the enum constant of this class with the specified name.static Envelopes.Envelope.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATED
CREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."]; -
FRAGMENT
FRAGMENT = 1 [(.io.provenance.scope.contract.description) = "Envelope sent to other parties, awaiting responses."]; -
INBOX
INBOX = 2 [(.io.provenance.scope.contract.description) = "Envelope received."]; -
EXECUTED
EXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."]; -
OUTBOX
OUTBOX = 4 [(.io.provenance.scope.contract.description) = "Envelope response sent from non-invoker to invoker."]; -
SIGNED
SIGNED = 5 [(.io.provenance.scope.contract.description) = "Envelope is complete with all signatures."]; -
CHAINCODE
CHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."]; -
INDEX
INDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."]; -
COMPLETE
COMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."]; -
ERROR
ERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."]; -
UNRECOGNIZED
-
-
Field Details
-
CREATED_VALUE
public static final int CREATED_VALUECREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."];- See Also:
-
FRAGMENT_VALUE
public static final int FRAGMENT_VALUEFRAGMENT = 1 [(.io.provenance.scope.contract.description) = "Envelope sent to other parties, awaiting responses."];- See Also:
-
INBOX_VALUE
public static final int INBOX_VALUEINBOX = 2 [(.io.provenance.scope.contract.description) = "Envelope received."];- See Also:
-
EXECUTED_VALUE
public static final int EXECUTED_VALUEEXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."];- See Also:
-
OUTBOX_VALUE
public static final int OUTBOX_VALUEOUTBOX = 4 [(.io.provenance.scope.contract.description) = "Envelope response sent from non-invoker to invoker."];- See Also:
-
SIGNED_VALUE
public static final int SIGNED_VALUESIGNED = 5 [(.io.provenance.scope.contract.description) = "Envelope is complete with all signatures."];- See Also:
-
CHAINCODE_VALUE
public static final int CHAINCODE_VALUECHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."];- See Also:
-
INDEX_VALUE
public static final int INDEX_VALUEINDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."];- See Also:
-
COMPLETE_VALUE
public static final int COMPLETE_VALUECOMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."];- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."];- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Envelopes.Envelope.Status> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Envelopes.Envelope.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-