Interface InteractiveSubmissionServiceOuterClass.GetPreferredPackagesResponseOrBuilder

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

public static interface InteractiveSubmissionServiceOuterClass.GetPreferredPackagesResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getPackageReferencesList

       The package references of the preferred packages.
       Must contain one package reference for each requested package-name.
      
       If you build command submissions whose content depends on the returned
       preferred packages, then we recommend submitting the preferred package-ids
       in the ``package_id_selection_preference`` of the command submission to
       avoid race conditions with concurrent changes of the on-ledger package vetting state.
      
       Required
       
      repeated .com.daml.ledger.api.v2.PackageReference package_references = 1 [json_name = "packageReferences"];
    • getPackageReferences

      PackageReferenceOuterClass.PackageReference getPackageReferences(int index)
       The package references of the preferred packages.
       Must contain one package reference for each requested package-name.
      
       If you build command submissions whose content depends on the returned
       preferred packages, then we recommend submitting the preferred package-ids
       in the ``package_id_selection_preference`` of the command submission to
       avoid race conditions with concurrent changes of the on-ledger package vetting state.
      
       Required
       
      repeated .com.daml.ledger.api.v2.PackageReference package_references = 1 [json_name = "packageReferences"];
    • getPackageReferencesCount

      int getPackageReferencesCount()
       The package references of the preferred packages.
       Must contain one package reference for each requested package-name.
      
       If you build command submissions whose content depends on the returned
       preferred packages, then we recommend submitting the preferred package-ids
       in the ``package_id_selection_preference`` of the command submission to
       avoid race conditions with concurrent changes of the on-ledger package vetting state.
      
       Required
       
      repeated .com.daml.ledger.api.v2.PackageReference package_references = 1 [json_name = "packageReferences"];
    • getPackageReferencesOrBuilderList

      List<? extends PackageReferenceOuterClass.PackageReferenceOrBuilder> getPackageReferencesOrBuilderList()
       The package references of the preferred packages.
       Must contain one package reference for each requested package-name.
      
       If you build command submissions whose content depends on the returned
       preferred packages, then we recommend submitting the preferred package-ids
       in the ``package_id_selection_preference`` of the command submission to
       avoid race conditions with concurrent changes of the on-ledger package vetting state.
      
       Required
       
      repeated .com.daml.ledger.api.v2.PackageReference package_references = 1 [json_name = "packageReferences"];
    • getPackageReferencesOrBuilder

      PackageReferenceOuterClass.PackageReferenceOrBuilder getPackageReferencesOrBuilder(int index)
       The package references of the preferred packages.
       Must contain one package reference for each requested package-name.
      
       If you build command submissions whose content depends on the returned
       preferred packages, then we recommend submitting the preferred package-ids
       in the ``package_id_selection_preference`` of the command submission to
       avoid race conditions with concurrent changes of the on-ledger package vetting state.
      
       Required
       
      repeated .com.daml.ledger.api.v2.PackageReference package_references = 1 [json_name = "packageReferences"];
    • getSynchronizerId

      String getSynchronizerId()
       The synchronizer for which the package preferences are computed.
       If the synchronizer_id was specified in the request, then it matches the request synchronizer_id.
       Required
       
      string synchronizer_id = 2 [json_name = "synchronizerId"];
      Returns:
      The synchronizerId.
    • getSynchronizerIdBytes

      com.google.protobuf.ByteString getSynchronizerIdBytes()
       The synchronizer for which the package preferences are computed.
       If the synchronizer_id was specified in the request, then it matches the request synchronizer_id.
       Required
       
      string synchronizer_id = 2 [json_name = "synchronizerId"];
      Returns:
      The bytes for synchronizerId.