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 Summary
Modifier and TypeMethodDescriptiongetPackageReferences(int index) The package references of the preferred packages.intThe package references of the preferred packages.The package references of the preferred packages.getPackageReferencesOrBuilder(int index) The package references of the preferred packages.The package references of the preferred packages.The synchronizer for which the package preferences are computed.com.google.protobuf.ByteStringThe synchronizer for which the package preferences are computed.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
-
getPackageReferencesList
List<PackageReferenceOuterClass.PackageReference> 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
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
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.
-