Package com.daml.ledger.api.v2
Enum Class TransactionFilterOuterClass.TransactionShape
java.lang.Object
java.lang.Enum<TransactionFilterOuterClass.TransactionShape>
com.daml.ledger.api.v2.TransactionFilterOuterClass.TransactionShape
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<TransactionFilterOuterClass.TransactionShape>
,Constable
- Enclosing class:
- TransactionFilterOuterClass
public static enum TransactionFilterOuterClass.TransactionShape
extends Enum<TransactionFilterOuterClass.TransactionShape>
implements com.google.protobuf.ProtocolMessageEnum
Event shape for Transactions. Shapes are exclusive and only one of them can be defined in queries.Protobuf enum
com.daml.ledger.api.v2.TransactionShape
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTransaction shape that is sufficient to maintain an accurate ACS view.Transaction shape that allows maintaining an ACS and also conveys detailed information about all exercises.Following official proto3 convention, not intended for actual use. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Transaction shape that is sufficient to maintain an accurate ACS view.static final int
Transaction shape that allows maintaining an ACS and also conveys detailed information about all exercises.static final int
Following official proto3 convention, not intended for actual use. -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<TransactionFilterOuterClass.TransactionShape>
valueOf
(int value) Deprecated.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRANSACTION_SHAPE_UNSPECIFIED
Following official proto3 convention, not intended for actual use.
TRANSACTION_SHAPE_UNSPECIFIED = 0;
-
TRANSACTION_SHAPE_ACS_DELTA
Transaction shape that is sufficient to maintain an accurate ACS view. The field witness_parties in events are populated as stakeholders, transaction filter will apply accordingly. This translates to create and archive events.
TRANSACTION_SHAPE_ACS_DELTA = 1;
-
TRANSACTION_SHAPE_LEDGER_EFFECTS
Transaction shape that allows maintaining an ACS and also conveys detailed information about all exercises. The field witness_parties in events are populated as cumulative informees, transaction filter will apply accordingly. This translates to create, consuming exercise and non-consuming exercise.
TRANSACTION_SHAPE_LEDGER_EFFECTS = 2;
-
UNRECOGNIZED
-
-
Field Details
-
TRANSACTION_SHAPE_UNSPECIFIED_VALUE
public static final int TRANSACTION_SHAPE_UNSPECIFIED_VALUEFollowing official proto3 convention, not intended for actual use.
TRANSACTION_SHAPE_UNSPECIFIED = 0;
- See Also:
-
TRANSACTION_SHAPE_ACS_DELTA_VALUE
public static final int TRANSACTION_SHAPE_ACS_DELTA_VALUETransaction shape that is sufficient to maintain an accurate ACS view. The field witness_parties in events are populated as stakeholders, transaction filter will apply accordingly. This translates to create and archive events.
TRANSACTION_SHAPE_ACS_DELTA = 1;
- See Also:
-
TRANSACTION_SHAPE_LEDGER_EFFECTS_VALUE
public static final int TRANSACTION_SHAPE_LEDGER_EFFECTS_VALUETransaction shape that allows maintaining an ACS and also conveys detailed information about all exercises. The field witness_parties in events are populated as cumulative informees, transaction filter will apply accordingly. This translates to create, consuming exercise and non-consuming exercise.
TRANSACTION_SHAPE_LEDGER_EFFECTS = 2;
- 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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<TransactionFilterOuterClass.TransactionShape> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static TransactionFilterOuterClass.TransactionShape 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
-