Package com.daml.ledger.api.v1
Class VersionServiceOuterClass.UserManagementFeature.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.UserManagementFeature.Builder>
-
- com.daml.ledger.api.v1.VersionServiceOuterClass.UserManagementFeature.Builder
-
- All Implemented Interfaces:
VersionServiceOuterClass.UserManagementFeatureOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- VersionServiceOuterClass.UserManagementFeature
public static final class VersionServiceOuterClass.UserManagementFeature.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.UserManagementFeature.Builder> implements VersionServiceOuterClass.UserManagementFeatureOrBuilder
Protobuf typecom.daml.ledger.api.v1.UserManagementFeature
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionServiceOuterClass.UserManagementFeature.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
VersionServiceOuterClass.UserManagementFeature
build()
VersionServiceOuterClass.UserManagementFeature
buildPartial()
VersionServiceOuterClass.UserManagementFeature.Builder
clear()
VersionServiceOuterClass.UserManagementFeature.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VersionServiceOuterClass.UserManagementFeature.Builder
clearMaxRightsPerUser()
The maximum number of rights that can be assigned to a single user.VersionServiceOuterClass.UserManagementFeature.Builder
clearMaxUsersPageSize()
The maximum number of users the server can return in a single response (page).VersionServiceOuterClass.UserManagementFeature.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VersionServiceOuterClass.UserManagementFeature.Builder
clearSupported()
Whether the Ledger API server provides the user management service.VersionServiceOuterClass.UserManagementFeature.Builder
clone()
VersionServiceOuterClass.UserManagementFeature
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getMaxRightsPerUser()
The maximum number of rights that can be assigned to a single user.int
getMaxUsersPageSize()
The maximum number of users the server can return in a single response (page).boolean
getSupported()
Whether the Ledger API server provides the user management service.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VersionServiceOuterClass.UserManagementFeature.Builder
mergeFrom(VersionServiceOuterClass.UserManagementFeature other)
VersionServiceOuterClass.UserManagementFeature.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VersionServiceOuterClass.UserManagementFeature.Builder
mergeFrom(com.google.protobuf.Message other)
VersionServiceOuterClass.UserManagementFeature.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VersionServiceOuterClass.UserManagementFeature.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
VersionServiceOuterClass.UserManagementFeature.Builder
setMaxRightsPerUser(int value)
The maximum number of rights that can be assigned to a single user.VersionServiceOuterClass.UserManagementFeature.Builder
setMaxUsersPageSize(int value)
The maximum number of users the server can return in a single response (page).VersionServiceOuterClass.UserManagementFeature.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
VersionServiceOuterClass.UserManagementFeature.Builder
setSupported(boolean value)
Whether the Ledger API server provides the user management service.VersionServiceOuterClass.UserManagementFeature.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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.UserManagementFeature.Builder>
-
clear
public VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.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.UserManagementFeature.Builder>
-
getDefaultInstanceForType
public VersionServiceOuterClass.UserManagementFeature getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VersionServiceOuterClass.UserManagementFeature build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VersionServiceOuterClass.UserManagementFeature buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
-
setField
public VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
-
clearField
public VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
-
clearOneof
public VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
-
setRepeatedField
public VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
-
addRepeatedField
public VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
-
mergeFrom
public VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
-
mergeFrom
public VersionServiceOuterClass.UserManagementFeature.Builder mergeFrom(VersionServiceOuterClass.UserManagementFeature other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VersionServiceOuterClass.UserManagementFeature.Builder>
-
mergeFrom
public VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
- Throws:
java.io.IOException
-
getSupported
public boolean getSupported()
Whether the Ledger API server provides the user management service.
bool supported = 1 [json_name = "supported"];
- Specified by:
getSupported
in interfaceVersionServiceOuterClass.UserManagementFeatureOrBuilder
- Returns:
- The supported.
-
setSupported
public VersionServiceOuterClass.UserManagementFeature.Builder setSupported(boolean value)
Whether the Ledger API server provides the user management service.
bool supported = 1 [json_name = "supported"];
- Parameters:
value
- The supported to set.- Returns:
- This builder for chaining.
-
clearSupported
public VersionServiceOuterClass.UserManagementFeature.Builder clearSupported()
Whether the Ledger API server provides the user management service.
bool supported = 1 [json_name = "supported"];
- Returns:
- This builder for chaining.
-
getMaxRightsPerUser
public int getMaxRightsPerUser()
The maximum number of rights that can be assigned to a single user. Servers MUST support at least 100 rights per user. A value of 0 means that the server enforces no rights per user limit.
int32 max_rights_per_user = 2 [json_name = "maxRightsPerUser"];
- Specified by:
getMaxRightsPerUser
in interfaceVersionServiceOuterClass.UserManagementFeatureOrBuilder
- Returns:
- The maxRightsPerUser.
-
setMaxRightsPerUser
public VersionServiceOuterClass.UserManagementFeature.Builder setMaxRightsPerUser(int value)
The maximum number of rights that can be assigned to a single user. Servers MUST support at least 100 rights per user. A value of 0 means that the server enforces no rights per user limit.
int32 max_rights_per_user = 2 [json_name = "maxRightsPerUser"];
- Parameters:
value
- The maxRightsPerUser to set.- Returns:
- This builder for chaining.
-
clearMaxRightsPerUser
public VersionServiceOuterClass.UserManagementFeature.Builder clearMaxRightsPerUser()
The maximum number of rights that can be assigned to a single user. Servers MUST support at least 100 rights per user. A value of 0 means that the server enforces no rights per user limit.
int32 max_rights_per_user = 2 [json_name = "maxRightsPerUser"];
- Returns:
- This builder for chaining.
-
getMaxUsersPageSize
public int getMaxUsersPageSize()
The maximum number of users the server can return in a single response (page). Servers MUST support at least a 100 users per page. A value of 0 means that the server enforces no page size limit.
int32 max_users_page_size = 3 [json_name = "maxUsersPageSize"];
- Specified by:
getMaxUsersPageSize
in interfaceVersionServiceOuterClass.UserManagementFeatureOrBuilder
- Returns:
- The maxUsersPageSize.
-
setMaxUsersPageSize
public VersionServiceOuterClass.UserManagementFeature.Builder setMaxUsersPageSize(int value)
The maximum number of users the server can return in a single response (page). Servers MUST support at least a 100 users per page. A value of 0 means that the server enforces no page size limit.
int32 max_users_page_size = 3 [json_name = "maxUsersPageSize"];
- Parameters:
value
- The maxUsersPageSize to set.- Returns:
- This builder for chaining.
-
clearMaxUsersPageSize
public VersionServiceOuterClass.UserManagementFeature.Builder clearMaxUsersPageSize()
The maximum number of users the server can return in a single response (page). Servers MUST support at least a 100 users per page. A value of 0 means that the server enforces no page size limit.
int32 max_users_page_size = 3 [json_name = "maxUsersPageSize"];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
-
mergeUnknownFields
public final VersionServiceOuterClass.UserManagementFeature.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.UserManagementFeature.Builder>
-
-