Package com.daml.ledger.api.v1.admin
Class UserManagementServiceOuterClass.ListUserRightsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
- com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.ListUserRightsResponse.Builder
-
- All Implemented Interfaces:
UserManagementServiceOuterClass.ListUserRightsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UserManagementServiceOuterClass.ListUserRightsResponse
public static final class UserManagementServiceOuterClass.ListUserRightsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUserRightsResponse.Builder> implements UserManagementServiceOuterClass.ListUserRightsResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.ListUserRightsResponse
-
-
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, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
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<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
clear
public UserManagementServiceOuterClass.ListUserRightsResponse.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<UserManagementServiceOuterClass.ListUserRightsResponse.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<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
getDefaultInstanceForType
public UserManagementServiceOuterClass.ListUserRightsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserManagementServiceOuterClass.ListUserRightsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserManagementServiceOuterClass.ListUserRightsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserManagementServiceOuterClass.ListUserRightsResponse.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<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
setField
public UserManagementServiceOuterClass.ListUserRightsResponse.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<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
clearField
public UserManagementServiceOuterClass.ListUserRightsResponse.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<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
clearOneof
public UserManagementServiceOuterClass.ListUserRightsResponse.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<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
setRepeatedField
public UserManagementServiceOuterClass.ListUserRightsResponse.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<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
addRepeatedField
public UserManagementServiceOuterClass.ListUserRightsResponse.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<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder mergeFrom(UserManagementServiceOuterClass.ListUserRightsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.ListUserRightsResponse.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<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
- Throws:
java.io.IOException
-
getRightsList
public java.util.List<UserManagementServiceOuterClass.Right> getRightsList()
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
- Specified by:
getRightsList
in interfaceUserManagementServiceOuterClass.ListUserRightsResponseOrBuilder
-
getRightsCount
public int getRightsCount()
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
- Specified by:
getRightsCount
in interfaceUserManagementServiceOuterClass.ListUserRightsResponseOrBuilder
-
getRights
public UserManagementServiceOuterClass.Right getRights(int index)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
- Specified by:
getRights
in interfaceUserManagementServiceOuterClass.ListUserRightsResponseOrBuilder
-
setRights
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder setRights(int index, UserManagementServiceOuterClass.Right value)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
setRights
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder setRights(int index, UserManagementServiceOuterClass.Right.Builder builderForValue)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
addRights
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder addRights(UserManagementServiceOuterClass.Right value)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
addRights
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder addRights(int index, UserManagementServiceOuterClass.Right value)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
addRights
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder addRights(UserManagementServiceOuterClass.Right.Builder builderForValue)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
addRights
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder addRights(int index, UserManagementServiceOuterClass.Right.Builder builderForValue)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
addAllRights
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder addAllRights(java.lang.Iterable<? extends UserManagementServiceOuterClass.Right> values)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
clearRights
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder clearRights()
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
removeRights
public UserManagementServiceOuterClass.ListUserRightsResponse.Builder removeRights(int index)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
getRightsBuilder
public UserManagementServiceOuterClass.Right.Builder getRightsBuilder(int index)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
getRightsOrBuilder
public UserManagementServiceOuterClass.RightOrBuilder getRightsOrBuilder(int index)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
- Specified by:
getRightsOrBuilder
in interfaceUserManagementServiceOuterClass.ListUserRightsResponseOrBuilder
-
getRightsOrBuilderList
public java.util.List<? extends UserManagementServiceOuterClass.RightOrBuilder> getRightsOrBuilderList()
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
- Specified by:
getRightsOrBuilderList
in interfaceUserManagementServiceOuterClass.ListUserRightsResponseOrBuilder
-
addRightsBuilder
public UserManagementServiceOuterClass.Right.Builder addRightsBuilder()
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
addRightsBuilder
public UserManagementServiceOuterClass.Right.Builder addRightsBuilder(int index)
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
getRightsBuilderList
public java.util.List<UserManagementServiceOuterClass.Right.Builder> getRightsBuilderList()
All rights of the user.
repeated .com.daml.ledger.api.v1.admin.Right rights = 1 [json_name = "rights"];
-
setUnknownFields
public final UserManagementServiceOuterClass.ListUserRightsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
mergeUnknownFields
public final UserManagementServiceOuterClass.ListUserRightsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.ListUserRightsResponse.Builder>
-
-