Enum Specifications.PartyType
- java.lang.Object
-
- java.lang.Enum<Specifications.PartyType>
-
- io.provenance.scope.contract.proto.Specifications.PartyType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Specifications.PartyType>
- Enclosing class:
- Specifications
public static enum Specifications.PartyType extends java.lang.Enum<Specifications.PartyType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumio.provenance.scope.contract.PartyType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFFILIATEAFFILIATE = 6;CONTROLLERCONTROLLER = 10;CUSTODIANCUSTODIAN = 4;INVESTORINVESTOR = 3;NONENONE = 0;OMNIBUSOMNIBUS = 7;ORIGINATORORIGINATOR = 1;OWNEROWNER = 5;PROVENANCEPROVENANCE = 8;SERVICERSERVICER = 2;UNRECOGNIZEDVALIDATORVALIDATOR = 11;
-
Field Summary
Fields Modifier and Type Field Description static intAFFILIATE_VALUEAFFILIATE = 6;static intCONTROLLER_VALUECONTROLLER = 10;static intCUSTODIAN_VALUECUSTODIAN = 4;static intINVESTOR_VALUEINVESTOR = 3;static intNONE_VALUENONE = 0;static intOMNIBUS_VALUEOMNIBUS = 7;static intORIGINATOR_VALUEORIGINATOR = 1;static intOWNER_VALUEOWNER = 5;static intPROVENANCE_VALUEPROVENANCE = 8;static intSERVICER_VALUESERVICER = 2;static intVALIDATOR_VALUEVALIDATOR = 11;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Specifications.PartyTypeforNumber(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<Specifications.PartyType>internalGetValueMap()static Specifications.PartyTypevalueOf(int value)Deprecated.static Specifications.PartyTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Specifications.PartyTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Specifications.PartyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Specifications.PartyType NONE
NONE = 0;
-
ORIGINATOR
public static final Specifications.PartyType ORIGINATOR
ORIGINATOR = 1;
-
SERVICER
public static final Specifications.PartyType SERVICER
SERVICER = 2;
-
INVESTOR
public static final Specifications.PartyType INVESTOR
INVESTOR = 3;
-
CUSTODIAN
public static final Specifications.PartyType CUSTODIAN
CUSTODIAN = 4;
-
OWNER
public static final Specifications.PartyType OWNER
OWNER = 5;
-
AFFILIATE
public static final Specifications.PartyType AFFILIATE
AFFILIATE = 6;
-
OMNIBUS
public static final Specifications.PartyType OMNIBUS
OMNIBUS = 7;
-
PROVENANCE
public static final Specifications.PartyType PROVENANCE
PROVENANCE = 8;
-
CONTROLLER
public static final Specifications.PartyType CONTROLLER
CONTROLLER = 10;
-
VALIDATOR
public static final Specifications.PartyType VALIDATOR
VALIDATOR = 11;
-
UNRECOGNIZED
public static final Specifications.PartyType UNRECOGNIZED
-
-
Field Detail
-
NONE_VALUE
public static final int NONE_VALUE
NONE = 0;- See Also:
- Constant Field Values
-
ORIGINATOR_VALUE
public static final int ORIGINATOR_VALUE
ORIGINATOR = 1;- See Also:
- Constant Field Values
-
SERVICER_VALUE
public static final int SERVICER_VALUE
SERVICER = 2;- See Also:
- Constant Field Values
-
INVESTOR_VALUE
public static final int INVESTOR_VALUE
INVESTOR = 3;- See Also:
- Constant Field Values
-
CUSTODIAN_VALUE
public static final int CUSTODIAN_VALUE
CUSTODIAN = 4;- See Also:
- Constant Field Values
-
OWNER_VALUE
public static final int OWNER_VALUE
OWNER = 5;- See Also:
- Constant Field Values
-
AFFILIATE_VALUE
public static final int AFFILIATE_VALUE
AFFILIATE = 6;- See Also:
- Constant Field Values
-
OMNIBUS_VALUE
public static final int OMNIBUS_VALUE
OMNIBUS = 7;- See Also:
- Constant Field Values
-
PROVENANCE_VALUE
public static final int PROVENANCE_VALUE
PROVENANCE = 8;- See Also:
- Constant Field Values
-
CONTROLLER_VALUE
public static final int CONTROLLER_VALUE
CONTROLLER = 10;- See Also:
- Constant Field Values
-
VALIDATOR_VALUE
public static final int VALIDATOR_VALUE
VALIDATOR = 11;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Specifications.PartyType[] 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 (Specifications.PartyType c : Specifications.PartyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Specifications.PartyType 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 Specifications.PartyType 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 Specifications.PartyType 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<Specifications.PartyType> 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 Specifications.PartyType 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
-
-