void setCredentialFlag(final boolean credentialFlag) {
        this.credentialFlag = credentialFlag;
    }
Sets the credential flags true if friendship credentials is to be used or false if master credentials flags must be used.

@param credentialFlag credential flag
mesh/src/main/java/no/nordicsemi/android/mesh/transport/PublicationSettings.java