Package com.daml.ledger.api.v2
Interface ValueOuterClass.IdentifierOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ValueOuterClass.Identifier
,ValueOuterClass.Identifier.Builder
- Enclosing class:
- ValueOuterClass
public static interface ValueOuterClass.IdentifierOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe dot-separated name of the entity (e.g.com.google.protobuf.ByteString
The dot-separated name of the entity (e.g.The dot-separated module name of the identifier.com.google.protobuf.ByteString
The dot-separated module name of the identifier.Generally, the identifier of the Daml package that contains the entity.com.google.protobuf.ByteString
Generally, the identifier of the Daml package that contains the entity.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
-
getPackageId
String getPackageId()Generally, the identifier of the Daml package that contains the entity. When encoding a package-id, it must be a valid PackageIdString. The field is overloaded to also be able to contain the package-name of the Daml package. This is supported if the entity referenced is either an interface or template. When representing the Daml package-name, the encoding is of form `#<package-name>` where `#` (not a valid package-id character) is used as a discriminator for signalling a package-name encoding. Required
string package_id = 1 [json_name = "packageId"];
- Returns:
- The packageId.
-
getPackageIdBytes
com.google.protobuf.ByteString getPackageIdBytes()Generally, the identifier of the Daml package that contains the entity. When encoding a package-id, it must be a valid PackageIdString. The field is overloaded to also be able to contain the package-name of the Daml package. This is supported if the entity referenced is either an interface or template. When representing the Daml package-name, the encoding is of form `#<package-name>` where `#` (not a valid package-id character) is used as a discriminator for signalling a package-name encoding. Required
string package_id = 1 [json_name = "packageId"];
- Returns:
- The bytes for packageId.
-
getModuleName
String getModuleName()The dot-separated module name of the identifier. Required
string module_name = 2 [json_name = "moduleName"];
- Returns:
- The moduleName.
-
getModuleNameBytes
com.google.protobuf.ByteString getModuleNameBytes()The dot-separated module name of the identifier. Required
string module_name = 2 [json_name = "moduleName"];
- Returns:
- The bytes for moduleName.
-
getEntityName
String getEntityName()The dot-separated name of the entity (e.g. record, template, ...) within the module. Required
string entity_name = 3 [json_name = "entityName"];
- Returns:
- The entityName.
-
getEntityNameBytes
com.google.protobuf.ByteString getEntityNameBytes()The dot-separated name of the entity (e.g. record, template, ...) within the module. Required
string entity_name = 3 [json_name = "entityName"];
- Returns:
- The bytes for entityName.
-