Class TransactionFilterOuterClass.TemplateFilter

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.TransactionFilterOuterClass.TemplateFilter
All Implemented Interfaces:
TransactionFilterOuterClass.TemplateFilterOrBuilder, 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.TemplateFilter extends com.google.protobuf.GeneratedMessageV3 implements TransactionFilterOuterClass.TemplateFilterOrBuilder
 This filter matches contracts of a specific template.
 
Protobuf type com.daml.ledger.api.v2.TemplateFilter
See Also:
  • Field Details

    • TEMPLATE_ID_FIELD_NUMBER

      public static final int TEMPLATE_ID_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
    • hasTemplateId

      public boolean hasTemplateId()
       A template for which the payload should be included in the response.
       The ``template_id`` needs to be valid: corresponding template 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 template_id = 1 [json_name = "templateId"];
      Specified by:
      hasTemplateId in interface TransactionFilterOuterClass.TemplateFilterOrBuilder
      Returns:
      Whether the templateId field is set.
    • getTemplateId

      public ValueOuterClass.Identifier getTemplateId()
       A template for which the payload should be included in the response.
       The ``template_id`` needs to be valid: corresponding template 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 template_id = 1 [json_name = "templateId"];
      Specified by:
      getTemplateId in interface TransactionFilterOuterClass.TemplateFilterOrBuilder
      Returns:
      The templateId.
    • getTemplateIdOrBuilder

      public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
       A template for which the payload should be included in the response.
       The ``template_id`` needs to be valid: corresponding template 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 template_id = 1 [json_name = "templateId"];
      Specified by:
      getTemplateIdOrBuilder in interface TransactionFilterOuterClass.TemplateFilterOrBuilder
    • getIncludeCreatedEventBlob

      public boolean getIncludeCreatedEventBlob()
       Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.
       Use this to access the contract event payload in your API client
       for submitting it as a disclosed contract with future commands.
       Optional
       
      bool include_created_event_blob = 2 [json_name = "includeCreatedEventBlob"];
      Specified by:
      getIncludeCreatedEventBlob in interface TransactionFilterOuterClass.TemplateFilterOrBuilder
      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.TemplateFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static TransactionFilterOuterClass.TemplateFilter 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.TemplateFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static TransactionFilterOuterClass.TemplateFilter parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

      public static TransactionFilterOuterClass.TemplateFilter 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.TemplateFilter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static TransactionFilterOuterClass.TemplateFilter getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<TransactionFilterOuterClass.TemplateFilter> 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.TemplateFilter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder