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 interface implemented by the matched event.The interface implemented by the matched event.com.google.rpc.Status
Whether the view was successfully computed, and if not, the reason for the error.com.google.rpc.StatusOrBuilder
Whether the view was successfully computed, and if not, the reason for the error.The value of the interface's view method on this event.The value of the interface's view method on this event.boolean
The interface implemented by the matched event.boolean
Whether the view was successfully computed, and if not, the reason for the error.boolean
The value of the interface's view method on this event.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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 [json_name = "interfaceId"];
- Returns:
- Whether the interfaceId field is set.
-
getInterfaceId
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 [json_name = "interfaceId"];
- Returns:
- The interfaceId.
-
getInterfaceIdOrBuilder
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 [json_name = "interfaceId"];
-
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 [json_name = "viewStatus"];
- 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 [json_name = "viewStatus"];
- 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 [json_name = "viewStatus"];
-
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 sucessfully computed. Optional
.com.daml.ledger.api.v2.Record view_value = 3 [json_name = "viewValue"];
- Returns:
- Whether the viewValue field is set.
-
getViewValue
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 sucessfully computed. Optional
.com.daml.ledger.api.v2.Record view_value = 3 [json_name = "viewValue"];
- Returns:
- The viewValue.
-
getViewValueOrBuilder
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 sucessfully computed. Optional
.com.daml.ledger.api.v2.Record view_value = 3 [json_name = "viewValue"];
-