Enum 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,java.io.Serializable,java.lang.Comparable<Envelopes.Envelope.Status>
- Enclosing class:
- Envelopes.Envelope
public static enum Envelopes.Envelope.Status extends java.lang.Enum<Envelopes.Envelope.Status> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumio.provenance.scope.contract.Envelope.Status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHAINCODECHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."];COMPLETECOMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."];CREATEDCREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."];ERRORERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."];EXECUTEDEXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."];FRAGMENTFRAGMENT = 1 [(.io.provenance.scope.contract.description) = "Envelope sent to other parties, awaiting responses."];INBOXINBOX = 2 [(.io.provenance.scope.contract.description) = "Envelope received."];INDEXINDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."];OUTBOXOUTBOX = 4 [(.io.provenance.scope.contract.description) = "Envelope response sent from non-invoker to invoker."];SIGNEDSIGNED = 5 [(.io.provenance.scope.contract.description) = "Envelope is complete with all signatures."];UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCHAINCODE_VALUECHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."];static intCOMPLETE_VALUECOMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."];static intCREATED_VALUECREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."];static intERROR_VALUEERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."];static intEXECUTED_VALUEEXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."];static intFRAGMENT_VALUEFRAGMENT = 1 [(.io.provenance.scope.contract.description) = "Envelope sent to other parties, awaiting responses."];static intINBOX_VALUEINBOX = 2 [(.io.provenance.scope.contract.description) = "Envelope received."];static intINDEX_VALUEINDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."];static intOUTBOX_VALUEOUTBOX = 4 [(.io.provenance.scope.contract.description) = "Envelope response sent from non-invoker to invoker."];static intSIGNED_VALUESIGNED = 5 [(.io.provenance.scope.contract.description) = "Envelope is complete with all signatures."];
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Envelopes.Envelope.StatusforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Envelopes.Envelope.Status>internalGetValueMap()static Envelopes.Envelope.StatusvalueOf(int value)Deprecated.static Envelopes.Envelope.StatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Envelopes.Envelope.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Envelopes.Envelope.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final Envelopes.Envelope.Status CREATED
CREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."];
-
FRAGMENT
public static final Envelopes.Envelope.Status FRAGMENT
FRAGMENT = 1 [(.io.provenance.scope.contract.description) = "Envelope sent to other parties, awaiting responses."];
-
INBOX
public static final Envelopes.Envelope.Status INBOX
INBOX = 2 [(.io.provenance.scope.contract.description) = "Envelope received."];
-
EXECUTED
public static final Envelopes.Envelope.Status EXECUTED
EXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."];
-
OUTBOX
public static final Envelopes.Envelope.Status OUTBOX
OUTBOX = 4 [(.io.provenance.scope.contract.description) = "Envelope response sent from non-invoker to invoker."];
-
SIGNED
public static final Envelopes.Envelope.Status SIGNED
SIGNED = 5 [(.io.provenance.scope.contract.description) = "Envelope is complete with all signatures."];
-
CHAINCODE
public static final Envelopes.Envelope.Status CHAINCODE
CHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."];
-
INDEX
public static final Envelopes.Envelope.Status INDEX
INDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."];
-
COMPLETE
public static final Envelopes.Envelope.Status COMPLETE
COMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."];
-
ERROR
public static final Envelopes.Envelope.Status ERROR
ERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."];
-
UNRECOGNIZED
public static final Envelopes.Envelope.Status UNRECOGNIZED
-
-
Field Detail
-
CREATED_VALUE
public static final int CREATED_VALUE
CREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."];- See Also:
- Constant Field Values
-
FRAGMENT_VALUE
public static final int FRAGMENT_VALUE
FRAGMENT = 1 [(.io.provenance.scope.contract.description) = "Envelope sent to other parties, awaiting responses."];- See Also:
- Constant Field Values
-
INBOX_VALUE
public static final int INBOX_VALUE
INBOX = 2 [(.io.provenance.scope.contract.description) = "Envelope received."];- See Also:
- Constant Field Values
-
EXECUTED_VALUE
public static final int EXECUTED_VALUE
EXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."];- See Also:
- Constant Field Values
-
OUTBOX_VALUE
public static final int OUTBOX_VALUE
OUTBOX = 4 [(.io.provenance.scope.contract.description) = "Envelope response sent from non-invoker to invoker."];- See Also:
- Constant Field Values
-
SIGNED_VALUE
public static final int SIGNED_VALUE
SIGNED = 5 [(.io.provenance.scope.contract.description) = "Envelope is complete with all signatures."];- See Also:
- Constant Field Values
-
CHAINCODE_VALUE
public static final int CHAINCODE_VALUE
CHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."];- See Also:
- Constant Field Values
-
INDEX_VALUE
public static final int INDEX_VALUE
INDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."];- See Also:
- Constant Field Values
-
COMPLETE_VALUE
public static final int COMPLETE_VALUE
COMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."];- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
ERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."];- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Envelopes.Envelope.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Envelopes.Envelope.Status c : Envelopes.Envelope.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Envelopes.Envelope.Status valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static Envelopes.Envelope.Status valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Envelopes.Envelope.Status forNumber(int value)
- 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-