Package com.daml.ledger.api.v1
Class VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
- com.daml.ledger.api.v1.VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder
-
- All Implemented Interfaces:
VersionServiceOuterClass.GetLedgerApiVersionResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- VersionServiceOuterClass.GetLedgerApiVersionResponse
public static final class VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder> implements VersionServiceOuterClass.GetLedgerApiVersionResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetLedgerApiVersionResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
clear
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
getDefaultInstanceForType
public VersionServiceOuterClass.GetLedgerApiVersionResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VersionServiceOuterClass.GetLedgerApiVersionResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VersionServiceOuterClass.GetLedgerApiVersionResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
setField
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
clearField
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
clearOneof
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
setRepeatedField
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
addRepeatedField
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
mergeFrom
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
mergeFrom
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder mergeFrom(VersionServiceOuterClass.GetLedgerApiVersionResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
mergeFrom
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
- Throws:
java.io.IOException
-
getVersion
public java.lang.String getVersion()
The version of the ledger API.
string version = 1 [json_name = "version"];
- Specified by:
getVersion
in interfaceVersionServiceOuterClass.GetLedgerApiVersionResponseOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
The version of the ledger API.
string version = 1 [json_name = "version"];
- Specified by:
getVersionBytes
in interfaceVersionServiceOuterClass.GetLedgerApiVersionResponseOrBuilder
- Returns:
- The bytes for version.
-
setVersion
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder setVersion(java.lang.String value)
The version of the ledger API.
string version = 1 [json_name = "version"];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder clearVersion()
The version of the ledger API.
string version = 1 [json_name = "version"];
- Returns:
- This builder for chaining.
-
setVersionBytes
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder setVersionBytes(com.google.protobuf.ByteString value)
The version of the ledger API.
string version = 1 [json_name = "version"];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
hasFeatures
public 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"];
- Specified by:
hasFeatures
in interfaceVersionServiceOuterClass.GetLedgerApiVersionResponseOrBuilder
- Returns:
- Whether the features field is set.
-
getFeatures
public 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"];
- Specified by:
getFeatures
in interfaceVersionServiceOuterClass.GetLedgerApiVersionResponseOrBuilder
- Returns:
- The features.
-
setFeatures
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder setFeatures(VersionServiceOuterClass.FeaturesDescriptor value)
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"];
-
setFeatures
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder setFeatures(VersionServiceOuterClass.FeaturesDescriptor.Builder builderForValue)
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"];
-
mergeFeatures
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder mergeFeatures(VersionServiceOuterClass.FeaturesDescriptor value)
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"];
-
clearFeatures
public VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder clearFeatures()
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"];
-
getFeaturesBuilder
public VersionServiceOuterClass.FeaturesDescriptor.Builder getFeaturesBuilder()
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"];
-
getFeaturesOrBuilder
public 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"];
- Specified by:
getFeaturesOrBuilder
in interfaceVersionServiceOuterClass.GetLedgerApiVersionResponseOrBuilder
-
setUnknownFields
public final VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
mergeUnknownFields
public final VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.GetLedgerApiVersionResponse.Builder>
-
-