Package com.daml.ledger.api.v2.admin
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 Summary
Modifier and TypeMethodDescriptiongetChanges(int index) Changes to apply to the current vetting state of the participant on the specified synchronizer.intChanges to apply to the current vetting state of the participant on the specified synchronizer.Changes to apply to the current vetting state of the participant on the specified synchronizer.getChangesOrBuilder(int index) Changes to apply to the current vetting state of the participant on the specified synchronizer.Changes to apply to the current vetting state of the participant on the specified synchronizer.booleanIf dry_run is true, then the changes are only prepared, but not applied.The serial of the last ``VettedPackages`` topology transaction of this participant and on this synchronizer.The serial of the last ``VettedPackages`` topology transaction of this participant and on this synchronizer.If set, the requested changes will take place on the specified synchronizer.com.google.protobuf.ByteStringIf set, the requested changes will take place on the specified synchronizer.getUpdateVettedPackagesForceFlags(int index) Controls whether potentially unsafe vetting updates are allowed.intControls whether potentially unsafe vetting updates are allowed.Controls whether potentially unsafe vetting updates are allowed.intgetUpdateVettedPackagesForceFlagsValue(int index) Controls whether potentially unsafe vetting updates are allowed.Controls whether potentially unsafe vetting updates are allowed.booleanThe serial of the last ``VettedPackages`` topology transaction of this participant and on this synchronizer.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getChangesList
List<PackageManagementServiceOuterClass.VettedPackagesChange> 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
List<? extends PackageManagementServiceOuterClass.VettedPackagesChangeOrBuilder> 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
PackageReferenceOuterClass.PriorTopologySerial 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
List<PackageManagementServiceOuterClass.UpdateVettedPackagesForceFlag> 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
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.
-