Package com.daml.ledger.api.v1.admin
Interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PackageManagementServiceOuterClass.PackageDetails
,PackageManagementServiceOuterClass.PackageDetails.Builder
- Enclosing class:
- PackageManagementServiceOuterClass
public static interface PackageManagementServiceOuterClass.PackageDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getKnownSince()
Indicates since when the package is known to the backing participant.com.google.protobuf.TimestampOrBuilder
getKnownSinceOrBuilder()
Indicates since when the package is known to the backing participant.java.lang.String
getPackageId()
The identity of the Daml-LF package.com.google.protobuf.ByteString
getPackageIdBytes()
The identity of the Daml-LF package.long
getPackageSize()
Size of the package in bytes.java.lang.String
getSourceDescription()
Description provided by the backing participant describing where it got the package from.com.google.protobuf.ByteString
getSourceDescriptionBytes()
Description provided by the backing participant describing where it got the package from.boolean
hasKnownSince()
Indicates since when the package is known to the backing participant.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPackageId
java.lang.String getPackageId()
The identity of the Daml-LF package. Must be a valid PackageIdString (as describe in ``value.proto``). Required
string package_id = 1 [json_name = "packageId"];
- Returns:
- The packageId.
-
getPackageIdBytes
com.google.protobuf.ByteString getPackageIdBytes()
The identity of the Daml-LF package. Must be a valid PackageIdString (as describe in ``value.proto``). Required
string package_id = 1 [json_name = "packageId"];
- Returns:
- The bytes for packageId.
-
getPackageSize
long getPackageSize()
Size of the package in bytes. The size of the package is given by the size of the ``daml_lf`` ArchivePayload. See further details in ``daml_lf.proto``. Required
uint64 package_size = 2 [json_name = "packageSize"];
- Returns:
- The packageSize.
-
hasKnownSince
boolean hasKnownSince()
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3 [json_name = "knownSince"];
- Returns:
- Whether the knownSince field is set.
-
getKnownSince
com.google.protobuf.Timestamp getKnownSince()
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3 [json_name = "knownSince"];
- Returns:
- The knownSince.
-
getKnownSinceOrBuilder
com.google.protobuf.TimestampOrBuilder getKnownSinceOrBuilder()
Indicates since when the package is known to the backing participant. Required
.google.protobuf.Timestamp known_since = 3 [json_name = "knownSince"];
-
getSourceDescription
java.lang.String getSourceDescription()
Description provided by the backing participant describing where it got the package from. Optional
string source_description = 4 [json_name = "sourceDescription"];
- Returns:
- The sourceDescription.
-
getSourceDescriptionBytes
com.google.protobuf.ByteString getSourceDescriptionBytes()
Description provided by the backing participant describing where it got the package from. Optional
string source_description = 4 [json_name = "sourceDescription"];
- Returns:
- The bytes for sourceDescription.
-
-