Enum 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 enum io.provenance.scope.contract.Envelope.Status
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CHAINCODE
      CHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."];
      COMPLETE
      COMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."];
      CREATED
      CREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."];
      ERROR
      ERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."];
      EXECUTED
      EXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."];
      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."];
      INDEX
      INDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."];
      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."];
      UNRECOGNIZED  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CHAINCODE_VALUE
      CHAINCODE = 6 [(.io.provenance.scope.contract.description) = "Envelope has been sent to chaincode."];
      static int COMPLETE_VALUE
      COMPLETE = 8 [(.io.provenance.scope.contract.description) = "Envelope has been completed."];
      static int CREATED_VALUE
      CREATED = 0 [(.io.provenance.scope.contract.description) = "Envelope created."];
      static int ERROR_VALUE
      ERROR = 11 [(.io.provenance.scope.contract.description) = "Envelope is in error state."];
      static int EXECUTED_VALUE
      EXECUTED = 3 [(.io.provenance.scope.contract.description) = "Envelope executed by non-invoker."];
      static int FRAGMENT_VALUE
      FRAGMENT = 1 [(.io.provenance.scope.contract.description) = "Envelope sent to other parties, awaiting responses."];
      static int INBOX_VALUE
      INBOX = 2 [(.io.provenance.scope.contract.description) = "Envelope received."];
      static int INDEX_VALUE
      INDEX = 7 [(.io.provenance.scope.contract.description) = "Envelope has been returned from chaincode."];
      static int OUTBOX_VALUE
      OUTBOX = 4 [(.io.provenance.scope.contract.description) = "Envelope response sent from non-invoker to invoker."];
      static int SIGNED_VALUE
      SIGNED = 5 [(.io.provenance.scope.contract.description) = "Envelope is complete with all signatures."];
    • 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."];
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null