Package com.daml.ledger.api.v2
Interface EventOuterClass.InterfaceViewOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EventOuterClass.InterfaceView,EventOuterClass.InterfaceView.Builder
- Enclosing class:
EventOuterClass
public static interface EventOuterClass.InterfaceViewOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe package defining the interface implementation used to compute the view.com.google.protobuf.ByteStringThe package defining the interface implementation used to compute the view.com.daml.ledger.api.v2.ValueOuterClass.IdentifierThe interface implemented by the matched event.com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilderThe interface implemented by the matched event.com.google.rpc.StatusWhether the view was successfully computed, and if not, the reason for the error.com.google.rpc.StatusOrBuilderWhether the view was successfully computed, and if not, the reason for the error.com.daml.ledger.api.v2.ValueOuterClass.RecordThe value of the interface's view method on this event.com.daml.ledger.api.v2.ValueOuterClass.RecordOrBuilderThe value of the interface's view method on this event.booleanThe interface implemented by the matched event.booleanWhether the view was successfully computed, and if not, the reason for the error.booleanThe value of the interface's view method on this event.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInterfaceId
boolean hasInterfaceId()The interface implemented by the matched event. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1;- Returns:
- Whether the interfaceId field is set.
-
getInterfaceId
com.daml.ledger.api.v2.ValueOuterClass.Identifier getInterfaceId()The interface implemented by the matched event. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1;- Returns:
- The interfaceId.
-
getInterfaceIdOrBuilder
com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilder getInterfaceIdOrBuilder()The interface implemented by the matched event. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1; -
hasViewStatus
boolean hasViewStatus()Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2;- Returns:
- Whether the viewStatus field is set.
-
getViewStatus
com.google.rpc.Status getViewStatus()Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2;- Returns:
- The viewStatus.
-
getViewStatusOrBuilder
com.google.rpc.StatusOrBuilder getViewStatusOrBuilder()Whether the view was successfully computed, and if not, the reason for the error. The error is reported using the same rules for error codes and messages as the errors returned for API requests. Required
.google.rpc.Status view_status = 2; -
hasViewValue
boolean hasViewValue()The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be successfully computed. Optional
.com.daml.ledger.api.v2.Record view_value = 3;- Returns:
- Whether the viewValue field is set.
-
getViewValue
com.daml.ledger.api.v2.ValueOuterClass.Record getViewValue()The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be successfully computed. Optional
.com.daml.ledger.api.v2.Record view_value = 3;- Returns:
- The viewValue.
-
getViewValueOrBuilder
com.daml.ledger.api.v2.ValueOuterClass.RecordOrBuilder getViewValueOrBuilder()The value of the interface's view method on this event. Set if it was requested in the ``InterfaceFilter`` and it could be successfully computed. Optional
.com.daml.ledger.api.v2.Record view_value = 3; -
getImplementationPackageId
String getImplementationPackageId()The package defining the interface implementation used to compute the view. Can be different from the package that was used to create the contract itself, as the contract arguments can be upgraded or downgraded using smart-contract upgrading as part of computing the interface view. Populated if the view computation is successful, otherwise empty. Optional
string implementation_package_id = 4;- Returns:
- The implementationPackageId.
-
getImplementationPackageIdBytes
com.google.protobuf.ByteString getImplementationPackageIdBytes()The package defining the interface implementation used to compute the view. Can be different from the package that was used to create the contract itself, as the contract arguments can be upgraded or downgraded using smart-contract upgrading as part of computing the interface view. Populated if the view computation is successful, otherwise empty. Optional
string implementation_package_id = 4;- Returns:
- The bytes for implementationPackageId.
-