Package com.daml.ledger.api.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersionServiceOuterClass.FeaturesDescriptor
getFeatures()
The features supported by this Ledger API endpoint.VersionServiceOuterClass.FeaturesDescriptorOrBuilder
getFeaturesOrBuilder()
The features supported by this Ledger API endpoint.java.lang.String
getVersion()
The version of the ledger API.com.google.protobuf.ByteString
getVersionBytes()
The version of the ledger API.boolean
hasFeatures()
The features supported by this Ledger API endpoint.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVersion
java.lang.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.v1.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.v1.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.v1.FeaturesDescriptor features = 2 [json_name = "features"];
-
-