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 Type
    Method
    Description
    The package defining the interface implementation used to compute the view.
    com.google.protobuf.ByteString
    The package defining the interface implementation used to compute the view.
    com.daml.ledger.api.v2.ValueOuterClass.Identifier
    The interface implemented by the matched event.
    com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilder
    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.
    com.daml.ledger.api.v2.ValueOuterClass.Record
    The value of the interface's view method on this event.
    com.daml.ledger.api.v2.ValueOuterClass.RecordOrBuilder
    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;
      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.