Class TransactionFilterOuterClass.InterfaceFilter

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.TransactionFilterOuterClass.InterfaceFilter
All Implemented Interfaces:
TransactionFilterOuterClass.InterfaceFilterOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
TransactionFilterOuterClass

public static final class TransactionFilterOuterClass.InterfaceFilter extends com.google.protobuf.GeneratedMessageV3 implements TransactionFilterOuterClass.InterfaceFilterOrBuilder
 This filter matches contracts that implement a specific interface.
 
Protobuf type com.daml.ledger.api.v2.InterfaceFilter
See Also:
  • Field Details

    • INTERFACE_ID_FIELD_NUMBER

      public static final int INTERFACE_ID_FIELD_NUMBER
      See Also:
    • INCLUDE_INTERFACE_VIEW_FIELD_NUMBER

      public static final int INCLUDE_INTERFACE_VIEW_FIELD_NUMBER
      See Also:
    • INCLUDE_CREATED_EVENT_BLOB_FIELD_NUMBER

      public static final int INCLUDE_CREATED_EVENT_BLOB_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasInterfaceId

      public boolean hasInterfaceId()
       The interface that a matching contract must implement.
       The ``interface_id`` needs to be valid: corresponding interface should be defined in
       one of the available packages at the time of the query.
       Both package-name and package-id reference formats for the identifier are supported.
       Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"];
      Specified by:
      hasInterfaceId in interface TransactionFilterOuterClass.InterfaceFilterOrBuilder
      Returns:
      Whether the interfaceId field is set.
    • getInterfaceId

      public ValueOuterClass.Identifier getInterfaceId()
       The interface that a matching contract must implement.
       The ``interface_id`` needs to be valid: corresponding interface should be defined in
       one of the available packages at the time of the query.
       Both package-name and package-id reference formats for the identifier are supported.
       Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"];
      Specified by:
      getInterfaceId in interface TransactionFilterOuterClass.InterfaceFilterOrBuilder
      Returns:
      The interfaceId.
    • getInterfaceIdOrBuilder

      public ValueOuterClass.IdentifierOrBuilder getInterfaceIdOrBuilder()
       The interface that a matching contract must implement.
       The ``interface_id`` needs to be valid: corresponding interface should be defined in
       one of the available packages at the time of the query.
       Both package-name and package-id reference formats for the identifier are supported.
       Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"];
      Specified by:
      getInterfaceIdOrBuilder in interface TransactionFilterOuterClass.InterfaceFilterOrBuilder
    • getIncludeInterfaceView

      public boolean getIncludeInterfaceView()
       Whether to include the interface view on the contract in the returned ``CreatedEvent``.
       Use this to access contract data in a uniform manner in your API client.
       Optional
       
      bool include_interface_view = 2 [json_name = "includeInterfaceView"];
      Specified by:
      getIncludeInterfaceView in interface TransactionFilterOuterClass.InterfaceFilterOrBuilder
      Returns:
      The includeInterfaceView.
    • getIncludeCreatedEventBlob

      public boolean getIncludeCreatedEventBlob()
       Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.
       Use this to access the contract create event payload in your API client
       for submitting it as a disclosed contract with future commands.
       Optional
       
      bool include_created_event_blob = 3 [json_name = "includeCreatedEventBlob"];
      Specified by:
      getIncludeCreatedEventBlob in interface TransactionFilterOuterClass.InterfaceFilterOrBuilder
      Returns:
      The includeCreatedEventBlob.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      Throws:
      IOException
    • parseFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TransactionFilterOuterClass.InterfaceFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected TransactionFilterOuterClass.InterfaceFilter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static TransactionFilterOuterClass.InterfaceFilter getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<TransactionFilterOuterClass.InterfaceFilter> parser()
    • getParserForType

      public com.google.protobuf.Parser<TransactionFilterOuterClass.InterfaceFilter> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public TransactionFilterOuterClass.InterfaceFilter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder