org.bitcoinj.wallet
Enum Protos.TransactionConfidence.Type

java.lang.Object
  extended by java.lang.Enum<Protos.TransactionConfidence.Type>
      extended by org.bitcoinj.wallet.Protos.TransactionConfidence.Type
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Protos.TransactionConfidence.Type>
Enclosing class:
Protos.TransactionConfidence

public static enum Protos.TransactionConfidence.Type
extends Enum<Protos.TransactionConfidence.Type>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum wallet.TransactionConfidence.Type


Enum Constant Summary
BUILDING
          BUILDING = 1;
DEAD
          DEAD = 4;
NOT_IN_BEST_CHAIN
          NOT_IN_BEST_CHAIN = 3;
PENDING
          PENDING = 2;
UNKNOWN
          UNKNOWN = 0;
 
Field Summary
static int BUILDING_VALUE
          BUILDING = 1;
static int DEAD_VALUE
          DEAD = 4;
static int NOT_IN_BEST_CHAIN_VALUE
          NOT_IN_BEST_CHAIN = 3;
static int PENDING_VALUE
          PENDING = 2;
static int UNKNOWN_VALUE
          UNKNOWN = 0;
 
Method Summary
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
           
 com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
           
 int getNumber()
           
 com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
           
static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Type> internalGetValueMap()
           
static Protos.TransactionConfidence.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static Protos.TransactionConfidence.Type valueOf(int value)
           
static Protos.TransactionConfidence.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Protos.TransactionConfidence.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final Protos.TransactionConfidence.Type UNKNOWN
UNKNOWN = 0;


BUILDING

public static final Protos.TransactionConfidence.Type BUILDING
BUILDING = 1;
 In best chain.  If and only if appeared_at_height is present.
 


PENDING

public static final Protos.TransactionConfidence.Type PENDING
PENDING = 2;
 Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
 


NOT_IN_BEST_CHAIN

public static final Protos.TransactionConfidence.Type NOT_IN_BEST_CHAIN
NOT_IN_BEST_CHAIN = 3;
 Deprecated: equivalent to PENDING.
 


DEAD

public static final Protos.TransactionConfidence.Type DEAD
DEAD = 4;
 Either if overriding_transaction is present or transaction is dead coinbase
 

Field Detail

UNKNOWN_VALUE

public static final int UNKNOWN_VALUE
UNKNOWN = 0;

See Also:
Constant Field Values

BUILDING_VALUE

public static final int BUILDING_VALUE
BUILDING = 1;
 In best chain.  If and only if appeared_at_height is present.
 

See Also:
Constant Field Values

PENDING_VALUE

public static final int PENDING_VALUE
PENDING = 2;
 Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
 

See Also:
Constant Field Values

NOT_IN_BEST_CHAIN_VALUE

public static final int NOT_IN_BEST_CHAIN_VALUE
NOT_IN_BEST_CHAIN = 3;
 Deprecated: equivalent to PENDING.
 

See Also:
Constant Field Values

DEAD_VALUE

public static final int DEAD_VALUE
DEAD = 4;
 Either if overriding_transaction is present or transaction is dead coinbase
 

See Also:
Constant Field Values
Method Detail

values

public static Protos.TransactionConfidence.Type[] 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 (Protos.TransactionConfidence.Type c : Protos.TransactionConfidence.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Protos.TransactionConfidence.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
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

public static Protos.TransactionConfidence.Type valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Type> 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 Protos.TransactionConfidence.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2014. All rights reserved.