Package com.daml.ledger.api.v2
Interface PackageServiceOuterClass.ListPackagesResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PackageServiceOuterClass.ListPackagesResponse
,PackageServiceOuterClass.ListPackagesResponse.Builder
- Enclosing class:
- PackageServiceOuterClass
public static interface PackageServiceOuterClass.ListPackagesResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPackageIds
(int index) The IDs of all Daml-LF packages supported by the server.com.google.protobuf.ByteString
getPackageIdsBytes
(int index) The IDs of all Daml-LF packages supported by the server.int
The IDs of all Daml-LF packages supported by the server.The IDs of all Daml-LF packages supported by the server.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
-
getPackageIdsList
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
- Returns:
- A list containing the packageIds.
-
getPackageIdsCount
int getPackageIdsCount()The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
- Returns:
- The count of packageIds.
-
getPackageIds
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
- Parameters:
index
- The index of the element to return.- Returns:
- The packageIds at the given index.
-
getPackageIdsBytes
com.google.protobuf.ByteString getPackageIdsBytes(int index) The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the packageIds at the given index.
-