Package com.daml.ledger.api.v1.admin
Class UserManagementServiceOuterClass.Right.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.Builder>
-
- com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.Right.Builder
-
- All Implemented Interfaces:
UserManagementServiceOuterClass.RightOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UserManagementServiceOuterClass.Right
public static final class UserManagementServiceOuterClass.Right.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.Builder> implements UserManagementServiceOuterClass.RightOrBuilder
A right granted to a user.
Protobuf typecom.daml.ledger.api.v1.admin.Right
-
-
Method Summary
-
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<UserManagementServiceOuterClass.Right.Builder>
-
clear
public UserManagementServiceOuterClass.Right.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.Right.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.Right.Builder>
-
getDefaultInstanceForType
public UserManagementServiceOuterClass.Right getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserManagementServiceOuterClass.Right build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserManagementServiceOuterClass.Right buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserManagementServiceOuterClass.Right.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.Right.Builder>
-
setField
public UserManagementServiceOuterClass.Right.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.Right.Builder>
-
clearField
public UserManagementServiceOuterClass.Right.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.Right.Builder>
-
clearOneof
public UserManagementServiceOuterClass.Right.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.Right.Builder>
-
setRepeatedField
public UserManagementServiceOuterClass.Right.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.Right.Builder>
-
addRepeatedField
public UserManagementServiceOuterClass.Right.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.Right.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.Right.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.Right.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.Right.Builder mergeFrom(UserManagementServiceOuterClass.Right other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.Right.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.Right.Builder>
- Throws:
java.io.IOException
-
getKindCase
public UserManagementServiceOuterClass.Right.KindCase getKindCase()
- Specified by:
getKindCase
in interfaceUserManagementServiceOuterClass.RightOrBuilder
-
clearKind
public UserManagementServiceOuterClass.Right.Builder clearKind()
-
hasParticipantAdmin
public boolean hasParticipantAdmin()
The user can administrate the participant node.
.com.daml.ledger.api.v1.admin.Right.ParticipantAdmin participant_admin = 1 [json_name = "participantAdmin"];
- Specified by:
hasParticipantAdmin
in interfaceUserManagementServiceOuterClass.RightOrBuilder
- Returns:
- Whether the participantAdmin field is set.
-
getParticipantAdmin
public UserManagementServiceOuterClass.Right.ParticipantAdmin getParticipantAdmin()
The user can administrate the participant node.
.com.daml.ledger.api.v1.admin.Right.ParticipantAdmin participant_admin = 1 [json_name = "participantAdmin"];
- Specified by:
getParticipantAdmin
in interfaceUserManagementServiceOuterClass.RightOrBuilder
- Returns:
- The participantAdmin.
-
setParticipantAdmin
public UserManagementServiceOuterClass.Right.Builder setParticipantAdmin(UserManagementServiceOuterClass.Right.ParticipantAdmin value)
The user can administrate the participant node.
.com.daml.ledger.api.v1.admin.Right.ParticipantAdmin participant_admin = 1 [json_name = "participantAdmin"];
-
setParticipantAdmin
public UserManagementServiceOuterClass.Right.Builder setParticipantAdmin(UserManagementServiceOuterClass.Right.ParticipantAdmin.Builder builderForValue)
The user can administrate the participant node.
.com.daml.ledger.api.v1.admin.Right.ParticipantAdmin participant_admin = 1 [json_name = "participantAdmin"];
-
mergeParticipantAdmin
public UserManagementServiceOuterClass.Right.Builder mergeParticipantAdmin(UserManagementServiceOuterClass.Right.ParticipantAdmin value)
The user can administrate the participant node.
.com.daml.ledger.api.v1.admin.Right.ParticipantAdmin participant_admin = 1 [json_name = "participantAdmin"];
-
clearParticipantAdmin
public UserManagementServiceOuterClass.Right.Builder clearParticipantAdmin()
The user can administrate the participant node.
.com.daml.ledger.api.v1.admin.Right.ParticipantAdmin participant_admin = 1 [json_name = "participantAdmin"];
-
getParticipantAdminBuilder
public UserManagementServiceOuterClass.Right.ParticipantAdmin.Builder getParticipantAdminBuilder()
The user can administrate the participant node.
.com.daml.ledger.api.v1.admin.Right.ParticipantAdmin participant_admin = 1 [json_name = "participantAdmin"];
-
getParticipantAdminOrBuilder
public UserManagementServiceOuterClass.Right.ParticipantAdminOrBuilder getParticipantAdminOrBuilder()
The user can administrate the participant node.
.com.daml.ledger.api.v1.admin.Right.ParticipantAdmin participant_admin = 1 [json_name = "participantAdmin"];
- Specified by:
getParticipantAdminOrBuilder
in interfaceUserManagementServiceOuterClass.RightOrBuilder
-
hasCanActAs
public boolean hasCanActAs()
The user can act as a specific party.
.com.daml.ledger.api.v1.admin.Right.CanActAs can_act_as = 2 [json_name = "canActAs"];
- Specified by:
hasCanActAs
in interfaceUserManagementServiceOuterClass.RightOrBuilder
- Returns:
- Whether the canActAs field is set.
-
getCanActAs
public UserManagementServiceOuterClass.Right.CanActAs getCanActAs()
The user can act as a specific party.
.com.daml.ledger.api.v1.admin.Right.CanActAs can_act_as = 2 [json_name = "canActAs"];
- Specified by:
getCanActAs
in interfaceUserManagementServiceOuterClass.RightOrBuilder
- Returns:
- The canActAs.
-
setCanActAs
public UserManagementServiceOuterClass.Right.Builder setCanActAs(UserManagementServiceOuterClass.Right.CanActAs value)
The user can act as a specific party.
.com.daml.ledger.api.v1.admin.Right.CanActAs can_act_as = 2 [json_name = "canActAs"];
-
setCanActAs
public UserManagementServiceOuterClass.Right.Builder setCanActAs(UserManagementServiceOuterClass.Right.CanActAs.Builder builderForValue)
The user can act as a specific party.
.com.daml.ledger.api.v1.admin.Right.CanActAs can_act_as = 2 [json_name = "canActAs"];
-
mergeCanActAs
public UserManagementServiceOuterClass.Right.Builder mergeCanActAs(UserManagementServiceOuterClass.Right.CanActAs value)
The user can act as a specific party.
.com.daml.ledger.api.v1.admin.Right.CanActAs can_act_as = 2 [json_name = "canActAs"];
-
clearCanActAs
public UserManagementServiceOuterClass.Right.Builder clearCanActAs()
The user can act as a specific party.
.com.daml.ledger.api.v1.admin.Right.CanActAs can_act_as = 2 [json_name = "canActAs"];
-
getCanActAsBuilder
public UserManagementServiceOuterClass.Right.CanActAs.Builder getCanActAsBuilder()
The user can act as a specific party.
.com.daml.ledger.api.v1.admin.Right.CanActAs can_act_as = 2 [json_name = "canActAs"];
-
getCanActAsOrBuilder
public UserManagementServiceOuterClass.Right.CanActAsOrBuilder getCanActAsOrBuilder()
The user can act as a specific party.
.com.daml.ledger.api.v1.admin.Right.CanActAs can_act_as = 2 [json_name = "canActAs"];
- Specified by:
getCanActAsOrBuilder
in interfaceUserManagementServiceOuterClass.RightOrBuilder
-
hasCanReadAs
public boolean hasCanReadAs()
The user can read ledger data visible to a specific party.
.com.daml.ledger.api.v1.admin.Right.CanReadAs can_read_as = 3 [json_name = "canReadAs"];
- Specified by:
hasCanReadAs
in interfaceUserManagementServiceOuterClass.RightOrBuilder
- Returns:
- Whether the canReadAs field is set.
-
getCanReadAs
public UserManagementServiceOuterClass.Right.CanReadAs getCanReadAs()
The user can read ledger data visible to a specific party.
.com.daml.ledger.api.v1.admin.Right.CanReadAs can_read_as = 3 [json_name = "canReadAs"];
- Specified by:
getCanReadAs
in interfaceUserManagementServiceOuterClass.RightOrBuilder
- Returns:
- The canReadAs.
-
setCanReadAs
public UserManagementServiceOuterClass.Right.Builder setCanReadAs(UserManagementServiceOuterClass.Right.CanReadAs value)
The user can read ledger data visible to a specific party.
.com.daml.ledger.api.v1.admin.Right.CanReadAs can_read_as = 3 [json_name = "canReadAs"];
-
setCanReadAs
public UserManagementServiceOuterClass.Right.Builder setCanReadAs(UserManagementServiceOuterClass.Right.CanReadAs.Builder builderForValue)
The user can read ledger data visible to a specific party.
.com.daml.ledger.api.v1.admin.Right.CanReadAs can_read_as = 3 [json_name = "canReadAs"];
-
mergeCanReadAs
public UserManagementServiceOuterClass.Right.Builder mergeCanReadAs(UserManagementServiceOuterClass.Right.CanReadAs value)
The user can read ledger data visible to a specific party.
.com.daml.ledger.api.v1.admin.Right.CanReadAs can_read_as = 3 [json_name = "canReadAs"];
-
clearCanReadAs
public UserManagementServiceOuterClass.Right.Builder clearCanReadAs()
The user can read ledger data visible to a specific party.
.com.daml.ledger.api.v1.admin.Right.CanReadAs can_read_as = 3 [json_name = "canReadAs"];
-
getCanReadAsBuilder
public UserManagementServiceOuterClass.Right.CanReadAs.Builder getCanReadAsBuilder()
The user can read ledger data visible to a specific party.
.com.daml.ledger.api.v1.admin.Right.CanReadAs can_read_as = 3 [json_name = "canReadAs"];
-
getCanReadAsOrBuilder
public UserManagementServiceOuterClass.Right.CanReadAsOrBuilder getCanReadAsOrBuilder()
The user can read ledger data visible to a specific party.
.com.daml.ledger.api.v1.admin.Right.CanReadAs can_read_as = 3 [json_name = "canReadAs"];
- Specified by:
getCanReadAsOrBuilder
in interfaceUserManagementServiceOuterClass.RightOrBuilder
-
setUnknownFields
public final UserManagementServiceOuterClass.Right.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.Right.Builder>
-
mergeUnknownFields
public final UserManagementServiceOuterClass.Right.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.Right.Builder>
-
-