Package com.daml.ledger.api.v2.admin
Interface PackageManagementServiceOuterClass.UploadDarFileRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PackageManagementServiceOuterClass.UploadDarFileRequest,PackageManagementServiceOuterClass.UploadDarFileRequest.Builder
- Enclosing class:
PackageManagementServiceOuterClass
public static interface PackageManagementServiceOuterClass.UploadDarFileRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringContains a Daml archive DAR file, which in turn is a jar like zipped container for ``daml_lf`` archives.Unique submission identifier.com.google.protobuf.ByteStringUnique submission identifier.Only used if VettingChange is set to VETTING_CHANGE_VET_ALL_PACKAGES, in order to specify which synchronizer to vet on.com.google.protobuf.ByteStringOnly used if VettingChange is set to VETTING_CHANGE_VET_ALL_PACKAGES, in order to specify which synchronizer to vet on.How to vet packages in the DAR being uploaded OptionalintHow to vet packages in the DAR being uploaded OptionalMethods 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
-
getDarFile
com.google.protobuf.ByteString getDarFile()Contains a Daml archive DAR file, which in turn is a jar like zipped container for ``daml_lf`` archives. See further details in ``daml_lf.proto``. Required: must be non-empty
bytes dar_file = 1;- Returns:
- The darFile.
-
getSubmissionId
String getSubmissionId()Unique submission identifier. If not populated, a random identifier will be generated. Optional
string submission_id = 2;- Returns:
- The submissionId.
-
getSubmissionIdBytes
com.google.protobuf.ByteString getSubmissionIdBytes()Unique submission identifier. If not populated, a random identifier will be generated. Optional
string submission_id = 2;- Returns:
- The bytes for submissionId.
-
getVettingChangeValue
int getVettingChangeValue()How to vet packages in the DAR being uploaded Optional
.com.daml.ledger.api.v2.admin.UploadDarFileRequest.VettingChange vetting_change = 3;- Returns:
- The enum numeric value on the wire for vettingChange.
-
getVettingChange
PackageManagementServiceOuterClass.UploadDarFileRequest.VettingChange getVettingChange()How to vet packages in the DAR being uploaded Optional
.com.daml.ledger.api.v2.admin.UploadDarFileRequest.VettingChange vetting_change = 3;- Returns:
- The vettingChange.
-
getSynchronizerId
String getSynchronizerId()Only used if VettingChange is set to VETTING_CHANGE_VET_ALL_PACKAGES, in order to specify which synchronizer to vet on. If synchronizer_id is set, the synchronizer with this ID will be used. 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 = 4;- Returns:
- The synchronizerId.
-
getSynchronizerIdBytes
com.google.protobuf.ByteString getSynchronizerIdBytes()Only used if VettingChange is set to VETTING_CHANGE_VET_ALL_PACKAGES, in order to specify which synchronizer to vet on. If synchronizer_id is set, the synchronizer with this ID will be used. 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 = 4;- Returns:
- The bytes for synchronizerId.
-