Interface PackageManagementServiceOuterClass.UpdateVettedPackagesRequestOrBuilder

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

public static interface PackageManagementServiceOuterClass.UpdateVettedPackagesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getChangesList

       Changes to apply to the current vetting state of the participant on the
       specified synchronizer. The changes are applied in order.
       Any package not changed will keep their previous vetting state.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.admin.VettedPackagesChange changes = 1;
    • getChanges

       Changes to apply to the current vetting state of the participant on the
       specified synchronizer. The changes are applied in order.
       Any package not changed will keep their previous vetting state.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.admin.VettedPackagesChange changes = 1;
    • getChangesCount

      int getChangesCount()
       Changes to apply to the current vetting state of the participant on the
       specified synchronizer. The changes are applied in order.
       Any package not changed will keep their previous vetting state.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.admin.VettedPackagesChange changes = 1;
    • getChangesOrBuilderList

       Changes to apply to the current vetting state of the participant on the
       specified synchronizer. The changes are applied in order.
       Any package not changed will keep their previous vetting state.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.admin.VettedPackagesChange changes = 1;
    • getChangesOrBuilder

       Changes to apply to the current vetting state of the participant on the
       specified synchronizer. The changes are applied in order.
       Any package not changed will keep their previous vetting state.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.admin.VettedPackagesChange changes = 1;
    • getDryRun

      boolean getDryRun()
       If dry_run is true, then the changes are only prepared, but not applied. If
       a request would trigger an error when run (e.g. TOPOLOGY_DEPENDENCIES_NOT_VETTED),
       it will also trigger an error when dry_run.
      
       Use this flag to preview a change before applying it.
       Defaults to false.
      
       Optional
       
      bool dry_run = 2;
      Returns:
      The dryRun.
    • getSynchronizerId

      String getSynchronizerId()
       If set, the requested changes will take place on the specified
       synchronizer. If synchronizer_id is unset and the participant is only
       connected to a single synchronizer, that synchronizer will be used by
       default. If synchronizer_id is unset and the participant is connected to
       multiple synchronizers, the request will error out with
       PACKAGE_SERVICE_CANNOT_AUTODETECT_SYNCHRONIZER.
      
       Optional
       
      string synchronizer_id = 3;
      Returns:
      The synchronizerId.
    • getSynchronizerIdBytes

      com.google.protobuf.ByteString getSynchronizerIdBytes()
       If set, the requested changes will take place on the specified
       synchronizer. If synchronizer_id is unset and the participant is only
       connected to a single synchronizer, that synchronizer will be used by
       default. If synchronizer_id is unset and the participant is connected to
       multiple synchronizers, the request will error out with
       PACKAGE_SERVICE_CANNOT_AUTODETECT_SYNCHRONIZER.
      
       Optional
       
      string synchronizer_id = 3;
      Returns:
      The bytes for synchronizerId.
    • hasExpectedTopologySerial

      boolean hasExpectedTopologySerial()
       The serial of the last ``VettedPackages`` topology transaction of this
       participant and on this synchronizer.
      
       Execution of the request fails if this is not correct. Use this to guard
       against concurrent changes.
      
       If left unspecified, no validation is done against the last transaction's
       serial.
      
       Optional
       
      .com.daml.ledger.api.v2.PriorTopologySerial expected_topology_serial = 4;
      Returns:
      Whether the expectedTopologySerial field is set.
    • getExpectedTopologySerial

       The serial of the last ``VettedPackages`` topology transaction of this
       participant and on this synchronizer.
      
       Execution of the request fails if this is not correct. Use this to guard
       against concurrent changes.
      
       If left unspecified, no validation is done against the last transaction's
       serial.
      
       Optional
       
      .com.daml.ledger.api.v2.PriorTopologySerial expected_topology_serial = 4;
      Returns:
      The expectedTopologySerial.
    • getExpectedTopologySerialOrBuilder

      PackageReferenceOuterClass.PriorTopologySerialOrBuilder getExpectedTopologySerialOrBuilder()
       The serial of the last ``VettedPackages`` topology transaction of this
       participant and on this synchronizer.
      
       Execution of the request fails if this is not correct. Use this to guard
       against concurrent changes.
      
       If left unspecified, no validation is done against the last transaction's
       serial.
      
       Optional
       
      .com.daml.ledger.api.v2.PriorTopologySerial expected_topology_serial = 4;
    • getUpdateVettedPackagesForceFlagsList

       Controls whether potentially unsafe vetting updates are allowed.
      
       Optional: can be empty
       
      repeated .com.daml.ledger.api.v2.admin.UpdateVettedPackagesForceFlag update_vetted_packages_force_flags = 5;
      Returns:
      A list containing the updateVettedPackagesForceFlags.
    • getUpdateVettedPackagesForceFlagsCount

      int getUpdateVettedPackagesForceFlagsCount()
       Controls whether potentially unsafe vetting updates are allowed.
      
       Optional: can be empty
       
      repeated .com.daml.ledger.api.v2.admin.UpdateVettedPackagesForceFlag update_vetted_packages_force_flags = 5;
      Returns:
      The count of updateVettedPackagesForceFlags.
    • getUpdateVettedPackagesForceFlags

      PackageManagementServiceOuterClass.UpdateVettedPackagesForceFlag getUpdateVettedPackagesForceFlags(int index)
       Controls whether potentially unsafe vetting updates are allowed.
      
       Optional: can be empty
       
      repeated .com.daml.ledger.api.v2.admin.UpdateVettedPackagesForceFlag update_vetted_packages_force_flags = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The updateVettedPackagesForceFlags at the given index.
    • getUpdateVettedPackagesForceFlagsValueList

      List<Integer> getUpdateVettedPackagesForceFlagsValueList()
       Controls whether potentially unsafe vetting updates are allowed.
      
       Optional: can be empty
       
      repeated .com.daml.ledger.api.v2.admin.UpdateVettedPackagesForceFlag update_vetted_packages_force_flags = 5;
      Returns:
      A list containing the enum numeric values on the wire for updateVettedPackagesForceFlags.
    • getUpdateVettedPackagesForceFlagsValue

      int getUpdateVettedPackagesForceFlagsValue(int index)
       Controls whether potentially unsafe vetting updates are allowed.
      
       Optional: can be empty
       
      repeated .com.daml.ledger.api.v2.admin.UpdateVettedPackagesForceFlag update_vetted_packages_force_flags = 5;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of updateVettedPackagesForceFlags at the given index.