Package com.daml.ledger.api.v1
Class VersionServiceOuterClass.FeaturesDescriptor.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.FeaturesDescriptor.Builder>
-
- com.daml.ledger.api.v1.VersionServiceOuterClass.FeaturesDescriptor.Builder
-
- All Implemented Interfaces:
VersionServiceOuterClass.FeaturesDescriptorOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- VersionServiceOuterClass.FeaturesDescriptor
public static final class VersionServiceOuterClass.FeaturesDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.FeaturesDescriptor.Builder> implements VersionServiceOuterClass.FeaturesDescriptorOrBuilder
Protobuf typecom.daml.ledger.api.v1.FeaturesDescriptor
-
-
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.FeaturesDescriptor.Builder>
-
clear
public VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
getDefaultInstanceForType
public VersionServiceOuterClass.FeaturesDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VersionServiceOuterClass.FeaturesDescriptor build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VersionServiceOuterClass.FeaturesDescriptor buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
setField
public VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
clearField
public VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
clearOneof
public VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
setRepeatedField
public VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
addRepeatedField
public VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
mergeFrom
public VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
mergeFrom
public VersionServiceOuterClass.FeaturesDescriptor.Builder mergeFrom(VersionServiceOuterClass.FeaturesDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.FeaturesDescriptor.Builder>
-
mergeFrom
public VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
- Throws:
java.io.IOException
-
hasUserManagement
public boolean hasUserManagement()
If set, then the Ledger API server supports user management. It is recommended that clients query this field to gracefully adjust their behavior for ledgers that do not support user management.
.com.daml.ledger.api.v1.UserManagementFeature user_management = 2 [json_name = "userManagement"];
- Specified by:
hasUserManagement
in interfaceVersionServiceOuterClass.FeaturesDescriptorOrBuilder
- Returns:
- Whether the userManagement field is set.
-
getUserManagement
public VersionServiceOuterClass.UserManagementFeature getUserManagement()
If set, then the Ledger API server supports user management. It is recommended that clients query this field to gracefully adjust their behavior for ledgers that do not support user management.
.com.daml.ledger.api.v1.UserManagementFeature user_management = 2 [json_name = "userManagement"];
- Specified by:
getUserManagement
in interfaceVersionServiceOuterClass.FeaturesDescriptorOrBuilder
- Returns:
- The userManagement.
-
setUserManagement
public VersionServiceOuterClass.FeaturesDescriptor.Builder setUserManagement(VersionServiceOuterClass.UserManagementFeature value)
If set, then the Ledger API server supports user management. It is recommended that clients query this field to gracefully adjust their behavior for ledgers that do not support user management.
.com.daml.ledger.api.v1.UserManagementFeature user_management = 2 [json_name = "userManagement"];
-
setUserManagement
public VersionServiceOuterClass.FeaturesDescriptor.Builder setUserManagement(VersionServiceOuterClass.UserManagementFeature.Builder builderForValue)
If set, then the Ledger API server supports user management. It is recommended that clients query this field to gracefully adjust their behavior for ledgers that do not support user management.
.com.daml.ledger.api.v1.UserManagementFeature user_management = 2 [json_name = "userManagement"];
-
mergeUserManagement
public VersionServiceOuterClass.FeaturesDescriptor.Builder mergeUserManagement(VersionServiceOuterClass.UserManagementFeature value)
If set, then the Ledger API server supports user management. It is recommended that clients query this field to gracefully adjust their behavior for ledgers that do not support user management.
.com.daml.ledger.api.v1.UserManagementFeature user_management = 2 [json_name = "userManagement"];
-
clearUserManagement
public VersionServiceOuterClass.FeaturesDescriptor.Builder clearUserManagement()
If set, then the Ledger API server supports user management. It is recommended that clients query this field to gracefully adjust their behavior for ledgers that do not support user management.
.com.daml.ledger.api.v1.UserManagementFeature user_management = 2 [json_name = "userManagement"];
-
getUserManagementBuilder
public VersionServiceOuterClass.UserManagementFeature.Builder getUserManagementBuilder()
If set, then the Ledger API server supports user management. It is recommended that clients query this field to gracefully adjust their behavior for ledgers that do not support user management.
.com.daml.ledger.api.v1.UserManagementFeature user_management = 2 [json_name = "userManagement"];
-
getUserManagementOrBuilder
public VersionServiceOuterClass.UserManagementFeatureOrBuilder getUserManagementOrBuilder()
If set, then the Ledger API server supports user management. It is recommended that clients query this field to gracefully adjust their behavior for ledgers that do not support user management.
.com.daml.ledger.api.v1.UserManagementFeature user_management = 2 [json_name = "userManagement"];
- Specified by:
getUserManagementOrBuilder
in interfaceVersionServiceOuterClass.FeaturesDescriptorOrBuilder
-
hasExperimental
public boolean hasExperimental()
Features under development or features that are used for ledger implementation testing purposes only. Daml applications SHOULD not depend on these in production.
.com.daml.ledger.api.v1.ExperimentalFeatures experimental = 1 [json_name = "experimental"];
- Specified by:
hasExperimental
in interfaceVersionServiceOuterClass.FeaturesDescriptorOrBuilder
- Returns:
- Whether the experimental field is set.
-
getExperimental
public ExperimentalFeaturesOuterClass.ExperimentalFeatures getExperimental()
Features under development or features that are used for ledger implementation testing purposes only. Daml applications SHOULD not depend on these in production.
.com.daml.ledger.api.v1.ExperimentalFeatures experimental = 1 [json_name = "experimental"];
- Specified by:
getExperimental
in interfaceVersionServiceOuterClass.FeaturesDescriptorOrBuilder
- Returns:
- The experimental.
-
setExperimental
public VersionServiceOuterClass.FeaturesDescriptor.Builder setExperimental(ExperimentalFeaturesOuterClass.ExperimentalFeatures value)
Features under development or features that are used for ledger implementation testing purposes only. Daml applications SHOULD not depend on these in production.
.com.daml.ledger.api.v1.ExperimentalFeatures experimental = 1 [json_name = "experimental"];
-
setExperimental
public VersionServiceOuterClass.FeaturesDescriptor.Builder setExperimental(ExperimentalFeaturesOuterClass.ExperimentalFeatures.Builder builderForValue)
Features under development or features that are used for ledger implementation testing purposes only. Daml applications SHOULD not depend on these in production.
.com.daml.ledger.api.v1.ExperimentalFeatures experimental = 1 [json_name = "experimental"];
-
mergeExperimental
public VersionServiceOuterClass.FeaturesDescriptor.Builder mergeExperimental(ExperimentalFeaturesOuterClass.ExperimentalFeatures value)
Features under development or features that are used for ledger implementation testing purposes only. Daml applications SHOULD not depend on these in production.
.com.daml.ledger.api.v1.ExperimentalFeatures experimental = 1 [json_name = "experimental"];
-
clearExperimental
public VersionServiceOuterClass.FeaturesDescriptor.Builder clearExperimental()
Features under development or features that are used for ledger implementation testing purposes only. Daml applications SHOULD not depend on these in production.
.com.daml.ledger.api.v1.ExperimentalFeatures experimental = 1 [json_name = "experimental"];
-
getExperimentalBuilder
public ExperimentalFeaturesOuterClass.ExperimentalFeatures.Builder getExperimentalBuilder()
Features under development or features that are used for ledger implementation testing purposes only. Daml applications SHOULD not depend on these in production.
.com.daml.ledger.api.v1.ExperimentalFeatures experimental = 1 [json_name = "experimental"];
-
getExperimentalOrBuilder
public ExperimentalFeaturesOuterClass.ExperimentalFeaturesOrBuilder getExperimentalOrBuilder()
Features under development or features that are used for ledger implementation testing purposes only. Daml applications SHOULD not depend on these in production.
.com.daml.ledger.api.v1.ExperimentalFeatures experimental = 1 [json_name = "experimental"];
- Specified by:
getExperimentalOrBuilder
in interfaceVersionServiceOuterClass.FeaturesDescriptorOrBuilder
-
setUnknownFields
public final VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
mergeUnknownFields
public final VersionServiceOuterClass.FeaturesDescriptor.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.FeaturesDescriptor.Builder>
-
-