Class UserManagementServiceOuterClass.User.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.User.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.User.Builder>
      • getDefaultInstanceForType

        public UserManagementServiceOuterClass.User getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UserManagementServiceOuterClass.User build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UserManagementServiceOuterClass.User buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.User.Builder>
      • mergeFrom

        public UserManagementServiceOuterClass.User.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UserManagementServiceOuterClass.User.Builder>
        Throws:
        java.io.IOException
      • getId

        public java.lang.String getId()
         The user identifier, which must be a non-empty string of at most 128
         characters that are either lowercase alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
         Required
         
        string id = 1 [json_name = "id"];
        Specified by:
        getId in interface UserManagementServiceOuterClass.UserOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         The user identifier, which must be a non-empty string of at most 128
         characters that are either lowercase alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
         Required
         
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface UserManagementServiceOuterClass.UserOrBuilder
        Returns:
        The bytes for id.
      • setId

        public UserManagementServiceOuterClass.User.Builder setId​(java.lang.String value)
         The user identifier, which must be a non-empty string of at most 128
         characters that are either lowercase alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
         Required
         
        string id = 1 [json_name = "id"];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public UserManagementServiceOuterClass.User.Builder clearId()
         The user identifier, which must be a non-empty string of at most 128
         characters that are either lowercase alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
         Required
         
        string id = 1 [json_name = "id"];
        Returns:
        This builder for chaining.
      • setIdBytes

        public UserManagementServiceOuterClass.User.Builder setIdBytes​(com.google.protobuf.ByteString value)
         The user identifier, which must be a non-empty string of at most 128
         characters that are either lowercase alphanumeric ASCII characters or one of the symbols "@^$.!`-#+'~_|:".
         Required
         
        string id = 1 [json_name = "id"];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getPrimaryParty

        public java.lang.String getPrimaryParty()
         The primary party as which this user reads and acts by default on the ledger
         *provided* it has the corresponding ``CanReadAs(primary_party)`` or
         ``CanActAs(primary_party)`` rights.
         Ledger API clients SHOULD set this field to a non-empty value for all users to
         enable the users to act on the ledger using their own Daml party.
         Users for participant administrators MAY have an associated primary party.
         Optional
         
        string primary_party = 2 [json_name = "primaryParty"];
        Specified by:
        getPrimaryParty in interface UserManagementServiceOuterClass.UserOrBuilder
        Returns:
        The primaryParty.
      • getPrimaryPartyBytes

        public com.google.protobuf.ByteString getPrimaryPartyBytes()
         The primary party as which this user reads and acts by default on the ledger
         *provided* it has the corresponding ``CanReadAs(primary_party)`` or
         ``CanActAs(primary_party)`` rights.
         Ledger API clients SHOULD set this field to a non-empty value for all users to
         enable the users to act on the ledger using their own Daml party.
         Users for participant administrators MAY have an associated primary party.
         Optional
         
        string primary_party = 2 [json_name = "primaryParty"];
        Specified by:
        getPrimaryPartyBytes in interface UserManagementServiceOuterClass.UserOrBuilder
        Returns:
        The bytes for primaryParty.
      • setPrimaryParty

        public UserManagementServiceOuterClass.User.Builder setPrimaryParty​(java.lang.String value)
         The primary party as which this user reads and acts by default on the ledger
         *provided* it has the corresponding ``CanReadAs(primary_party)`` or
         ``CanActAs(primary_party)`` rights.
         Ledger API clients SHOULD set this field to a non-empty value for all users to
         enable the users to act on the ledger using their own Daml party.
         Users for participant administrators MAY have an associated primary party.
         Optional
         
        string primary_party = 2 [json_name = "primaryParty"];
        Parameters:
        value - The primaryParty to set.
        Returns:
        This builder for chaining.
      • clearPrimaryParty

        public UserManagementServiceOuterClass.User.Builder clearPrimaryParty()
         The primary party as which this user reads and acts by default on the ledger
         *provided* it has the corresponding ``CanReadAs(primary_party)`` or
         ``CanActAs(primary_party)`` rights.
         Ledger API clients SHOULD set this field to a non-empty value for all users to
         enable the users to act on the ledger using their own Daml party.
         Users for participant administrators MAY have an associated primary party.
         Optional
         
        string primary_party = 2 [json_name = "primaryParty"];
        Returns:
        This builder for chaining.
      • setPrimaryPartyBytes

        public UserManagementServiceOuterClass.User.Builder setPrimaryPartyBytes​(com.google.protobuf.ByteString value)
         The primary party as which this user reads and acts by default on the ledger
         *provided* it has the corresponding ``CanReadAs(primary_party)`` or
         ``CanActAs(primary_party)`` rights.
         Ledger API clients SHOULD set this field to a non-empty value for all users to
         enable the users to act on the ledger using their own Daml party.
         Users for participant administrators MAY have an associated primary party.
         Optional
         
        string primary_party = 2 [json_name = "primaryParty"];
        Parameters:
        value - The bytes for primaryParty to set.
        Returns:
        This builder for chaining.