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 Type
    Method
    Description
    com.google.protobuf.ByteString
    Contains a Daml archive DAR file, which in turn is a jar like zipped container for ``daml_lf`` archives.
    Unique submission identifier.
    com.google.protobuf.ByteString
    Unique 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.ByteString
    Only 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 Optional
    int
    How to vet packages in the DAR being uploaded Optional

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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.