Package com.daml.ledger.api.v2
Interface VersionServiceOuterClass.GetLedgerApiVersionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VersionServiceOuterClass.GetLedgerApiVersionResponse
,VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder
- Enclosing class:
- VersionServiceOuterClass
public static interface VersionServiceOuterClass.GetLedgerApiVersionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe features supported by this Ledger API endpoint.The features supported by this Ledger API endpoint.The version of the ledger API.com.google.protobuf.ByteString
The version of the ledger API.boolean
The features supported by this Ledger API endpoint.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
-
getVersion
String getVersion()The version of the ledger API.
string version = 1 [json_name = "version"];
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()The version of the ledger API.
string version = 1 [json_name = "version"];
- Returns:
- The bytes for version.
-
hasFeatures
boolean hasFeatures()The features supported by this Ledger API endpoint. Daml applications CAN use the feature descriptor on top of version constraints on the Ledger API version to determine whether a given Ledger API endpoint supports the features required to run the application. See the feature descriptions themselves for the relation between Ledger API versions and feature presence.
.com.daml.ledger.api.v2.FeaturesDescriptor features = 2 [json_name = "features"];
- Returns:
- Whether the features field is set.
-
getFeatures
VersionServiceOuterClass.FeaturesDescriptor getFeatures()The features supported by this Ledger API endpoint. Daml applications CAN use the feature descriptor on top of version constraints on the Ledger API version to determine whether a given Ledger API endpoint supports the features required to run the application. See the feature descriptions themselves for the relation between Ledger API versions and feature presence.
.com.daml.ledger.api.v2.FeaturesDescriptor features = 2 [json_name = "features"];
- Returns:
- The features.
-
getFeaturesOrBuilder
VersionServiceOuterClass.FeaturesDescriptorOrBuilder getFeaturesOrBuilder()The features supported by this Ledger API endpoint. Daml applications CAN use the feature descriptor on top of version constraints on the Ledger API version to determine whether a given Ledger API endpoint supports the features required to run the application. See the feature descriptions themselves for the relation between Ledger API versions and feature presence.
.com.daml.ledger.api.v2.FeaturesDescriptor features = 2 [json_name = "features"];
-