Interface CommandInspectionServiceOuterClass.ContractOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CommandInspectionServiceOuterClass.Contract, CommandInspectionServiceOuterClass.Contract.Builder
Enclosing class:
CommandInspectionServiceOuterClass

public static interface CommandInspectionServiceOuterClass.ContractOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The contract's ID Required
    com.google.protobuf.ByteString
    The contract's ID Required
    com.daml.ledger.api.v2.ValueOuterClass.Value
    The contract key, if defined Optional
    com.daml.ledger.api.v2.ValueOuterClass.ValueOrBuilder
    The contract key, if defined Optional
    com.daml.ledger.api.v2.ValueOuterClass.Identifier
    The identifier of the template used to create the contract.
    com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilder
    The identifier of the template used to create the contract.
    boolean
    The contract key, if defined Optional
    boolean
    The identifier of the template used to create the contract.

    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

    • hasTemplateId

      boolean hasTemplateId()
       The identifier of the template used to create the contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 1;
      Returns:
      Whether the templateId field is set.
    • getTemplateId

      com.daml.ledger.api.v2.ValueOuterClass.Identifier getTemplateId()
       The identifier of the template used to create the contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 1;
      Returns:
      The templateId.
    • getTemplateIdOrBuilder

      com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
       The identifier of the template used to create the contract.
       The identifier uses the package-id reference format.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 1;
    • getContractId

      String getContractId()
       The contract's ID
      
       Required
       
      string contract_id = 2;
      Returns:
      The contractId.
    • getContractIdBytes

      com.google.protobuf.ByteString getContractIdBytes()
       The contract's ID
      
       Required
       
      string contract_id = 2;
      Returns:
      The bytes for contractId.
    • hasContractKey

      boolean hasContractKey()
       The contract key, if defined
      
       Optional
       
      .com.daml.ledger.api.v2.Value contract_key = 3;
      Returns:
      Whether the contractKey field is set.
    • getContractKey

      com.daml.ledger.api.v2.ValueOuterClass.Value getContractKey()
       The contract key, if defined
      
       Optional
       
      .com.daml.ledger.api.v2.Value contract_key = 3;
      Returns:
      The contractKey.
    • getContractKeyOrBuilder

      com.daml.ledger.api.v2.ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()
       The contract key, if defined
      
       Optional
       
      .com.daml.ledger.api.v2.Value contract_key = 3;